I think we had a discussion about doing this a year or so ago, and
someone directed us to one of the applescript options out there for
making it work. However, I have an external hard drive hooked up, and
sometimes a flash drive, or an external optical drive, or a flash card
reader, etc. The scripts that were sited directed VLC to open a
specific rdisk location (ex; rdisk1). The changing of mounted drives
changed the rdisk location of the combo drive on my G4 GigE. That
meant that it was a crap shoot as to weather the dvd would start up
automatically, or not.

After much harassment from my wife and kids, who just want things to
work, I decided to take a bit of my vacation time to finally fix the
issue.  So here is my solution.

In AppleScript Utility check the box for 'Enable GUI Scripting'

Make the following script in Script Editor, and save it somewhere that
it won't have to move.

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

Go to:
System Preferences->CDs & DVDs->When you insert a video DVD:-> Run
script
Select the script you just saved.

This does an end run around the rdisk issue, and opens the DVDs every
time.
The 'delay 3' line can be adjusted, or even removed, depending on how
fast your system can open that pop-up window in VLC.

I am no apple script expert, and the code might do with some cleaning
up, but for now, it works, and my wife is off my back about it. I hope
it can help someone else too. I know some people prefer VLC for the
ability to play DVDs from other regions. For me, I have more functions
on my pinnacle remote set up through Remote Buddy for VLC than for DVD
player, and I can use it as my one stop application for viewing any
video content, whether it's on my hard drive, or a DVD.

Happy Holidays,
Peter
(FYI my machine is running 10.4.11, specific wording in the menus/
preferences may be different in 10.3/10.5, I am not sure)

-- 
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list

Reply via email to