Re: simple applescript problem
Re: simple applescript problem
- Subject: Re: simple applescript problem
- From: Dave Lyons <email@hidden>
- Date: Fri, 4 Nov 2005 20:07:00 -0800
tell application "DVD Player"
open VIDEO_TS alias "Sources:VIDEO_TS:"
play dvd
end tell
The DVD Player scripting dictionary says:
open VIDEO_TS file specification : file reference to VIDEO_TS folder
The trouble was that you had a "string" following "open VIDEO_TS",
but a string isn't a file specification.
Cheers,
--Dave
On Nov 4, 2005, at 7:50 PM, mark orourke wrote:
Hi all,
my first attempts at applescript and I am having problems.
Trying to open a VIDEO_TS folder with DVD player. File opens and works
OK from within DVD player but using the following applescript comes up
with error "Can't make some data into the expected type" after the DVD
player has launched-is my filepath right?
tell application "DVD Player"
open VIDEO_TS "Macintosh HD:video:VIDEO_TS"
end tell
Hope to have help soon!
Thanks, mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden