I use a foreach statements in TCL code, but have not figured out how to perform that process in Autoit. What I want to do is have a program which when a process starts, that the program will be able to act on it. but I want to use a list of programs to watch for.
TCL Code
proc AppProcessCheck {} {
SetErrorMode resume
SetTimeout 50msec
global _SSOERR
CloseWindows "*Internet Explorer*"