• 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
More newbie queries: paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More newbie queries: paths


  • Subject: More newbie queries: paths
  • From: email@hidden
  • Date: Mon, 29 Apr 2002 05:34:43 EDT

email@hidden asked:
>One final question: Does a trailing colon ever mean anything more than a
>trailing slash does on Unix? (i.e., nothing if the path refers to a
>directory)

A trailing colon always means that it is a reference to a folder (directory),
or that the path was misformatted by the user.
I.e. ->
"Sys HD:System Folder:Extensions:AppleScript" points at a file called
AppleScript.
"Sys HD:System Folder:" points at the folder called System Folder.

Although officially "Sys HD:System Folder" (no trailing colon) points at a
non-existant file, rather than at a folder, AS may correct that when you
attempt to assign an alias.
E.G. -
set OurPath to "Sys HD:System Folder" as alias
-- returns pointer to "Sys HD:System Folder:" (with the trailing colon)

Hope that helps.
Best Wishes
=-= Marc Glasgow

PS - Currently Selling Adaptec 29160 (160Mb/sec) and Adaptec 2940U2W
(80Mb/sec) PCI SCSI Cards on eBay (items 2020574871 & 2020577066,
respectively). If you are member of the AppleScript List, I will waive My
normal restrictions and ship the card(s) worldwide at cost.
_______________________________________________
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: Setting Script variables with Apple Events
  • Next by Date: Re: Setting Script variables with Apple Events
  • Previous by thread: Re: More newbie queries: paths
  • Next by thread: Even more newbie queries: aliases
  • Index(es):
    • Date
    • Thread