Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding x,y?



> Or wait and somebody will tell you the obj-c method ;-)

<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Obj
C_classic/Classes/NSEvent.html#//apple_ref/doc/uid/20000016-BBCIGACJ>

[NSEvent mouseLocation]

Converting to AppleScript Studio's call method:

call method "mouseLocation" of class "NSEvent"
--result: {x, y}

Topher


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden

References: 
 >Automating Events using Apple Scripts (From: Manan Wadhwa <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.