[Wine] Re: Using wine for automatization

Molle Bestefich molle.bestefich at gmail.com
Tue Aug 8 18:32:47 CDT 2006

Molle Bestefich wrote:
> Try if you can control the application by sending mouse / keyboard
> commands through it's message loop using the standard Win32 API
> functions - PostMessage (or SendMessage) with WM_MOUSExxx and
> WM_KEYxxx messages.

Perhaps user32.SendInput() is more useful.
MSDN says "The SendInput function synthesizes keystrokes, mouse
motions, and button clicks.", so it sounds like it might be better
suited.  That is, if it's actually implemented in Wine.  If not, you
could have a go at implementing it, hehe ;-).

More information about the wine-users mailing list