Copy text and analyze it

Frequently Asked Questions
Post Reply
u0000999
Posts: 2
Joined: Tue Mar 27, 2018 7:59 am

Copy text and analyze it

Post by u0000999 » Tue Mar 27, 2018 8:07 am

So, how to copy and paste some information and analyze it with "If function"?

Petr
Posts: 106
Joined: Tue Oct 18, 2016 1:12 pm

Re: Copy text and analyze it

Post by Petr » Wed Mar 28, 2018 7:23 pm

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.

Post Reply