UI Element Scripts

Has anyone had any troubles with the example scripts that reside in the “Example Scripts” folder for SE 2.0?

Applications/Applescript/Example Scripts/UI Element Scripts

I get this error on my G4 450MHzX2 and my G3 500MHz iBook…

Applescript Error
System Events got an error:
NSReceiverEvaluationScriptError: 4

SE 2.0 highlights this line in the “Get User Name.applescript” example.

click menu item "Sound" of menu "View" of menu bar 1

The “Key Down-Up.applescript” example works with out a hitch tho…

Rob & TJ solved it 4 me…

Go to System Preferences > Universal Access

Turn on “Enable access for assistive devices”

Thanks Guys…