• 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: Emmanuel <email@hidden>
  • Date: Tue, 11 Sep 2001 11:27:22 +0200

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


  • Follow-Ups:
    • Re: Open <file> using <application
      • From: Bryan <email@hidden>
References: 
 >Open <file> using <application (From: Frank Renner <email@hidden>)

  • Prev by Date: Re: Change Quark fonts attributes
  • Next by Date: Re: OT AETE? How can I read these
  • Previous by thread: Open <file> using <application
  • Next by thread: Re: Open <file> using <application
  • Index(es):
    • Date
    • Thread