Hello
Now I think that I understand.
You are hitting the problem which pushed me to write a script applying force quit when I want to shutdown because from time to time, when applications (most often Mail) are supposed to quit, they remain in an odd state. Their menu item is grayed and they do nothing as checked in Activity Monitor.
In your case, as long as this problem strikes, the only workaround which I think of is to try to find an other scheme than the one which you use at this time :
tell application "System Events" repeat while exists process "Mail" try tell application "Mail" to quit end try end repeat repeat while not (exists process "Mail") try tell application "Mail" to activate end try end repeat end tell
to get the menu item "Save Attachments…" enabled.
May you try to ask the script to open the message which you want to treat ? I'm quite sure that doing that the menu item will be enabled.
Yvan KOENIG (VALLAURIS, France) samedi 29 septembre 2012 19:31:18
|