CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 18:54:15 GMT
server: Apache/2.4.41 (Ubuntu)
vary: Cookie,User-Agent,Accept-Encoding
set-cookie: MOIN_SESSION_443_ROOT_moin=8c6aac4f752c6b6aedc6aa12628eac5c6b8503a0; Expires=Thu, 24-Jul-2025 19:54:00 GMT; Max-Age=3600; Secure; Path=/
content-encoding: gzip
content-type: text/html; charset=utf-8
x-clacks-overhead: GNU Terry Pratchett
strict-transport-security: max-age=315360000; includeSubDomains; preload
MacPython/LaunchServices - Python Wiki
/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.