Re: Handling Folders for Parent Path Reporting
Re: Handling Folders for Parent Path Reporting
- Subject: Re: Handling Folders for Parent Path Reporting
- From: Andy Wylie <email@hidden>
- Date: Sun, 05 Jan 2003 16:17:20 +1300
on Sat, 04 Jan 2003 18:12:03 -0500 Gary Lists wrote:
>
I use the following to retrieve the "parent" folder information about files.
>
>
My problem is dealing with a folder itself, and its last colon.
>
on parentFrom(x)
if x's character -1 = ":" then set x to x's text 1 thru -2
x's text 1 thru -(offset of ":" in x's items's reverse as string)
end parentFrom
_____________________________ Andy
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.