Can't find commands "keystroke", "click"

I am trying to write some Applescript code to manipulate a GUI. My problem is that my “System Events” program doesn’t recognize the commands “click” and “keystroke.” Ihave System Events v.1.1.2 running on OS X 10.2.8.

I’ve seen a suggestion to update System Events (say, to 1.2), but I don’t know how to do that.

So, if anyone has a fix to suggest, or if anyone can tell me how to get System Events 1.2, please let me know.

(I have searched the web and the Apple site to the best of my abilities, so if you send me back there please suggest search terms!)


If you are using 10.2.8, you will need to download UIscriptingbeta.sit and then turn on “Enable access for assistive devices” in the Universal Access system pref.

The beta is no longer linked to anywhere on Apple’s web site, but is still available.