Greetings, and thanks in advance for any help.
My experiments attempting to get ControlDisable to actually disable a control have been a failure. So far, I’ve only tried this on Notepad, but, although Notepad is grayed out, it still takes input during my sleep interval (the input is gray as well) and when I run ControlEnable a few seconds later, the text becomes black. It’s a little amusing, but I must be using ControlDisable incorrectly.
My experiments attempting to get ControlDisable to actually disable a control have been a failure. So far, I’ve only tried this on Notepad, but, although Notepad is grayed out, it still takes input during my sleep interval (the input is gray as well) and when I run ControlEnable a few seconds later, the text becomes black. It’s a little amusing, but I must be using ControlDisable incorrectly.
[ autoit ]
Run ("notepad.exe") WinWait ("Untitled") ControlDisable("Untitled", "", 15) Sleep (10000) ControlEnable("Untitled", "", 15)