another Scripting Mail.app question
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