On Tue, Jun 14, 2005 at 12:09:38PM -0400, Schollnick, Benjamin wrote: > Is there any way to gather a list of applications that have been > installed on > the Macintosh....
This information is available, but there is no public API for accessing it. So you have a few choices - use a SPI, parse the output of lsregister, or collect the information yourself. The SPI is _LSCopyAllApplicationURLs() in LaunchServices.framework, which works back several OS versions, but may be removed at any point. /System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -dump also gives you what you want, though the format of the output is likely to change. No matter what you do, please file a bug (bugreport.apple.com) and ask for this to be made a public API in future. > Also, anyway to tell what the current screen saver settings are? > (ie. Screen Saver is set to turn on at XX minutes, and is password > protected?) Again, you're on your own here - no supported API. Have fun... As much as you can, it may help both here and in your bug reports to describe why you need the above information; there may be another way to do what you want. -- Nicholas Riley <[EMAIL PROTECTED]> | <http://www.uiuc.edu/ph/www/njriley> _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig