This is pretty easy, actually, using AppleScript.

First, open AppleScript Editor (called Script Editor prior to Snow
Leopard). It will automatically create a new blank document. Then drag
DVD Player.app onto the Applescript Editor icon in the Dock. This will
open DVD Player's Applescript "dictionary," which lists the various
commands you can tell DVD Player to perform, and the various kinds of
objects it can perform them on. DVD Player's dictionary is a very
simple one, and therefore very easy for the beginner to work with.

With the dictionary in front of you, you can now start creating and
saving short script files to do any of the actions you are interested
in. For example, to create a script that tells DVD Player to start
playing a DVD, enter the following into a new blank script document:

tell application "DVD Player" to play dvd

Save this as Play DVD.scpt in the Scripts folder of the Library folder
of your user's home folder. Assuming you have set Quicksilver to index
this folder (in the Scripts section of the Catalog tab of QS's
preferences), you can now bring this script file up in QS's first
pane, and use the Run action in the second pane to run it. You can
also assign a trigger in QS, if so desired, with this script in the
trigger's first pane and the Run action in the second pane.

If you want another script to, say, tell DVD Player to pause, just
create another script, but this time using:

tell application "DVD Player" to pause dvd

Make scripts for all the commands from the dictionary that you want to
run, and you are good to go.

On Oct 29, 1:00 pm, rokit8 <[email protected]> wrote:
> I'm hoping this is a simple thing. I've looked around and I can't find
> out how to do this so hopefully someone here can help. I'd like to be
> able to use QS to play, stop, mute (things like that) Apple's DVD
> player without having to switch to the app. I've got a movie going in
> the background and I'd like to be able to just hit a key command or
> some sort of trigger that will either stop the movie, or mute the
> audio. Is this possible? I've tried setting up a trigger but can't get
> that figured out. I've looked for a plugin specific for DVD player and
> I can't find one. Is QS able to do this for me?

Reply via email to