Created
September 17, 2014 06:28
-
-
Save cklein/08fd2fa19dc43af1bd95 to your computer and use it in GitHub Desktop.
Resolve Alias from com.apple.loginitems.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Carbon.File | |
alias = Carbon.File.Alias(rawdata=rawdata) | |
path, some_flags = alias.FSResolveAlias(None) | |
print path.as_pathname() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example file at https://dl.dropboxusercontent.com/u/2193372/com.apple.loginitems.plist