From: Manish Sapariya Date: 2007-05-30T11:58:47+09:00 Subject: Re: interacting with another program Jeppe Jakobsen wrote: > 1) > This should be the function to find the window handle: > http://msdn2.microsoft.com/en-us/library/ms633499.aspx > For this I also need the name of the class, but I have installed a tool > that can show me that. > > 2) > I couldn't find a function on MSDN to find a controls handle, so I'm > kinda stuck on this one. Please help me out here. > > 3) > To push a button I'll need > BM_CLICK(http://msdn2.microsoft.com/en-us/library/ms673557.aspx)? > > For textfield i want to get the text from, I think I have to use > EM_GETTEXTEX (http://msdn2.microsoft.com/en-us/library/ms652050.aspx) > right? > I believe this should solve most of your problems. http://raa.ruby-lang.org/project/win32-guitest/ Hope it helps. Regards, Manish