• 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
another Scripting Mail.app question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

another Scripting Mail.app question


  • Subject: another Scripting Mail.app question
  • From: Michael Turner <email@hidden>
  • Date: Mon, 21 Jan 2002 17:33:19 -0500

In AS version 1.8.1 on OS X, using Mail version 1.1, I get:

tell application "Mail"
activate
get mailbox 12 of account 1
end tell

result:
mailbox 13 of account 1 of application "Mail"

Is this normal behavior? What is wrong, or is something wrong? I suppose some of my deleted mailboxes are still counted.... since "get ... 16" returns 18

tell application "Mail"
activate
get every mailbox of account 1
end tell

result (note skips 11 & 16):
{mailbox 1 of account 1 of application "Mail", mailbox 2 of account 1 of application "Mail", mailbox 3 of account 1 of application "Mail", mailbox 4 of account 1 of application "Mail", mailbox 5 of account 1 of application "Mail", mailbox 6 of account 1 of application "Mail", mailbox 7 of account 1 of application "Mail", mailbox 8 of account 1 of application "Mail", mailbox 9 of account 1 of application "Mail", mailbox 10 of account 1 of application "Mail", mailbox 12 of account 1 of application "Mail", mailbox 13 of account 1 of application "Mail", mailbox 14 of account 1 of application "Mail", mailbox 15 of account 1 of application "Mail", mailbox 17 of account 1 of application "Mail", mailbox 18 of account 1 of application "Mail", mailbox 19 of account 1 of application "Mail"}

/Michael Turner


  • Follow-Ups:
    • Re: another Scripting Mail.app question
      • From: "J.B. Stewart" <email@hidden>
References: 
 >Scripting Mail.app (From: "J.B. Stewart" <email@hidden>)

  • Prev by Date: Save a text file
  • Next by Date: Re: solutions to scripting addition terminology confilicts
  • Previous by thread: Re: Or TextEdit? [WAS: Re: Scripting Mail.app]
  • Next by thread: Re: another Scripting Mail.app question
  • Index(es):
    • Date
    • Thread