I'm trying to assign INI keys values (well a specific one) into variables so I can try and match a Window from it. I've tried a few different methods but I'm just not able to put it all together and was hoping to get some assistance.
Forget to mention the Type Key in the ini looks something like: Type=Payroll,Office,Admin
Here is what I have to obtain the key values. It works in obtaining the values, but I'm unsure how to assign each value to a new variables so I can use that to match a Window.
After the Key Values are assigned I was hoping I could do something like:
IfWinNotActive,%KeyVALUE1% OR %KeyVALUE2%, , WinActivate,%KeyVALUE1% OR %KeyVALUE2%, ;Which ever one it found
winWaitActive, %KeyVALUE1% OR %KeyVALUE2%,,10