Re: Help..
Re: Help..
- Subject: Re: Help..
- From: "John C. Welch" <email@hidden>
- Date: Wed, 19 Mar 2003 19:01:36 -0500
On 03/19/2003 13:26, "Yossie Silverman" <email@hidden> wrote:
>
1) figure out where it is located in the filesystem (as a run-only
>
script).
>
2) based on that, construct a path to a shell script and 'do shell
>
script' it.
Um...if 2) is based on 1) then you don't need it. I always use the full path
to the shell command or script, and that doesn't require the AppleScript
application to 'know' where it is...so if I'm running 'whoami' then I
specify "/usr/bin/whoami", and I can run that from anywhere on the system.
>
3) How would I "glue" an icon to it from a Installer shell script?
>
Also, how would I create an alias to it on the Desktop?
Use Get Info, and paste the icon...it should follow the application. The
finder handles aliases, so you'd need to use its dictionary for that.
john
--
Braccae illae virides cum subucula rosea et tunica Caledonia-quam elenganter
concinnatur!
(Those green pants go so well with that pink shirt and the plaid jacket!)
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
References: | |
| >Help.. (From: Yossie Silverman <email@hidden>) |