Re: path to question?
Re: path to question?
- Subject: Re: path to question?
- From: "J.B. Stewart" <email@hidden>
- Date: Mon, 16 Jul 2001 19:17:37 -0400
On 7/16/01 at 4:55 PM, Admin nimlok.com <email@hidden> wrote:
>
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
>
>
>
<snip>
set appPath to path to creator "ToyS"
tell application "Finder" to set foldPath to (container of appPath) as string
--> "Mac HD:Applications (Mac OS 9):Apple Extras:AppleScript:"
John