Is there a way to read an email subject into a variable? (this is different to emailing the value of a variable).
I'd like to be able to send a mail such as "action:heating on" - interpretation / conditional logic would validate the source email address and the fact that the word action appears in the subject to run action group "heating on".
I want to avoid having to set a trigger from every single action i want to be able to control hence the need to read the subject (after the ":"), put into a variable and have applescript execute the action group based on that variable name.
any thoughts ? or perhaps I'm coming at it from completely the wrong direction.
thanks