• 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: "tell" is opening *classic* QuickTime Player, not OSX version!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "tell" is opening *classic* QuickTime Player, not OSX version!


  • Subject: Re: "tell" is opening *classic* QuickTime Player, not OSX version!
  • From: Emmanuel <email@hidden>
  • Date: Thu, 20 Mar 2003 09:36:21 +0100

At 3:08 PM -0800 19/03/03, Dan Wood wrote:
Never mind, my fix didn't work after all! At least, not consistently.

I'm having trouble figuring out how to get the path from the Finder specifically. I see "application file" in Finder's dictionary, but it doesn't seem to have any kind of path property that I can then pass along to "tell"

Any ideas?

I wish that Andrew's suggestion works for you.

If it does not, here is what I use:

--------------------------
on AppName(theCreator)
tell application "Finder"
set thePath to (application file id theCreator) as alias
set theTextPath to thePath as text
if theCreator is not in (get creator type of every process) then open thePath
end tell
return theTextPath
-- return displayed name of (info for thePath)
end AppName
--------------------------

and:

--------------------------
set theApp to AppName
tell application theApp
<<class blah>> <<class blah>>
end
--------------------------

But you've got to program with raw codes.

Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: "tell" is opening *classic* QuickTime Player, not OSX version! (From: Dan Wood <email@hidden>)

  • Prev by Date: Re: Eudora users - Did you know that...
  • Next by Date: Re: Eudora users - Did you know that...
  • Previous by thread: Re: "tell" is opening *classic* QuickTime Player, not OSX version!
  • Next by thread: Re: RE: Why are compiled scripts slower than from Script Editor?
  • Index(es):
    • Date
    • Thread