Hi, Here is a simple program which runs an exe and does two key functions{ tab and enter}.. Basically i want to apply these key functions after start of the exe.These keys functions are required for successful completion of executing the exe. Here the problem is system command creates a child process and run the exe.. so i could not able to give the key functions to the exe. By this program key functions are execute after running the exe.. I want to execute the key funtions before completion of exe
use Win32::GuiTest qw(FindWindowLike GetWindowText SetForegroundWindow SendKeys); system('EXE FILE NAME"); SendKeys("{TAB}"); SendKeys("{ENTER}"); Is there any way to solve this problem? with regards D.P.S