Re: alias inside script bundle?
Re: alias inside script bundle?
- Subject: Re: alias inside script bundle?
- From: Luther Fuller <email@hidden>
- Date: Fri, 18 May 2012 07:19:56 -0500
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