Re: Relative path
Re: Relative path
- Subject: Re: Relative path
- From: g3pb <email@hidden>
- Date: Wed, 20 Dec 2000 16:47:46 -0900
-- here are a couple of different methods
set oldDelimiter to AppleScript's text item delimiters
set AppleScript's text item delimiters to ":"
set SettingsPath to every text item of ((path to me) as string)
set AppleScript's text item delimiters to oldDelimiter
tell application "Finder" to set myFolder to container of (path to me)
-- hcir
mailto:email@hidden
>
I'm trying to get the path to a file that is relative to the path to the
>
script that is running. I understand the use of "me" however, in tinkering
>
around, I can't seem to get the folder of "me", and subsequently the parent
>
folder of that folder and etc. Is this something that is managed through
>
string manipulation of path names of can it be done with finder commands?