MouseMoveRel

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
TimTom
Newbie
Posts: 18
Joined: Mon Oct 10, 2005 3:05 pm

MouseMoveRel

Post by TimTom » Sat Apr 24, 2010 1:53 pm

Hi,

MouseMove and MouseMoveRel have just stopped working. Been using the followling macro on Window XP Home with version 7.4.007 of Macro Scheduler. This is a tried and tested macro that has just stopped working. Would appreciate your help.

Jerry
_____________

//Capture DEUS Data

Let>k=2
Label>start
ReadLn>f:\Finance-Taxes\DEUS\ActiveStockList.txt,k,line
If>line=##EOF##,finish

//request historical data
send>line
wait>1
press enter
wait>7

//Find Historical Prices
MouseMoveRel>75,418
wait>1
lclick
wait>5

//save to file
Press Page Down
mousemove>988,227
lclick
wait>5
press tab*3
wait>2
press enter
wait>4
send>line
wait>2
press enter
wait>2

//return to top and initialize text box
press page up
mousemove>317,220
lclick
wait>2

//next stock
Let>k=k+1
Goto>start
Label>finish
send>DOWNLOAD COMPLETE

gdyvig
Automation Wizard
Posts: 447
Joined: Fri Jun 27, 2008 7:57 pm
Location: Seattle, WA

Post by gdyvig » Sat Apr 24, 2010 4:55 pm

Hi TimTom,


Are MouseMoveRel and MouseMove not moving the cursor at all, or are they moving the cursor to the wrong location? Try putting a longer wait after each move so you can see the cursor. You may need to adjust the coordinates.

Has anything else changed? Like a new computer, new Windows, new browser, new version of the application? As today's blog says, it may be time to upgrade Macro Scheduler to stay compatible with the new environment - even if your scripts stay the same.


Gale

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Sat Apr 24, 2010 7:42 pm

I suspect that this is just a portion of the total script. But I don't see a SetFocus that is needed for proper Mouse movements.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

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