Differences between revisions 2 and 3
Revision 2 as of 2007-03-09 09:10:14
Size: 766
Editor: bas3-hamilton14-1088719374
Comment:
Revision 3 as of 2008-11-15 14:00:11
Size: 768
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
LaunchServices is a pythonic wrapper for just about everything Apple's [http://developer.apple.com/technotes/tn/tn2017.html Launch Services API] has to offer. It was developed primarily to make ["/aeve"] a hell of a lot easier to use. LaunchServices is a pythonic wrapper for just about everything Apple's [[http://developer.apple.com/technotes/tn/tn2017.html|Launch Services API]] has to offer. It was developed primarily to make [[/aeve]] a hell of a lot easier to use.

/LaunchServices

LaunchServices is a pythonic wrapper for just about everything Apple's Launch Services API has to offer. It was developed primarily to make /aeve a hell of a lot easier to use.

status

LaunchServices is at its first public release, 0.1

examples

   1 >> import LaunchServices as LS
   2 >> LS.GetDisplayNameForPath('/')
   3 u'Crack'
   4 >> LS.GetKindStringForPath('/')
   5 u'Volume'
   6 >> LS.GetApplicationPathForInfo(extension='mp3')
   7 u'/Applications/iTunes.app'
   8 >> LS.GetApplicationPathForInfo(creator='MACS')
   9 u'/System/Library/CoreServices/Finder.app'
  10 >> LS.FindApplicationPath(bundle='com.apple.iChat')
  11 u'/Applications/iChat.app'

MacPython/LaunchServices (last edited 2008-11-15 14:00:11 by localhost)

Unable to edit the page? See the FrontPage for instructions.