• 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: Handling Folders for Parent Path Reporting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Text file reading...
  • Next by Date: Re: Handling Folders for Parent Path Reporting
  • Previous by thread: Handling Folders for Parent Path Reporting
  • Next by thread: Re: Handling Folders for Parent Path Reporting
  • Index(es):
    • Date
    • Thread