Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Play any region-coded DVD' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Play any region-coded DVD
Authored by: obi-wan-kenobi on Mar 07, '09 03:20:15AM

I wrote this AppleScript which does not need to count the disk list.
I found that each time I get a different mount since I have various
USB drives attached.
The only restriction is that VLC is in English so if you have a localized version
you will need "Open Disc..." and "File" with the localized version.

activate application "VLC"

tell application "Finder" to set frontmost of process "VLC" to true

tell application "System Events" to tell process "VLC"
click menu item "Open Disc..." of menu 1 of menu bar item "File" of menu bar 1
keystroke return
end tell

tell application "VLC"
fullscreen
next
end tell



[ Reply to This | # ]
Play any region-coded DVD
Authored by: mlnoone on Apr 12, '09 10:27:04AM

A nice solution!

---
Mohan Noone



[ Reply to This | # ]
Play any region-coded DVD
Authored by: petertheartist on Dec 28, '10 07:27:39PM

I had the same issues, and worked it out a slightly different way;

tell application "VLC"
activate
end tell
tell application "System Events"
key down command
keystroke "d"
key up command
delay 3
keystroke return
tell application "VLC"
play
fullscreen
end tell
end tell

My G4 is a little slow sometimes, others might not need the 'delay 3'



[ Reply to This | # ]