From: Jeppe Jakobsen Date: 2007-05-30T13:30:31+09:00 Subject: Re: interacting with another program Manish Sapariya wrote: > Jeppe Jakobsen wrote: >> 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 Thanks I've actually looked a bit into autoit for ruby and it solved most of my problems, but maybe this will come in handy if I have any trouble with autoit. My biggest problem right now is that the program I want to automate is using some web based elements, which means that there is some text I cant seem to get from the program. I'm considering using some kind of screenscrape to regonize the text I need, if such solution is available (or even nessecary). -- Posted via http://www.ruby-forum.com/.