Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Mavimao

macrumors 6502a
Original poster
Feb 16, 2005
857
15
Lyon, France
I'm going to quickly do some research on this, but maybe I can get faster results here.

I have a few DVDs that students use at my University to study Arabic and these are intended to be seen on TVs. However, we're trying to make it so the DVD image is on the harddrive and they are able to watch it from there.

Is there anyway to make some sort of apple script that they can click on that will open DVDplayer and open the video_TS folder automatically?

We could teach them how to go to file -> open video_TS folder -> (find folder), but that might confuse them :p

In any case, help would be nice! Thank you!
 
Code:
tell application "DVD Player"
	set moviefile to get "-enter movie path-" as file specification
	open VIDEO_TS moviefile
	play dvd
end tell

I'm not an AppleScript guru, so it may not be the most efficient code, but it will work. Replace -enter movie path- with the appropriate path, such as Mac HD:Movies:Lesson1

Edit: The last part of the path should be VIDEO_TS
 
emw said:
Code:
tell application "DVD Player"
	set moviefile to get "-enter movie path-" as file specification
	open VIDEO_TS moviefile
	play dvd
end tell

I'm not an AppleScript guru, so it may not be the most efficient code, but it will work. Replace -enter movie path- with the appropriate path, such as Mac HD:Movies:Lesson1

Edit: The last part of the path should be VIDEO_TS

That did the trick! Thanks so much!

I'm such a complete ditz when it comes to programming it's not even funny.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.