[Mono-dev] set mouse position...

buhochileno at gmail.com buhochileno at gmail.com
Sat Nov 8 15:17:47 EST 2008


Petit Eric wrote:
> 2008/11/7 buhochileno at gmail.com <buhochileno at gmail.com>:
>   
>> Hi guys:
>>
>> Sorry, I know that is not the correct list to ask this, but just point
>> me in the right direction...
>>
>> is posible to set mouse position and simulate mouse events from
>> mono+c#+linux fron a console app? (something like interact with X or
>> work with a hiden gtk# window...)
>>     
> system.windows.form.cursor.position or create manualy the mouse event
> and then e.position, so answer is yes
>   
yeap, mouse position is easy thanks!!, but simulate mouse click is 
harder, all solutions that I found need to call API specific functions 
in user32.dll or stuff like that (of course that work only for 
windows...), I can't call to OnMouseClick function due to his protection 
level and also seemsto work for focus windows...

Any ideas?

thanks a lot..
>> thanks
>>
>> Mauricio
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>>     
>
>
>
>   



More information about the Mono-devel-list mailing list