• 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: Finder open ... using...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Finder open ... using... (From: Tomas Larsson <email@hidden>)
 >Re: Finder open ... using... (From: KOENIG Yvan <email@hidden>)
 >Re: Finder open ... using... (From: Tomas Larsson <email@hidden>)

  • Prev by Date: Re: Finder open ... using...
  • Next by Date: Re: Finder open ... using...
  • Previous by thread: Re: Finder open ... using...
  • Next by thread: Re: Finder open ... using...
  • Index(es):
    • Date
    • Thread