Re: alias inside script bundle?
Re: alias inside script bundle?
- Subject: Re: alias inside script bundle?
- From: Emmanuel LEVY <email@hidden>
- Date: Fri, 18 May 2012 20:25:31 +0200
Yes, or make a relative symbolic link. The symbolic link will just say "sox", it will work whenever soxi is a sibling of sox.
<tongue location="in cheek">and it's a lighter file</tongue>
Emmanuel
On May 18, 2012, at 2:19 PM, Luther Fuller wrote:
> On May 18, 2012, at 6:40 AM, Jim Weisbin wrote:
>
>> I don't want to have to install sox on all my users' computers, I want it to be portable, so that's why I store sox in the script bundle instead. The question is, how do I store an alias "soxi" in the bundle? It seems to me that, if I make an alias when I compile the script, it will depend on "path to me", and therefore not be valid for any other machine.
>>
>> Is there a way around this?
>
> Let your application script create the alias file. This will only happen once, the first time you run the application.
> But you will need some way to check if the application has been moved to a new user.
> You may need to create the alias file in the temporary items folder every time you need it.
> (?)
>
> _______________________________________________
> 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
_______________________________________________
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