More newbie queries: paths
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.