Re: Open <file> using <application
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