mr-es335 Posted March 17 Posted March 17 Good day, I, and others it would appear, are having issues with BlockInput($BI_DISABLE) and logging-in|signing-in! Here is my script: ; ----------------------------------------------- ; 3/17/2026 8:49:23 AM ; ----------------------------------------------- #RequireAdmin ; ----------------------------------------------- #include "ExtMsgBox.au3" ; ----------------------------------------------- Opt("MustDeclareVars", 1) ; ----------------------------------------------- Global $iEMBWidth = 540 Global $iMsgDelay = 2 ; ----------------------------------------------- On_SignInNotice() ; ----------------------------------------------- Func On_SignInNotice() Local $sMsg = "Continuing with Procedure 2_GR5..." & @CRLF & _ "[All keyboard and mouse activity will be disabled!]" ; ----------------------------------------------- _ExtMsgBoxSet(64, 4, Default, Default, 16, "Corbel Bold", $iEMBWidth) ; --------------------- BlockInput($BI_DISABLE) ; --------------------- _ExtMsgBox(48, " ", " WARNING!", $sMsg, $iMsgDelay) EndFunc ;==>On_SignInNotice ; ----------------------------------------------- I HAVE tried many of the provided solution...ALL without success! Any ideas? mr-es335 Sentinel Music Studios
mr-es335 Posted March 17 Author Posted March 17 Hhhhmmmm.... This appears to work?!? expandcollapse popup; ----------------------------------------------- ; 3/17/2026 8:49:23 AM ; ----------------------------------------------- #RequireAdmin ; ----------------------------------------------- #include "ExtMsgBox.au3" ; ----------------------------------------------- Opt("MustDeclareVars", 1) ; ----------------------------------------------- Global $iEMBWidth = 540 Global $iMsgDelay = 2 ; ----------------------------------------------- On_SignInNotice() ; ----------------------------------------------- Func On_SignInNotice() Local $sMsg = "Continuing with Procedure 2_GR5..." & @CRLF & _ "[All keyboard and mouse activity will be disabled!]" ; ----------------------------------------------- _ExtMsgBoxSet(64, 4, Default, Default, 16, "Corbel Bold", $iEMBWidth) ; --------------------- ;~ BlockInput($BI_DISABLE) ; --------------------- _ExtMsgBox(48, " ", " WARNING!", $sMsg, $iMsgDelay) Block_Me() EndFunc ;==>On_SignInNotice ; ----------------------------------------------- Func Block_Me() Local $sMsg = "Continuing with Procedure 2_GR5..." & @CRLF & _ "[All keyboard and mouse activity will be enabled!]" BlockInput($BI_DISABLE) Sleep(4000) _ExtMsgBoxSet(64, 4, Default, Default, 16, "Corbel Bold", $iEMBWidth) BlockInput($BI_ENABLE) _ExtMsgBox(48, " ", " WARNING!", $sMsg, $iMsgDelay) EndFunc ;==>Block_Me ; ----------------------------------------------- mr-es335 Sentinel Music Studios
Solution mr-es335 Posted March 17 Author Solution Posted March 17 (edited) ..this seems to have resolved the issue: ; ----------------------------------------------- ; 3/17/2026 8:49:23 AM ; ----------------------------------------------- #RequireAdmin ; ----------------------------------------------- #include "ExtMsgBox.au3" ; ----------------------------------------------- Opt("MustDeclareVars", 1) ; ----------------------------------------------- Global $iEMBWidth = 540 Global $iMsgDelay = 2 ; ----------------------------------------------- On_SignInNotice() ; ----------------------------------------------- Func On_SignInNotice() Local $sMsg = "Continuing with Procedure 2_GR5..." & @CRLF & _ "[All keyboard and mouse activity will be disabled!]" ; ----------------------------------------------- _ExtMsgBoxSet(64, 4, Default, Default, 16, "Corbel Bold", $iEMBWidth) _ExtMsgBox(48, " ", " WARNING!", $sMsg, $iMsgDelay) ; --------------------- MouseMove(950, 540, 0) ;<====| BlockInput($BI_DISABLE) ;<====| Update to this section!!! Sleep(1000) ;<====| For testing only! EndFunc ;==>On_SignInNotice ; ----------------------------------------------- Edited March 17 by mr-es335 mr-es335 Sentinel Music Studios
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now