Ich hab hier mal schnell was geschrieben in AHK
Mit F4 wird es deaktiviert und wieder aktiviert. Rechte Maustaste ist Fold, Mitte ist push. Bloß automatisch checken geht nicht, weil das der gleiche hotkey wie callen ist in der tollen software.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
;LButton - the left mouse button
;RButton - the right mouse button
;MButton - the middle or wheel mouse button
;WheelDown - this is equivalent to rotating the mouse wheel down (toward you)
;WheelUp - the opposite of the above
;XButton1 - a button that appears only on certain mice
;XButton2 - a button that appears only on certain mice
Settitlematchmode, 2
F4::
Suspend
if A_IsSuspended = 1
msgbox, Hotkeys deaktiviert!
if A_IsSuspended = 0
msgbox, Hotkeys aktiviert
return
;Fenser resizen
F5::
WinMove, No-limit Texas, , 50, 50 , 607, 472,,
sleep, 100
MouseMove, 555, 438 , 1
return
;FOLD
RButton::
MouseGetPos, winX, winY, winID, OutputVarControl
ControlSend , , {F1}, ahk_id %winID%
return
;ALLIN
MButton::
MouseGetPos, winX, winY, winID, OutputVarControl
ControlSend , , 99999, ahk_id %winID%
ControlSend , , {F3}, ahk_id %winID%
return