I use IBM's AS400 Client Access software for work and over the last year or so have figured out how to connect to the session itself. This greatly simplifies sending and getting text as controlsend and clipget functions are not necessary. This will obviously be a little confusing to users who do not currently automate their AS400 tasks, but trust me it's much easier and infinitely more reliable using this method to send/get text. The below code is very rudimentary, I have offered it up so that s
Hi Guys,
Sorry replying on very old post. I want to launch the AS400 connection and pass the credentials. Below is the code I am using and telling to pass the userid and password on specific parameter. But we have lot of AS400's servers and cant have each file for one AS400 server. How can I read the position of the curson on username field and pass username and same for password.
Local $window = WinWaitActive("[CLASS:PCSWS:Main:00400000]","")
Local $AS400hwnd = WinGetHa