The GCHQ Christmas Challenge 2024
gchq.gov.uk3 pointsby dattiimo1 comments
;; Text–only paste from ClipBoard
;; (https://autohotkey.com/board/topic/10412-paste-plain-text-and-copycut/)
;; ctrl + shit + v
^+v::
Clip0 = %ClipBoardAll%
ClipBoard = %ClipBoard% ; Convert to text
Send ^v ; For best compatibility: SendPlay
Sleep 150 ; Don't change clipboard while it is pasted! (Sleep > 0)
ClipBoard = %Clip0% ; Restore original ClipBoard
VarSetCapacity(Clip0, 0) ; Free memory
Return
[Edit: tried to fix formatting]
I've used an auto hotkey script for years that has served me perfectly. I press my shortcut modifier (the right Alt key) and then the letter of the app I want to switch to. For example, Right Alt + C will switch to my code editor VS Code. Right Alt + T will switch to MS Teams.
Repeating key presses will switch through all instances of that app so Right Alt + C, C, C will switch to the third open VS Code window.
The top row can be temporarily assigned to any open window for using on windows I have open that I'm switching to frequently but only while I have work in progress.
The scripts are at https://github.com/dattiimo/ahk-scripts for anyone interested.