I am trying to create a workflow whereby after I export a Pages document to docx, it will be attached and email using Spark app. After the files is sent, I want it to be trashed.
Trash is not working, what am I doing wrong?
I just realizes that the whole trash action is wrong as other PDF files are being deleted.
It's a bit hard to tell without testing but it looks to me as if you have the trash action out of context.
As far as I can see you're NOT sending the email to begin with.
Then the macro expects Spark to NOT be in front for the trash action to take place.
So it seems to me that you need to have a means to detect whether all your emails have been sent and to trigger the delete action after that condition clears.
If that condition is for Spark to no longer be frontmost then you probably need a separate macro with an application trigger.
I don't know about Spark, but Mail would be quite unhappy if I deleted my file attachment before it got sent.
Pause until fixed the workflow problem! Thank you Chris.
Do you think that this workflow is best achieved with KM or Hazel? I don't think that I would be able to set the subject like and email to in Hazel for Spark.