Skip to content

Remote shares Alias in LoginItems #2

@silicontrip

Description

@silicontrip

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions