I have tried using the script in Outlook 2011: Adding some messages to "Waiting for reply" folder. Basically, when I compose an Outlook message and hit Ctrl-Shift-W (as specified in the script name), it tries to send the message, find it in the sent folder and move it to a "waiting" folder. To make sure Outlook has a chance to send the message, it tries to delay before finding the message in the sent folder, repeatedly.
Unfortunately, the delay doesn't work (it doesn't delay), making it fail. Checking to do shell script "sleep 1s"
means that Outlook is then stuck and doesn't send the message until the script fails.
I figured that outlook is waiting for the script to end before doing any background tasks. So the script needs to run in the background. Maybe launching an auxiliary script or something similar.
The problem is I don't know how to do this. Hence this question...