I am currently working on an automation project that involves using PowerShell and AutoIT to automate a process. I’m using PS whenever possible but there are certain things like GUI manipulation that AutoIT really excels at.
My question is what are some ways in which I can essentially have these two languages talk to each other? For instance, I run a PS script that executes several user defined functions then calls an AutoIT exe to do some GUI manipulation. The main PS script then needs a way to determine when (or if) the AutoIT process has completed so that the PS script can continue.
Should I do something crude like create temp files based on the status of various steps? Is there a better way?
Apologies if this was too basic of a question. I am a beginner with PowerShell and not a programmer by trade.
Thanks in advance,