Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

ControlDisable issues

$
0
0
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.

[ autoit ]      
Run ("notepad.exe") WinWait ("Untitled") ControlDisable("Untitled", "", 15) Sleep (10000) ControlEnable("Untitled", "", 15)

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>