PDA

View Full Version : same script not working in vista



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.

ih8modem
7th April 2008, 04:34 PM
I've just noticed there is no CMCC in my Vista install. Is this the problem possibly? I also looked in my folder where the program is installed and it seems there is no associated program installed there either.

XP installation - startup folder contains a .lnk to "C:\Program Files\CH Products\Control Manager\CMCtlCtr.exe"

On my Vista installation, there is no such file and no such link as described above. Has the CMCC been done away with on Vista ?

Bob Church
7th April 2008, 04:59 PM
Hi ih8modem,

It is the lack of the CMCC. It hasn't been setup for Vista yet, and I'm not at all sure it can be made to work. I've been tied up with another project for the last couple of weeks, but my last experience with the SCREEN function was that Vista crashed. I have some things I need to try, whether the functions can be made to work in Vista isn't really clear.

Not much help, but maybe it will save you some frustration trying to sort it out.

Best regards,

- Bob

The StickWorks
http://www.stickworks.com

ih8modem
7th April 2008, 05:03 PM
I'll keep using my MFP in XP for now then. Pity as the dx10 gfx are pretty in some games on Vista.

TY for the reply though :)