• 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: awaw <email@hidden>
  • Date: Tue, 8 Apr 2008 00:03:49 +0200

”
Erreur d’AppleScript
Il est impossible de rendre «class mbxp» "••• ÉRIC & 
PASCAL •••" of application "Mail" dans le type 
attendu.
”
is the response…

"••• ÉRIC & PASCAL •••" is a mailbox with subfolders "Éric" and "Pascal".
"••• ÉRIC & PASCAL •••" is empty "of course".


It was my first difficulty!


Gérard


Le 7 avr. 08 à 23:13, Michelle Steiner a écrit :
tell application "Mail" to my searchmailboxes(mailboxes whose mailboxes is not {})

on searchmailboxes(mailboxList)
repeat with thisMailbox in mailboxList
tell application "Mail"
my searchmailboxes(thisMailbox)
-- search for unread messages here
end tell
end repeat
end searchmailboxes


 _______________________________________________
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

  • Follow-Ups:
    • Re: Mail scripting…
      • From: Michelle Steiner <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>)

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