Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote shares Alias in LoginItems #2

Open
silicontrip opened this issue May 22, 2020 · 0 comments
Open

Remote shares Alias in LoginItems #2

silicontrip opened this issue May 22, 2020 · 0 comments

Comments

@silicontrip
Copy link

Hi Mike,
I've been trying to decode an Alias Object that I found in the loginitems which is mounting a remote SMB share. So that I can change it to a different server. But I seem to be encountering the same issue you had that none of the calls return the remote URL. It'd be awesome if I could get in contact with you or Patrick, who seems to have dealt with Alias V3 files also.
This is the error that pyLoginItems gives me, trying to read a loginitems plist containing one of these Aliases:
Traceback (most recent call last): File "./logintest.py", line 4, in <module> pyLoginItems.list_login_items() File "/Users/mark/Documents/20200310-CIFSRemount/pyLoginItems.py", line 71, in list_login_items URLs.append(_get_item_cfurl(an_item).path()) AttributeError: 'NoneType' object has no attribute 'path'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant