:If something has been copied to the system clipboard in the past 10 seconds
Open up new tab
Paste
Insert by typing " generic phrase"
Hit Keystroke: Return
:If something has been typed in the past few seconds
Insert by typing " generic phrase"
Hit Keystroke: Return
These are the only two scenarios so if I can create a condition for either it would work.
I may have to use two different processes for this but I'd like to see if I can use some sort of if then else function to use the same one. I'm always searching things with the same secondary word and I'd like the same trigger whether i'm remembering the name of a company and typing it in or If I'm copying one.
The Macro Group "10 Second copy pause" is just a frivolous group created for the sake of being in the condition of enabled or disabled. The problem with the first comment for me was that the macro disabled itself and wouldn't be reenabled by the system clipboard changing (something being copied). The frivolous macro group solves this. Then once you have this macro and the frivolous group set up you can put the macro group being enabled as a condition in any other macro.
edit: I now realize I was very stupid and could have just used the original process posted and just made the condition being disabled not enabled. Oh well.
If you are referring to my macro, the macro re-enables “itself” once it completes.
Point of the disabling/enabling is to avoid repeated triggering of additional instances while the first instance is already running. (My macro had the typed string trigger, and with that trigger it would launch a new instance each time you type a letter…)
You're completely right after re-examining (I'm very new to this program and didn't know what a typed string trigger was or did), yours is a much better solution than mine, I just couldn't figured out what I was looking at, at the time. Thanks again so much for your help to me and the forum.
I also didn't clarify in my original post ( but I thought I did) that I wanted the typed and copied to be 2 different paths which added to my confusion.
This way you can switch your actions in function of the trigger that actually triggered the macro (clipboard or typed string), without the need of two macros.