On Jan 24, 2012, at 10:50 PM, Ken Thomases wrote:

> 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?

Well that does work, and it may have to be the interim solution.  The advantage 
of a true alias is that file dialogs will mount the server when the alias is 
clicked on, but they don't won't see the afploc files as a navigable thing.

--Jim


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to