change an alias target python
问题 I would like to change the target of an alias using python. do I have to download some external library to do this. I played around with aliases a bit and can't figure out any way to edit them without user input. I'm using mac, python 2.6 回答1: As far as I can tell it should be possible using PyObjC to get at the Mac's Foundation library. I think NSURLBookmarkResolutionWithoutUI is what you are looking for. 回答2: PyObjC was a good suggestion. I couldn't find a solution anywhere, but after