Combinations

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
fightcancer
Macro Veteran
Posts: 250
Joined: Fri Apr 15, 2005 8:32 am

Combinations

Post by fightcancer » Mon Aug 23, 2021 8:17 pm

I have 10 items on the screen and trying to match those 10 in 5 unique pairs.

I'd like to have the macro select 1 at random, and then click the other 9--which would certainly qualify as finding one pair. Then I'd like the macro to click the next item of the remaining 8 followed by the remaining 7, and so on until all 5 pairs are identified.

Would I use an array?

Any help appreciated. Thanks!

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts