Skip to content

Instantly share code, notes, and snippets.

@cklein
Created September 17, 2014 06:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cklein/08fd2fa19dc43af1bd95 to your computer and use it in GitHub Desktop.
Save cklein/08fd2fa19dc43af1bd95 to your computer and use it in GitHub Desktop.
Resolve Alias from com.apple.loginitems.plist
import Carbon.File
alias = Carbon.File.Alias(rawdata=rawdata)
path, some_flags = alias.FSResolveAlias(None)
print path.as_pathname()
@cklein
Copy link
Author

cklein commented Sep 17, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment