i had this script i wrote with help from Rob J on apple’s forum site that used to work. i had computer troubles saturday (no booting) and had to reinstall jaguar and the 10.6 combo update and the ui scripting beta.
now, this script, which used to work fine, gets this error when trying to click on the submenu item – click menu item “1 Set Open Properties” :
NSReceiverEvaluationScriptError: 4
can anyone tell me what’s up?
tell application "Acrobat 5.0"
activate
end tell
tell application "System Events"
tell process "Acrobat 5.0"
tell menu bar 1 -- menu bar
delay 1
tell menu "File" -- menu
delay 1
tell menu item "Batch Processing" -- menu item
delay 1
tell menu 1 -- sub-menu
delay 3
click menu item "1 Set Open Properties" -- sub-menu item; works on a sort of watched folder contents
end tell
end tell
end tell
end tell
end tell
end tell