Hi All,
I am trying to execute the .bat file remotely which will invoke the autoit script and further autoit script will call another .exe and then enter the values to that exe.
But here when i try to do this then autoit script only opnes the .exe file , but it is not entering any values in the exe file .At the same time if i click on the exe window then it will enter the values.
But if i call the same .bat file from the same machine then all the things are working fine.
Below is the code of my .bat file and autoit script.
Calling .bat file with command start example.bat "1.1.1.1"
Example.bat file
start C:\AutoIT\test.exe %1
exit
test.exe file
WinWaitActive("Example")
Sleep(1)
WinMenuSelectItem("Example", "Modes" , "x")
Sleep(3)
Send($CmdLine[1])
Send("{TAB 5}")
Sleep(2)
Send("{Enter}")
Kindly provide the possible help on the same.
Regards,
Bhawna Goel