• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: New GUI Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >New GUI Scripting (From: email@hidden)

  • Prev by Date: New GUI Scripting
  • Next by Date: Re: BIG number as string
  • Previous by thread: New GUI Scripting
  • Next by thread: Re: Dec. Dev. tools and New GUI Scripting
  • Index(es):
    • Date
    • Thread