Re: alias inside script bundle?
Re: alias inside script bundle?
- Subject: Re: alias inside script bundle?
- From: Axel Luttgens <email@hidden>
- Date: Fri, 18 May 2012 23:54:08 +0200
Le 18 mai 2012 à 15:11, Shane Stanley a écrit :
> [...]
>
> FWIW, the normal distribution puts them in the same place as the sox file. But I'd imagine you can put them anywhere, given they're symlinks, so if you're going to create them on the fly, somewhere outside the bundle, like the temp folder, might be a better choice.
Well, I would prefer to have those symlinks created once for all in the application's bundle.
Otherwise, the code may rapidly become convoluted (does the link already exist and, if yes, does it point to the expected item? how would one handle the fact that the user moves the application bundle while the application is running? etc). And more generally, having the links created on the fly raises security concerns, since the application's running code would depend on extraneous items.
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden