• 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 : Variable renaming and managing a folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE : Variable renaming and managing a folder


  • Subject: RE : Variable renaming and managing a folder
  • From: Bernard Azancot <email@hidden>
  • Date: Tue, 25 May 2004 19:39:31 +0200

Le 22 mai 04, 21:24, email@hidden wrote:

set thePath to (((path to startup disk) as text) &
"Volumes:volname:rest:of:path:")


I do not understand the meaning of (((path to startup disk) as text) &"Volumes:volname:rest:of:path:")

compared to the simple:

set thePath to ("VolumeName:folder:folder:")

Well, the first statement is a bit redundant but I do it anyways. Under Mac OS X your startup disk is the root disk, if you go into the Terminal your root is the path "/". All of the other mounted disks (volumes actually) have what are called "mount points" and they are stored in the path "/Volumes/". So to get to the volume "AnotherVolume" you would go to "/Volumes/AnotherVolume/"


Dear Ken,

Sorry for my late answering. I was not at home those 2 last days.
Many thanks for the clear explanations.

You really gifted for that. What about writing a book, (a kind of "AppleScript for dummies) ? I would buy it immediately. ;-)

Yours
Bernard
_______________________________________________
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.


  • Prev by Date: Re: Disabling Rendezvous - SOLVED
  • Next by Date: Re: Setting up a cron job
  • Previous by thread: Why an Acrobat Script Only Works Once?
  • Next by thread: A funny think happened...
  • Index(es):
    • Date
    • Thread