Applescript counting mails keeps counting mail in other folders
Applescript counting mails keeps counting mail in other folders
- Subject: Applescript counting mails keeps counting mail in other folders
- From: Fred Diepeveen <email@hidden>
- Date: Mon, 25 May 2015 20:33:53 +0200
Hi, maybe some can help on this issue:
- My script counts and selects mail in a specific mailbox "notfound"
- It counts 2 mail messages through set lastMessage to (get count of messages of mailbox "INBOX" of account notfoundaccount)
- Some work is done
- Messages are moved to a folder trough move theMessage to mailbox "SweepDone" of account notfoundaccount -- a folder contained by another folder
- All's working well but then:
- Running the same script again, it finds 2 messages with are in the sweepDone folder. Inbox is empty.
- QUESTION: how can I stop mail and applescript finding messages in the "inbox" of the account? The messages are moved to the folder sweepDone. I even tried to move the messages to an other account but mail is still finding the messages
Q Que Thanks and regards .
Fred Diepeveen +31 652002500
|
_______________________________________________
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