mail.app forgetting changes
mail.app forgetting changes
- Subject: mail.app forgetting changes
- From: HÃ¥vard Graudo <email@hidden>
- Date: Thu, 7 Oct 2004 21:36:39 +0200
I have a script that edits the subjects on selected mails, either
through a rule or on the selected messages.
It seems to work fine, but Mail.app discards the changes if I close and
open the mailbox. (turn triangle twice).
How can I get my changes to stick?
Here is boiled down version:
using terms from application "Mail"
on perform mail action with messages zeMessage
repeat with msg in zeMessage
set x to (subject of msg)
set x to "Added text " & x
set subject of msg to x
end repeat
end perform mail action with messages
on run
tell application "Mail" to set sel to selection
tell me to perform mail action with messages sel
end run
end using terms from
_______________________________________________
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