Re: Shorhand for HD location
Re: Shorhand for HD location
- Subject: Re: Shorhand for HD location
- From: "Mark J. Reed" <email@hidden>
- Date: Wed, 18 Jun 2008 10:24:07 -0400
I think there's an alias for the boot volume; I thought it was "boot
volume", which compiles but fails OMM. However, you can always use a
POSIX path, in which the primary hard drive is always just "/":
set universalScriptsFolder to POSIX file "/Library/Scripts/Universal
Scripts" as alias
On Wed, Jun 18, 2008 at 10:15 AM, Robert Poland <email@hidden> wrote:
> Wizards,
> I have this type of statement in many of my scripts, "iMac
> HD:Library:Scripts:Universal Scripts:setsoundvolumeprefs".
> Now with the addition of a new MACBook I find that I need to make this more
> generic.
> What is the incantation to do this? Or is there one?
>
> Bob Poland - Fort Collins, CO
>
>
>
> _______________________________________________
> 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
>
--
Mark J. Reed <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