Return Focus to Original Window

I have a macro setup that copies whatever text I have highlighted, activates Evernote, and prepends the text in a specific note.

I'd like to make it though so that when it is finished with that it returns focus to whatever window it was first activated by. So if I had text in a chrome tab when I activated the macro, it should finish there after prepending. Or Word, or whever it started.

How would I go about doing that?

Use an action like this at the start of your macro:

image

And an action like this at the end (make sure to use the same variable in both, of course):

image

In addition to, or maybe instead of, the suggestion by @gglick, you might try this after completing the Actions in Evernote:

Activate Last Application action.

It should return you to the window of the app you were in when you triggered the Macro to paste into Evernote.

1 Like

thanks. Activate Last Application worked Perfect!

1 Like