I also made it so that whenever my AHK scripts are deactivated, it will show me a tooltip in the upper left corner, saying: "HOTKEYS-ARE-SUSPENDED"
It works flawlessly. It helps me to be able to write without accidentally activating any AHK scripts while writing.
But the tooltip is too small to see for me, so I searched for a way to make it bigger. I found lexikos' "ToolTipFont / ToolTipColor - options for the ToolTip command" script:
https://www.autohotkey.com/boards/viewtopic.php?f=6&t=4777
It's an AHK script that can make the tooltip font bigger.
So I tried it with my script, and it works, it does make the tooltip bigger. However, then it doesn't suspend my hotkeys anymore!
Does anyone know what I can do?
Code: Select all
#IfWinActive ahk_exe Resolve.exe
{
Write_mode:=1
Tab::
if (Write_mode=0)
{
ToolTip
Write_mode:=1
}
else
{
ToolTipFont("s20", "Comic Sans MS")
ToolTipColor("Black", "White")
ToolTip, HOTKEYS-ARE-SUSPENDED, 0, 0
Write_mode:=0
}
DetectHiddenWindows, On
WM_COMMAND := 0x111
ID_FILE_SUSPEND := 65404
PostMessage, WM_COMMAND, ID_FILE_SUSPEND,,, %A_WorkingDir%\quick zoom.ahk ahk_class AutoHotkey
PostMessage, WM_COMMAND, ID_FILE_SUSPEND,,, %A_WorkingDir%\B = Back to last stop and play.ahk ahk_class AutoHotkey
PostMessage, WM_COMMAND, ID_FILE_SUSPEND,,, %A_WorkingDir%\TimeLineClick-master\TimelineClick.ahk ahk_class AutoHotkey
PostMessage, WM_COMMAND, ID_FILE_SUSPEND,,, %A_WorkingDir%\Ripple delete start to playhead.ahk ahk_class AutoHotkey
PostMessage, WM_COMMAND, ID_FILE_SUSPEND,,, %A_WorkingDir%\Ripple delete end to playhead.ahk ahk_class AutoHotkey
PostMessage, WM_COMMAND, ID_FILE_SUSPEND,,, %A_WorkingDir%\Change transition length.ahk ahk_class AutoHotkey
PostMessage, WM_COMMAND, ID_FILE_SUSPEND,,, %A_WorkingDir%\Create Cross Dissolve Transition.ahk ahk_class AutoHotkey
PostMessage, WM_COMMAND, ID_FILE_SUSPEND,,, %A_WorkingDir%\Change Cross Dissolve Transition to Smooth Cut transition.ahk ahk_class AutoHotkey
PostMessage, WM_COMMAND, ID_FILE_SUSPEND,,, %A_WorkingDir%\Change Cross Dissolve Transition to Dip to Color Dissolve Transition.ahk ahk_class AutoHotkey
Return
}