Apple Mail syntax for nested folders
Apple Mail syntax for nested folders
- Subject: Apple Mail syntax for nested folders
- From: Håvard Graudo <email@hidden>
- Date: Wed, 04 Jun 2014 14:36:06 +0200
How do I access messages inside nested folders in Apple Mail?
I have a folder named “test 2” inside a folder named “test”. What am I doing wrong here:
tell application "Mail" set read status of (every message of mailbox "test") to true --> correct. every message status is changed in this folder set read status of (every message of mailbox "test/test 2") to true --> nothing happens. no error, no change of status. just nothing. set read status of (every message of mailbox "test/nonexistingfolder") to true --> correctly errors as there is no such folder end tell
OS 10.9.3, Apple Mail 7.3
Håvard
|
_______________________________________________
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