• 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: Open <file> using <application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open <file> using <application


  • Subject: Re: Open <file> using <application
  • From: Bryan <email@hidden>
  • Date: Tue, 11 Sep 2001 18:35:48 -0400
  • Organization: Apex Radiology

needs a tell block and alias:

tell application "Finder" to open myfile using alias "Path:To:Quicktime
Player"

Emmanuel wrote:

> At 9:20 +0200 11/09/01, Frank Renner wrote:
> >
> >Hi List,
> >
> >Why does 'open myfile using '"Quicktime Player"' not work ("invalid key
> >form")?
>
> Check carefully the Finder's dictionary. It does not allow strings as the
> descriptor of the application.
>
> You could for instance use an alias.
>
> To automatically get the alias of "QuickTime Player" really requires its
> signature ("TOVD"):
>
> ------------------------------
> tell application "Finder" to get application file id "TVOD" as alias
> ------------------------------
>
> Just in case, don't miss that the "open" line has to be wrapped in a
>
> ------------------------------
> tell application "Finder"
> end tell
> ------------------------------
> wrapper.
>
> HTH
> Emmanuel
> _______________________________________________
> applescript-users mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/applescript-users

[demime 0.98b removed an attachment of type text/x-vcard which had a name of bryan.vcf]


References: 
 >Re: Open <file> using <application (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: Scroll to top
  • Next by Date: Re: Oh Sad Day !
  • Previous by thread: Re: Open <file> using <application
  • Next by thread: Saving EPS files with bleed from Quark
  • Index(es):
    • Date
    • Thread