• 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
Re: path to question?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: path to question? (From: "Admin nimlok.com" <email@hidden>)

  • Prev by Date: FW: Scripting Appleshare
  • Next by Date: Re: path to question?
  • Previous by thread: Re: path to question?
  • Next by thread: Re: path to question?
  • Index(es):
    • Date
    • Thread