How do i set mouse co-ordinates using variables?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
DaveM

How do i set mouse co-ordinates using variables?

Post by DaveM » Sun Aug 17, 2003 7:09 am

I tried this but it doesn't work. How can I set my mouse positions to be variables and then use them?

Let>POS1=8,264
MouseMove>%POS1%

Dave

User avatar
Captive
Macro Veteran
Posts: 213
Joined: Sun Oct 20, 2002 8:37 pm
Location: Colorado, USA

Post by Captive » Sun Aug 17, 2003 8:38 am

Yeah you'd think that would work, but you need to pass two numbers to the MouseMove, not just a string that contains number/comma/number.Let>xPos=8
Let>yPos=264
MouseMove>%xPos%,%yPos%

DaveM

Thanks.

Post by DaveM » Mon Aug 18, 2003 8:00 am

That worked a treat, many thanks.

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