• 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: Mail scripting…
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail scripting…


  • Subject: Re: Mail scripting…
  • From: Michelle Steiner <email@hidden>
  • Date: Mon, 7 Apr 2008 15:12:01 -0700

On Apr 7, 2008, at 3:03 PM, awaw wrote:
”
Erreur d’AppleScript
Il est impossible de rendre «class mbxp» "••• ÉRIC & 
PASCAL •••" of application "Mail" dans le type 
attendu.
”
is the response…

I made an error in my previous message; here is the corrected script:

on searchmailboxes(mailboxList)
repeat with thisMailbox in mailboxList
tell application "Mail"
return my searchmailboxes(thisMailbox of thisMailbox whose mailboxes is not {})
-- search for unread messages here
end tell
end repeat
end searchmailboxes

-- Michelle

-- 
The Bible contains six admonishments to homosexuals and three hundred, sixty-two admonishments to heterosexuals.  That doesn’t mean that God doesn’t love heterosexuals.  It’s just that they need more supervision. —Lynne Lavner

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Mail scripting… (From: awaw <email@hidden>)
 >Re: Mail scripting… (From: Michelle Steiner <email@hidden>)
 >Re: Mail scripting… (From: awaw <email@hidden>)
 >Re: Mail scripting… (From: Michelle Steiner <email@hidden>)
 >Re: Mail scripting… (From: awaw <email@hidden>)

  • Prev by Date: Re: Mail scripting…
  • Next by Date: osascript busted in Leopard?
  • Previous by thread: Re: Mail scripting…
  • Next by thread: Re: Mail scripting…
  • Index(es):
    • Date
    • Thread