PDA

View Full Version : Get the current cursor position of mouse




xharkila
Nov 17, 2009, 03:38 AM
It's impossible to do that by only applescript, but posssible when integrate the cocoa NSEvent.

But I'don't know how to do in detail, how to make a applescript to call Cocoa stuff?

By Xcode 3.2.1, or even doesn't need that,thanks.



kainjow
Nov 17, 2009, 11:09 AM
http://lists.apple.com/archives/Applescript-users/2007/Feb/msg00303.html