Re: path to question?
Re: path to question?
- Subject: Re: path to question?
- From: "Admin nimlok.com" <email@hidden>
- Date: Mon, 16 Jul 2001 16:55:53 -0500
Thanks Steve for your reply.
Actually what I'm trying to do is get the path to the folder
that an application is in?
set filepath to path to creator "CDP3" as string
returns
file "HD I:Desktop Folder:VectorWorks:VectorWorks"
I want
file"HD I:Desktop Folder:VectorWorks:"
I've tried delimiting the string but get errors.
applescript acts like filepath is not a string,
not sure why?
any help would greatly be appreciated.
thanks
Dave
>
From: "Goodman, Steve" <email@hidden>
>
Date: Mon, 16 Jul 2001 15:57:56 -0500
>
To: email@hidden
>
Subject: RE: path to question?
>
>
> path to "my apps" as string
>
>
>
> I get an Execution Error saying:
>
>
>
> Can't make "my apps" into a item.
>
>
>
> It seems to me like this should work?
>
>
>
> Standard Additions 1.6
>
>
>
> Thanks
>
>
>
If your trying to return the path to "The" applications folder then the all
>
knowing Bill Cheeseman once wrote:
>
>
There actually is a Path to Documents Folder command, and a Path to
>
Applications Folder command, as well. But they're worded a little
>
differently:
>
>
Path to At Ease documents folder
>
--> alias "Sucia:Documents:"
>
>
Path to At Ease applications folder
>
--> alias "Sucia:Applications (Mac OS 9):"
>
>
(My startup disk is named Sucia, after my favorite island (in the San Juans,
>
in Puget Sound).
>
>
I found these using ResEdit. They probably should have been named something
>
else in Mac OS 9.1, since At Ease has been replaced by what? -- the "File
>
Manager"? The Standard Additions dictionary describes only a truncated list
>
of these "special folders", so you have to use a utility like ResEdit to see
>
all the enumerations that are available.
>
>
On a similar note:
>
>
Path to users folder
>
--> alias "Sucia:Users:" -- creates Users folder at root level of startup
>
disk if it doesn't already exist
>
>
I don't have multiple users turned on, which may be why I get an error with
>
this:
>
>
Path to current user folder
>
--> error at compile time
>
>
Can somebody tell me what all four of these statements do when multiple
>
users is turned on, and when there is more than one user?
>
>
These Path To "special folders" also existed in Mac OS 9.0.4 and worked the
>
same way there. I assume they were introduced in Mac OS 9.
>
>
-
>
Bill Cheeseman, Quechee, Vermont <mailto:email@hidden>
>
>
>
>
>
Steve Goodman
>
Vertis Advertising Production Services
>
phone 314.432.8800, ext. 479
>
fax 314.692.0309
>
email@hidden
>
www.vertisinc.com
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users