Re: Open a Movie from AppleScript?
Re: Open a Movie from AppleScript?
- Subject: Re: Open a Movie from AppleScript?
- From: Steve Savery <email@hidden>
- Date: Wed, 26 Feb 2003 17:46:10 +0000
You're so close!
If you want to code the exact path as below, just remove the
'plaurens:' from the beginning of the open command line. Other than
that it should work just fine, so long as the file stays where it is
and the path doesn't change (but I suspect you already know that).
I'm also having fun with Clicker. The developer deserves an award!
Steve
On Wednesday, February 26, 2003, at 05:28 pm, (s) Peter Laurens wrote:
Hi all,
I'm new to this group, but have developed an interest in AppleScript
since the release of the Ericsson Clicker for OSX
(http://homepage.mac.com/jonassalling/Shareware/Clicker/index.html).
What I would like to do is open a movie (Quicktime) by calling its
path in AppleScript - here is my current (unworking) attempt -
tell application "Quicktime Player"
activate
open "plaurens:Macintosh HD:Users:peterlaurens:Movies:DivX
Movies:Contact"
end tell
Which should tell the movie 'Contact' to open in uicktime right? I've
tried a lot of alternatives, such as 'open location' 'open file' 'tell
Application "Finder"' etc etc but no joy.
What am I doing wrong?
-Peter
_______________________________________________
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.
_______________________________________________
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.