• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how start default dvd player?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >how start default dvd player? (From: "Emmanuel Verlynde" <email@hidden>)

  • Prev by Date: Re: Table view jumps to selection on insertion
  • Next by Date: Re: Are screensavers for OS X made in Cocoa or Java?
  • Previous by thread: how start default dvd player?
  • Next by thread: Table view jumps to selection on insertion
  • Index(es):
    • Date
    • Thread