applescript and Preview
applescript and Preview
- Subject: applescript and Preview
- From: Hernan Ochoa <email@hidden>
- Date: Sun, 15 May 2005 14:15:56 -0300
I'm tryng to script Preview, but for some reason, it is failing.
Here's the code:
tell application "System Events"
tell process "Preview"
tell menu bar 1
click menu item "save as..." of menu "file"
end tell
end tell
end tell
but I get the following error:
process "Preview"
"System Events got an error: NSReceiverEvaluationScriptError: 4"
Is there another way to do this?
meanwhile, I'll keep trying :).
thanks much.
bye!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden