Maus Zeiger in AppleScript via Python bewegen

Von hinten durch AppleScript, via Python in das Cocoa-Framework ;-)

Code zum markieren einmal anklicken oder Code im Skript-Editor öffnen

do shell script “python -c \”import objc;bndl = objc.loadBundle(‘CoreGraphics’, globals(), ‘/System/Library/Frameworks/ApplicationServices.framework’);objc.loadBundleFunctions(bndl, globals(), [(‘CGWarpMouseCursorPosition’, ‘v{CGPoint=ff}’)]);CGWarpMouseCursorPosition((0, 0));\””

Eine alltagstaugliche Alternative findest Du hier.

9 thoughts on “Maus Zeiger in AppleScript via Python bewegen

  1. […] via AppleScript and the Active Screen Corners feature of Exposé. It is based on the script in this blog entry, which allows you to move the mouse cursor to the top left corner of the […]

  2. […] via AppleScript and the Active Screen Corners feature of Exposé. It is based on the script in this blog entry, which allows you to move the mouse cursor to the top left corner of the screen. First of all, you […]

  3. isnt that coding all about the cursor positioning and placements?

  4. […] Hubionmac.com » Maus Zeiger in AppleScript via Python bewegen 18 Sep 2009. It is based on the script in this blog entry, which allows you to move the mouse cursor to the top left corner of the […] Pingback from.hubionmac.com/…/maus-zeiger-in-applescript-via-python-bewegen/ – Hubionmac.com » Maus Zeiger in AppleScript via Python bewegen […]

  5. […] Hubionmac.com » Maus Zeiger in AppleScript via Python bewegen 18 Sep 2009. It is based on the script in this blog entry, which allows you to move the mouse cursor to the top left corner of the […] Pingback from.hubionmac.com/…/maus-zeiger-in-applescript-via-python-bewegen/ – Hubionmac.com » Maus Zeiger in AppleScript via Python bewegen […]

  6. […] Hubionmac.com » Maus Zeiger in AppleScript via Python bewegen 18 Sep 2009. It is based on the script in this blog entry, which allows you to move the mouse cursor to the top left corner of the […] Pingback from.hubionmac.com/…/maus-zeiger-in-applescript-via-python-bewegen/ – Hubionmac.com » Maus Zeiger in AppleScript via Python bewegen […]

  7. I am sure this piece of writing has touched all the
    internet people, its really really nice piece of writing on building up new weblog.

Comments are closed.