#cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.14.2 Author: myName Script Function: Template AutoIt script. #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here $array = ProcessList("MatchID 2D.exe") ;$iPID = $array[1][1] ;$sProcess = $iPID ;PID number for test process name Send("array: ") Send( $array) Send("{ENTER}") ;Send("iPID: ") ;Send($iPID) ;Send("{ENTER}") ;Send("sProcess: ") ;Send($sProcess) ;Send("{ENTER}")