Re: Prevent DVD Player launch
Re: Prevent DVD Player launch
- Subject: Re: Prevent DVD Player launch
- From: Ricky Sharp <email@hidden>
- Date: Wed, 1 Nov 2006 17:55:13 -0600
On Nov 1, 2006, at 5:41 PM, Craig Hopson wrote:
This is not specifically a cocoa question, but it did come up when
playing with the CocoaDVDPlayer example, and I happen to subscribe
to this list...
Does anyone know how to prevent Apple's DVD Player from launching
when a DVD is inserted? We are working on something that is based
on the CocoaDVDPlayer sample code. However, when a DVD is
inserted, Apple's DVD Player auto launches. If it cannot grab the
DVD services it posts an error and quits. So, I know that by using
Default Apps I can change that behavior. But, is there a
programmatic way, maybe by accessing the launch services database,
to temporarily remove DVD Player (if it's configured that way) and
then restore the setting?
What app is launched is controlled by the "CDs & DVDs" system
preferences. I suppose you could change those prefs when your app is
run, but that seems a bit unpleasant to me. Perhaps you could have
your users configure that setting appropriately?
Or, can someone point me at the correct list on which to post this
question?
I believe there's a dvd-users list.
--
Rick Sharp
Instant Interactive(tm)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden