Get help with using AutoHotkey and its commands and hotkeys
Posts: 299
Joined: 05 Dec 2016, 01:51


29 Dec 2018, 08:23


In the documentation for RegisterCallback() there is this example:

Code: Select all

EnumAddress := RegisterCallback("EnumWindowsProc", "Fast")
DllCall("EnumWindows", Ptr, EnumAddress, Ptr, 0)  ; Pass control to EnumWindows(), which calls the callback repeatedly
MsgBox %Output%  ; Display the information accumulated by the callback.
My question is, what is the best way to allow execution to continue immediately after the DllCall, instead of waiting for all callbacks to complete? Should I use a timer?


Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], FrancoisM, hasantr, JoeWinograd, sadasada, stcy00, teeedubb and 68 guests