[Mono-winforms-list] Simulate mouse position and click...
pablosantosluac at terra.es
pablosantosluac at terra.es
Wed Nov 26 17:19:30 EST 2008
Do you know if the folks implementing UI Automation already support it
on Linux. Check the White Project on codeplex.
buhochileno at gmail.com escribió:
> Hi guys:
>
> I'm trying to simulate some mouse actions from a c# console app with
> mono on linux...
>
> Currently set the mouse position is very easy using something like:
> System.Drawing.Point point = new System.Drawing.Point(10, 10);
> System.Windows.Forms.Cursor.Position = point;
>
>
> But to simulate mouse click ir harder, most solution on internet use
> "user32.dll" API calls that of course only works in windows :-( , I
> can't call directly to OnMouseClick due to jis protection level and also
> try to write a Forms.Control child class to internally call to the
> OnMouseClick function but don't seems to work and documentation say
> something about that kind of call are valid only if the windows have
> focus (my app don't have a visible window..)
>
> any ideas??
>
> thanks
>
> Mauricio
>
> _______________________________________________
> Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>
>
More information about the Mono-winforms-list
mailing list