Re: Image Events and Preview
Re: Image Events and Preview
- Subject: Re: Image Events and Preview
- From: Michelle Steiner <email@hidden>
- Date: Sat, 13 Feb 2010 11:31:08 -0700
On Feb 13, 2010, at 11:05 AM, Martin Michel wrote: I cannot tell you why Preview isn't scriptable, but can tell you how to open JPG files with it:
How about this:
set the fileToBeOpened to choose file of type {"jpg", "jpeg"} tell application "Finder" to open the fileToBeOpened
Of course, the Finder has to be set to open all JPG files with Preview, but that's a one-time easy thing to do. And equally of course, change the first line of the script as needed to identify the file to be opened.
-- Michelle
-- Some people think computers need to be complicated. They really have a tough time when it's not.
|
_______________________________________________
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