Re: AutoItX MouseMove on Remote Desktop
- From: "asdf" <asdf@xxxxxxxx>
- Date: Thu, 23 Feb 2006 04:45:14 -0500
By the time you spell it correctly "AutiItX"
It mayl come to you that the component is
a helper to escape Ms dominance.
All you could come up with is delivering it to them.
*****************
mitlaeufer
A nominal member or partisano.
------------
On software judgement day make sure to remember whose side you were on.
<evgeny.himmelreich@xxxxxxxxx> wrote in message
news:1140514837.281583.321000@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,
I wrote a simple script using AutiItX, that's just supposed
to do a mouse LeftClick and move the cursor out of the active window.
If I run it on local machine, it works ok.
Unfortunately if I run it in "Remote Desktop" session, the LeftClick
event is fired
and mouse coordinates are changes, but the cursor stay in the same
place.
The strange thing is, if I move the mouse to (1,1) :
oAutoIt.MouseMove(1,1);
The cursor changes to "Resize" cursor as if the cursor realy was in
the window corner, but it still in the old place.
Any idea what's going on or how I can get by this?
Regards
Evgeny Himmelreich
******** Script **********
var oAutoIt = new ActiveXObject("AutoItX.Control");
oAutoIt.LeftClick(oAutoIt.MouseGetPosX(),oAutoIt.MouseGetPosY());
WScript.Echo("Before move x=" + oAutoIt.MouseGetPosX() +" y="+
oAutoIt.MouseGetPosY() );
oAutoIt.MouseMove(1,1);
WScript.Echo("After move x=" + oAutoIt.MouseGetPosX() +" y="+
oAutoIt.MouseGetPosY() );
**************************
.
- References:
- AutoItX MouseMove on Remote Desktop
- From: evgeny.himmelreich@xxxxxxxxx
- AutoItX MouseMove on Remote Desktop
- Prev by Date: Re: wsh + website
- Next by Date: Re: createing subdirs in a compressed folder (zip)
- Previous by thread: AutoItX MouseMove on Remote Desktop
- Next by thread: Re: AutoItX MouseMove on Remote Desktop
- Index(es):
Relevant Pages
|