Quantcast
Channel: Total Commander
Viewing all articles
Browse latest Browse all 3808

Total Commander (English) • Re: Launch program only when key is released

$
0
0
Autorun beta (Installation)
"%COMMANDER_PATH%\Plugins\wdx\Autorun\autorun.cfg:

Code:

LoadLibrary Plugins\Autorun_Tweaks.dllLoadLibrary Plugins\Autorun_Runtime.dllSetHotKeyAction /H:ENTER /S EnterFunc Enter   If WinFind(0, '#32768') Or WinGetFocusedCtrl(AUTORUN_TCHANDLE) <> RequestInfo(3) Or MainMenuFocus() Then Return -1   SendCommand 1001EndFuncFunc MainMenuFocus   Static MBI = Buffer(auPtrSize*4 + 16)   MBI.Zero()   MBI.SetNum(0, "int", MBI.Size)   DllCall("GetMenuBarInfo", "hwnd", ACTIVE_WINDOW, "ulong", 0xFFFFFFFD, "long", 0, "ptr", MBI.Ptr)   Return BitAND(MBI.GetNum(auPtrSize*3 + 16), 1)EndFunc

Statistics: Posted by Fla$her — 2025-03-15, 10:33 UTC



Viewing all articles
Browse latest Browse all 3808

Trending Articles