Re: New GUI Scripting
Re: New GUI Scripting
- Subject: Re: New GUI Scripting
- From: Paul Berkowitz <email@hidden>
- Date: Sat, 21 Dec 2002 15:03:38 -0800
On 12/21/02 2:47 PM, "email@hidden" <email@hidden> wrote:
>
I've just updated to OS X 10.2.3 and installed the Dec. Dev tools and the
>
new System Events.app and the new Script editor but I'm have problems
>
getting the new UI scripting to work.
>
I keep getting the error "NSReceiverEvaluationScriptError(4)". Anyone
>
got any ideas on how to get it working (or has anyone got it to work
>
yet?). This is just trying the scripts from the apple webpage about the
>
UI scripting and the examples from the dev tools.
As the Release Notes say, you have to go to System Prefs/Universal
Access/Seeing, and check Enable access for assistive devices.
In your script, you may need to do what all the sample scripts do:
tell application "System Events"
get properties
--etc.
(There must be _some_ reason why that peculiar line is there.)
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.