using mousemove with a variable?

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1350
Joined: Sun Nov 03, 2002 3:19 am
Contact:

using mousemove with a variable?

Post by Dorian (MJT support) » Sat Dec 14, 2002 7:44 pm

Is there a way to make this work? I can an error (probably) due to Ms seeing %altavista% as text. i suppose I can use Midstr to split it up, but just wodnered if there's a magic cure before I do that


let>altavista=397,450
mousemove>%altavista%

Ernest

Post by Ernest » Sat Dec 14, 2002 9:39 pm

Hi H2K,
the reason for that error seems to be the delimiter (,) if used within the variable.

Code: Select all

Let>x=397
Let>y=450
mousemove>x,y
this one worked ...

Ernest

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1350
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Post by Dorian (MJT support) » Sun Dec 15, 2002 12:32 am

Thanks Ernest. :D

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Sun Dec 15, 2002 7:21 pm

MouseMove takes two parameters. So you'd need two variables - one for each parameter.
MJT Net Support
[email protected]

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