Re: Programmatically create aliases to unmounted servers?
Re: Programmatically create aliases to unmounted servers?
- Subject: Re: Programmatically create aliases to unmounted servers?
- From: Ken Thomases <email@hidden>
- Date: Tue, 24 Jan 2012 21:50:35 -0600
On Jan 24, 2012, at 4:24 PM, Zajkowski, James wrote:
> I'm looking for a way to construct an alias file (a bookmark file) with a specific but unmounted file server location. That is, I want to put an icon on user's desktops that says "Network Space" and have it resolve to afp://ser.ver.add.ress/mount/username.
If I drag the above URL out of Mail and to the Finder, the Finder creates a .afploc file (like it would create a .webloc if I drag a web URL). That .afploc file has a very straightforward format. It's just a plist dictionary with a single key, "URL", with a string value which is the URL.
You could create one of those. Would that be sufficient?
Regards,
Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden