• 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: Philippe GRUCHET <email@hidden>
  • Date: Thu, 20 Mar 2003 01:16:51 +0100

From: Dan Wood <email@hidden>

I have a very simple script that tells QuickTime player to open a movie:

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

You could try:

=========
set x to "QuickTime Player.app" & ""
tell application x to activate
=========

As test:

=========
try
tell app "Finder" to set x to app file id "TVOD" as alias
if (info for x)'s name is "QuickTime Player.app" then set y to (info for x)'s name
tell app y to activate
on error
-- do what you want
end try
=========

You can test by name, by path, etc.


Kind regards,
Philippe Gruchet/SVM Mac
VNU Publications France
http://svmmac.vnunet.fr
_______________________________________________
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.

  • Prev by Date: Re: Help..
  • Next by Date: Re: Display Status Window
  • 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