Re: "tell" is opening *classic* QuickTime Player, not OSX version!
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.