• 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: Michael Kelly <email@hidden>
  • Date: Sun, 28 Apr 2002 18:24:41 -0700

Hey all,

Thanks for the answers on my last question. I'm now banging my head in a
much more flexible environment! :)

My question has to do with paths in OS X. Since OS X is based on a Unix
kernel, shouldn't it use Unix paths? The "go-to" window in the Finder does.

But AppleScript seems only to like old, colon-delimited paths. This is
confusing and frustrating me to no end, partially because I've never fully
understood "classic" Macintosh path names to begin with. Am I wrong about
this?

Here is what I currently think I know about Mac paths:

"Users:mkelly:" is equivalent to "/Users/mkelly/"
":Users:mkelly:" to "./Users/mkelly/"
"Users:mkelly::admin" to "/Users/mkelly/../admin/"

Am I terribly wrong somewhere?

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)

I've been having to play around with paths for quite some time before I get
them right, so I'm hoping I can figure out what I'm doing wrong.

Sorry for the basic-ness of these questions, but haven't been able to find
any answers or clarification anywhere else.

Thanks!
--
Michael
_______________________________________________
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.

  • Follow-Ups:
    • Re: More newbie queries: paths
      • From: Christopher Nebel <email@hidden>
    • Re: More newbie queries: paths
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Scripting Entourage 2001
  • Next by Date: Even more newbie queries: aliases
  • Previous by thread: Re: Scripting Entourage 2001
  • Next by thread: Re: More newbie queries: paths
  • Index(es):
    • Date
    • Thread