My goal is to write a script that opens an attachment in excel when activated by a mail rule. It does not need any loops to go through multiple emails or attachments, just run once per email and then start again when the mail rule is next activated.
Basically, all I'm missing is a way to set a variable to the alias of the attachment and then open the file in excel. Unfortunately I am very inexperienced and do not know the syntax needed to do so. Any help is greatly appreciated.