• 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: Dan Wood <email@hidden>
  • Date: Wed, 19 Mar 2003 15:08:35 -0800

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?

[my guess -- not functional code]

tell application "Finder"
copy the path of application file "QuickTime Player" as string to thepath
end tell

tell application thepath
...
end tell




On Wednesday, March 19, 2003, at 01:20 PM, Emmanuel wrote:

At 11:38 AM -0800 19/03/03, Dan Wood wrote:
I have a very simple script that tells QuickTime player to open a movie:

tell application "QuickTime Player"
open location [something]
end tell

For some reason, on Mac OS X, this causes the *classic* version of QuickTime Player to launch, not the Mac OS X version (which lives in its standard place in the /Applications folder). If the Mac OS X version of the program is running, then it properly opens the movie.

Can anybody think of a fix to this, or a workaround? I don't want to assume that QuickTime player lives in the /Applications folder, but I don't want classic to launch!

Get QTPlayer's path from Finder (this returns the OSX path in my experience) and provide the full path to "tell application" (this works in my experience).



--
Dan Wood
Karelia Software, LLC
email@hidden
http://www.karelia.com/
Watson for Mac OS X: http://www.karelia.com/watson/
_______________________________________________
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.

  • Follow-Ups:
    • Re: "tell" is opening *classic* QuickTime Player, not OSX version!
      • From: Emmanuel <email@hidden>
    • Re: "tell" is opening *classic* QuickTime Player, not OSX version!
      • From: Andrew Oliver <email@hidden>
References: 
 >Re: "tell" is opening *classic* QuickTime Player, not OSX version! (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: FileMaker Pro and "field" requests
  • Next by Date: Re: Why are compiled scripts slower than from Script Editor?
  • Previous by thread: Re: "tell" is opening *classic* QuickTime Player, not OSX version!
  • Next by thread: Re: "tell" is opening *classic* QuickTime Player, not OSX version!
  • Index(es):
    • Date
    • Thread