Re: Finder open ... using...
Re: Finder open ... using...
- Subject: Re: Finder open ... using...
- From: KOENIG Yvan <email@hidden>
- Date: Thu, 28 Dec 2006 15:01:04 +0100
Le 28 déc. 06 à 13:58:18, Tomas Larsson a écrit : Hi
Thanks. Is that syntax supposed to work? I tried this (just for debugging)
set the_application to choose application as alias set the_file to (choose file) as alias tell application "Finder" open the_file using the_application end tell
Which works but changing it to
set the_file to (choose file) as alias tell application "Finder" open the_file using "Simpletag" end tell
Gives me the error message (translated to english) "Unable to open alias " and then the full path to the file.
Any ideas?
Hello
I made tests with TextEdit.
set the_file to (choose file) --as alias set useFinder to true if useFinder then set the_application to path to application "TextEdit" tell application "Finder" open the_file using the_application end tell else tell application "TextEdit" activate open the_file end tell end if
Yvan KOENIG |
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden