Re: how start default dvd player?
Re: how start default dvd player?
- Subject: Re: how start default dvd player?
- From: Frank Midgley <email@hidden>
- Date: Fri, 28 Oct 2005 16:50:44 -0500
On Oct 28, 2005, at 7:56AM, Emmanuel Verlynde wrote:
I try with success in my cocoa obj-c application to start "DVD
Player" from Apple by AppleScript command ("tell application \"DVD
Player\"...), but i don't know how start the default DVD Player
selected in "CDs & DVDs" preferences dialog box if it's an other
tool than "DVD Player"...
Where can i found information about this?
I don't find it into plist files.
The app appears to be stored in ~Library/Preferences/
com.apple.digihub.plist, if the user has changed the setting. There
may be an API to retrieve this rather than working directly with the
plist. Searching for "digihub" or "digital hub" on ADC might be
useful...
In the "teach a person to fish..." vein, I discovered this using the
fs_usage tool. I launched System Prefs.app, typed 'sudo fs_usage
<pid>' in Terminal and then clicked on the "CD's & DVD's" pref pane.
This dumped all of the file access done by loading that pref pane.
~Library/Preferences/com.apple.digihub.plist was buried in the dump.
-Frank
------------------------------------
Frank M. Midgley
email@hidden
http://homepage.mac.com/knarf/
_______________________________________________
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