Re: Finding and shelling out to a sh script in the same directory as the AppleScript
Re: Finding and shelling out to a sh script in the same directory as the AppleScript
- Subject: Re: Finding and shelling out to a sh script in the same directory as the AppleScript
- From: email@hidden
- Date: Thu, 5 Feb 2009 08:15:25 -0800
Alias belongs to AppleScript and has one property:
alias (noun), pl aliases a file on a disk or server. The file must
exist when you check the syntax of your script.
Property Access Type Description
POSIX path get string the POSIX path of the file
ES
On Feb 5, 2009, at 7:02 AM, Mark J. Reed wrote:
On Thu, Feb 5, 2009 at 9:55 AM, Michelle Steiner <email@hidden
> wrote:
So given an alias, you can't find out what folder it's in without
the
Finder?
set text item delimiters to {":"}
set resourcesFolder to (text items 1 through -2 of (path to me as
text)) as
text
Okay, "can't" was too strong a word. :) I'm just surprised that
aliases don't have a container property...
_______________________________________________
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