• 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: Entourage folder hierarchy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Entourage folder hierarchy


  • Subject: Re: Entourage folder hierarchy
  • From: Paul Berkowitz <email@hidden>
  • Date: Sun, 19 Jan 2003 19:31:56 -0800

On 1/19/03 7:04 PM, I wrote:

> One of the handlers (actually it's a whole set of handlers) of which I'm
> proudest gets all the folders - local, IMAP, Hotmail - and newsgroups too,
> and puts them into a 'choose from list' with correct indentations for each
> level, just like the Entourage folder list. It took me a long time to get it
> right.

The hard part wasn't so much constructing the list with indents, although
that had its moments too. It was knowing what you got back when a user chose
a folder which had the same name and indentation as other folders
(subfolders of different folders can have the same name), since 'choose from
list' only identifies the string chosen, not its index in the list. The
trick was to make a parallel list of IDs, and to add on spaces to the name
when an identical string already existed, so that each string was unique and
could be found in the list.

--
Paul Berkowitz
_______________________________________________
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.

  • Follow-Ups:
    • triggering applescript over the web?
      • From: Michael Stoll <email@hidden>
References: 
 >Re: Entourage folder hierarchy (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Entourage folder hierarchy
  • Next by Date: RE: AS to Change Owner of files
  • Previous by thread: Re: Entourage folder hierarchy
  • Next by thread: triggering applescript over the web?
  • Index(es):
    • Date
    • Thread