I am experienced in programming with a few languages, but am completely new to AppleScript and am having trouble differentiating up from down.
I want a script to do the following:
-
save unread message(s) in a given Mail mailbox… save them to a plaintext file.
-
Upload the saved file to a webserver
-
Call up a specific URL in Safari
-
delete the uploaded file from the webserver
-
delete the local copy of the saved file
-
Mark the message(s) read
-
exit
I would like to trigger the script to run via a rule in Mail.
So, can anyone give me any pointers, suggestions, hints at all? It would be greatly appreciated