Re: AutoItX MouseMove on Remote Desktop



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() );

**************************


.



Relevant Pages

  • AutoItX MouseMove on Remote Desktop
    ... to do a mouse LeftClick and move the cursor out of the active window. ... Unfortunately if I run it in "Remote Desktop" session, the LeftClick ... The cursor changes to "Resize" cursor as if the cursor realy was in ...
    (microsoft.public.scripting.jscript)
  • AutoItX MouseMove on Remote Desktop
    ... to do a mouse LeftClick and move the cursor out of the active window. ... Unfortunately if I run it in "Remote Desktop" session, the LeftClick ... The cursor changes to "Resize" cursor as if the cursor realy was in ...
    (microsoft.public.scripting.wsh)
  • RE: Change Mouse Pointer Image in Workbook
    ... When I change to the VBE, my cursor doesn't change to the default, ... ..Cursur = xlNorthwestArrow only when the workbook is the active window? ... change back to xlDefault when I enter the VBE as the active window. ...
    (microsoft.public.excel.programming)
  • Re: how do i exchange the contents of two columns?
    ... The cursor changes in the Header cell to the ... > Gord Dibben Excel MVP ... >>Jack Sadie ...
    (microsoft.public.excel.misc)
  • Re: mouse pointer
    ... The mothod being used "through the internet" is confusing me. ... talking about the cursor changes when you visit certain websites or ... to lock the cursor in Group Policy Editor and Google and came up with ... under the User Config-Admin Templates-Control Panel. ...
    (microsoft.public.windowsxp.hardware)