pyLoginItems icon indicating copy to clipboard operation
pyLoginItems copied to clipboard

Remote shares Alias in LoginItems

Open silicontrip opened this issue 5 years ago • 0 comments

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'

silicontrip avatar May 22 '20 02:05 silicontrip