• 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
Re: Image Events and Preview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image Events and Preview


  • Subject: Re: Image Events and Preview
  • From: Shane Stanley <email@hidden>
  • Date: Sun, 14 Feb 2010 07:08:11 +1100
  • Thread-topic: Image Events and Preview

On 14/2/10 5:38 AM, "Emmanuel LEVY" <email@hidden> wrote:

> Finder's "open" command has the "using" option to specify the app to
> open the file with.

Right.

tell application "Finder"
  open alias "Path:to:File.jpg" using path to application id
"com.apple.preview"
end tell


--
Shane Stanley <email@hidden>
AppleScript Pro, April 2010, Florida <http://www.applescriptpro.com>


 _______________________________________________
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

References: 
 >Re: Image Events and Preview (From: Emmanuel LEVY <email@hidden>)

  • Prev by Date: Re: Image Events and Preview
  • Next by Date: Re: Script don't run from script menu under 10.6.2
  • Previous by thread: Re: Image Events and Preview
  • Next by thread: Re: Image Events and Preview
  • Index(es):
    • Date
    • Thread