Preview.app scriptable
Preview.app scriptable
- Subject: Preview.app scriptable
- From: Gmeiner Jobst <email@hidden>
- Date: Wed, 13 Jan 2010 14:03:13 +0100
Hi everybody,
with OSX 10.5.8 I used the following script (which I had found somewhere in the internet)
try tell application "Finder" set the Preview_app to (application file id "com.apple.Preview") as alias end tell set the plist_filepath to the quoted form of ((POSIX path of the Preview_app) & "Contents/Info") do shell script "defaults write " & the plist_filepath & space & "NSAppleScriptEnabled -bool YES" end try
in order to make Preview.app scriptable. The reason was that I wanted to get the windows of Preview.app to a defined position on my screen with scripting.
Now, having moved to Snow Leopard, the script above doesn't work anymore, Preview.app is no longer scriptable.
Is there another possibility, either acchieving scripting Preview.app or using another programm which can open .jpg files and is scriptable, in order to put the pictures to a defined position on the screen?
Thanks for suggestions Jobst Gmeiner
___________________________________
Jobst Gmeiner
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden