So I worked off Keith Savage’s script but had to get around another weird “error code -10827” problem, which apparently means the system can’t find the VLC app for some reason.
I ran into an error where the compiler expected a line end after OpenURL for some weird reason. Now, ever so carefully, type in exactly the following: Start out by launching Applications –> Apple Script –> Script Editor. There’s a smarter alternative, as Michel shows, but it requires you opening up the AppleScript editor and writing a very short little program… If you don’t mind having to munge around in the file system to find the newly inserted DVD and click “Play” each time. To have VLC start up instead of DVD Player, simply click on the “Open DVD Player” menu, choose Open Other Application, find VLC in your Applications folder, and click “Choose”. Go to Apple Menu –> System Preferences and choose “CDs & DVDs”: So let me offer up a more detailed tutorial.įirst off, if you just want VLC to start up when you insert a DVD, but you’ll have to actually find the DVD then click “play” to get it to start playing the movie, that’s easy. The problem is, most Mac users have no idea how to “create and save” an AppleScript. First off, credit where it’s due: a succinct, albeit somewhat confusing answer to this question is offered up by Michal over at (see here).