• 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
select smart mailbox
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

select smart mailbox


  • Subject: select smart mailbox
  • From: Gert van Oss <email@hidden>
  • Date: Tue, 7 Jun 2005 12:37:44 +0200

Can someone please explain my why code mentioned below doesn't work as I'm not smart enough to find out myself.
Tia, Grt


btw "Flags" is a smart Mailbox... The code works fine for a 'non- smart-mailbox' as picked up from the archives: http://lists.apple.com/ archives/applescript-users/2004/Apr/msg00255.html

tell application "Mail"
set theWindow to make new message viewer with properties {visible:true}
delay 1
set selected mailboxes of theWindow to {mailbox "Flags"}
end tell


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Scriptability of Character Palette
  • Next by Date: Address Book & SMS & AppleScript
  • Previous by thread: Re: Scriptability of Character Palette
  • Next by thread: Address Book & SMS & AppleScript
  • Index(es):
    • Date
    • Thread