• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Shorhand for HD location
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Shorhand for HD location (From: Robert Poland <email@hidden>)

  • Prev by Date: Shorhand for HD location
  • Next by Date: Re: Shorhand for HD location
  • Previous by thread: Shorhand for HD location
  • Next by thread: Re: Shorhand for HD location
  • Index(es):
    • Date
    • Thread