Is there an Applescript dictionary for Preview.app? I am unable to find it under Mac OS X 10.7.5, and Applescript 2.2.1.
I did a rudimentary search in google and duckduck but came up empty.
I've also ran https://apple.stackexchange.com/a/40084/10733 however when I run it for Preview I am getting the following error:
tell application "Preview"
get every property
--> error number -1708
Result:
error "Preview got an error: Can’t get every property." number -1728 from every property
Where can I find the scriptable objects for Preview?
I have found several answers saying it is not scriptable, however I have not changed the NSAppleScriptEnabled preference and the following runs:
tell application "Preview"
set save_location to ¬
(choose file with prompt "Choose the png to be modified")
activate
open save_location
end tell
I've posted a separate question about why this runs on stackexchange.
My original question stands. Where/How can I find the scriptable objects?