|
|
Doesn't work for me
I've been trying to use these scripts to set up an automated mailing list system, that anyone sending to a certain address with "add to list" in the subject would be added to the Address Book group "List". Well, for some reason the script doesn't seem to be excecuting for me. I spent a few hours over the past few days, with an automated rule that runs the script every time a message is recieved (kept e-mailing myself), to test out the script. If I have it not do anything but display a Dialog, it does that fine. And if I have it follow your instructions as to how to extract the rule name, I can do that and display that in a second dialog. I can even add the line "set selectedMessages to |Selectedmessages| of info", and I still get both dialogs. However, once I add the line "set theSender to sender of Selectedmessages" or anything like that, it runs the script till that point and promptly ends operation of the script. I test this with a dialog saying "before", before that line of code, and a second one "after" after the line of code. If I simply do not have the line, I get 2 dialogs in a row, "before", "after". Once I enter the line, I get "before" and thats it. The strange thing is that even if I delete the strange line after entering it and failing, I have to restart Mail.app for the script to start working again.
Doesn't work for me
I cant explain why your script isnt working i can only moan at the fact that if a script error occurs that mail will not notify you of the error... maybe try wrapping your script in a 'try' and set an error handler to display a dialog with the error message. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.14 seconds |
|