Re: making file
Re: making file
- Subject: Re: making file
- From: Richard 23 <email@hidden>
- Date: Thu, 23 Nov 2000 23:02:15 -0800
g3pb <email@hidden>:
>
on SplitPath(filePath)
>
set filePath to filePath as string
>
set AppleScript's text item delimiters to ":"
>
tell filePath to if it ends with ":" then set filePath to text 1 thru -2
>
tell filePath to set {AppleScript's text item delimiters, ,
>
{folderPath, theName}} to {"", {(rest of text items 1 thru -2 of
>
(":" & it) & "") as string, last text item}}
>
{folderPath, theName}
>
end SplitPath
>
>
-- i got this from this list, not sure who's it is ...
Telling a variable? Crazy! Must be one of mine.
A pretty good seque for mentioning my site's url:
<
http://homepage.mac.com/richard23/>
R23