Applescripting Eclipse using UI scripting not possible?
Applescripting Eclipse using UI scripting not possible?
- Subject: Applescripting Eclipse using UI scripting not possible?
- From: Andrew Bush <email@hidden>
- Date: Sun, 11 Feb 2007 22:44:09 +1300
Hi all,
Ive been trying to use UI scripting to retrieve the name of the frontmost window in Eclipse, but have had no luck, should this be possible or does the UI scripting rely on assumptions that are unlikely to be true with a java application that is not written specifically for mac os x?
Im using the following script:
tell application "System Events" launch set wName to the name of window 0 of process "Eclipse" end tell
that same script works with REALbasic 5.5, a non-java non-applescriptable application, but when I replace 'REALbasic' with 'Eclipse' I get a NSReceiverEvaluationScriptError 4.
Has anyone tried to do this before? has anyone had the same problem with using UI scripting on other java applications?
thanks for any help.
Yours cheerfully,
Andrew Bush |
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden