better way?
better way?
- Subject: better way?
- From: louie <email@hidden>
- Date: Fri, 24 Jun 2011 14:55:20 -0700
Hi all,
Is there a better way to get the text of the mouse cursor.
Thank you.
-- get the text under the mouse cursor
tell application "VoiceOver"
tell commander
perform command "describe item in mouse cursor"
perform command "copy last phrase to clipboard"
end tell
end tell
-- get the text from the clipboard
set clip to (the clipboard as text)
-- check the text under the mouse cursor
if clip contains menuName then
louie
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden