Hi Monks,
I am working on automating a win32 GUI application using some perl modules and uptill now i have been running the application in foreground mode and all my scripts are running fine , but now i would like to make changes to my script to make my application run in background while the user can be able to do other jobs in the foreground.
I am using Postmessage and Sendmessage commands to send commands to a particular window and this works perfectly fine if i am running in background but i want to enter data into an edit control in background and i am not able to find a solution for this. I have been using SendKeys to send key strokes but this requires the application to be in foreground.How can i enter data to an edit control when my application is running in background?. I have tried using the below commands but its not working. Any suggestions are appreciated.
PostMessage($URLDialog,WM_SETTEXT,0,"Test");
SendMessage($URLDialog, WM_SETTEXT, 0, "Test");