Macro Toolworks and Perfect Keyboard Forums • Copy text and analyze it
Page 1 of 1

Copy text and analyze it

Posted: Tue Mar 27, 2018 8:07 am
by u0000999
So, how to copy and paste some information and analyze it with "If function"?

Re: Copy text and analyze it

Posted: Wed Mar 28, 2018 7:23 pm
by Petr
This is a simple macro which finds text "John" in text copied to clipboard:

Code: Select all

<if>("%_vClpText%~=john")<#>
<msg>(-100,-100,"John found!","",1,0,0,0)<#>
<endif>
The %_vClpText% is the text currently in clipboard. If you need something more powerful then use <regex_find> command. You find an example in the program on line help.