• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Preview.app scriptable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
email@hidden




 _______________________________________________
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

  • Follow-Ups:
    • Re: Preview.app scriptable
      • From: Robert Poland <email@hidden>
  • Prev by Date: Re: iCal alarm scripts
  • Next by Date: Re: Preview.app scriptable
  • Previous by thread: trigger a sync in itunes to apple tv
  • Next by thread: Re: Preview.app scriptable
  • Index(es):
    • Date
    • Thread