ih8modem
7th April 2008, 04:07 PM
I am having a problem with moving the mouse cursor in Vista. It works just dandy with XP.
I use a very simple script to test, I open MS-Paint and basically just draw line from 1 point to another.
This is the script used
script
sequence //wait for button 6
wait (js1.b6);
delay (4);
SCREENX=225; // move cursor to start position
SCREENY=225;
delay(10);
cms.b6=true; //press mouse button left
delay(3);
SCREENX=550;
SCREENY=550;
cms.b6=false; // release mouse button
delay(10); //delay
endsequence
endscript
I see the mouse button activate (if I move my mouse it starts drawing the line) and deactivate a few seconds later. So that part works. But it does not seem to like the SCREENX and SCREENY commands in Vista.
In XP the same script draws the line as anticipated.
Anything changed with the commands in Vista?
Any insight appreciated.
I use a very simple script to test, I open MS-Paint and basically just draw line from 1 point to another.
This is the script used
script
sequence //wait for button 6
wait (js1.b6);
delay (4);
SCREENX=225; // move cursor to start position
SCREENY=225;
delay(10);
cms.b6=true; //press mouse button left
delay(3);
SCREENX=550;
SCREENY=550;
cms.b6=false; // release mouse button
delay(10); //delay
endsequence
endscript
I see the mouse button activate (if I move my mouse it starts drawing the line) and deactivate a few seconds later. So that part works. But it does not seem to like the SCREENX and SCREENY commands in Vista.
In XP the same script draws the line as anticipated.
Anything changed with the commands in Vista?
Any insight appreciated.