I'm trying to close a calculator window and I've tried a half a dozen different ways using class and various title/text combinations, nothing seems to work.
Here are a few of the things I've tried *with and without #requireadmin*
Run("Calc")
WinClose("Calculator")
Run("Calc")
WinClose("Calculator", "0")
Run("Calc")
WinClose("Calculator", "")
Run("Calc")
WinClose("[class:CalcFrame]")
Run("Calc")
WinClose("[CLASS:#32770; INSTANCE:1]")
I suppose I could try other methods like PID and other things that I've seen in the help file but I want to find out what I'm doing wrong here. Any suggestions ?
Any help would be much appreciated. I'm running windows 7.