I'm visually impaired and find I have to swap between High Contrast Theme and a standard theme using NegativeScreen. The key grab for swapping to/from High Contrast mode is <shift><alt>PrintScrn. I wanted to map a hotkey to something closer to NegativeScreen hot keys (and something easier to grab). So the Windows key + Alt + b.
I can't seem to get Send or SendInput to work. Any ideas?
The script -
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; switch to/from high contrast easier
#!b::
;Send {Shift down}
;Send {Alt down}
SendInput !+{PrintScreen}
;Send {Alt up}
;Send {Shift up}
MsgBox "Sent it rev5"
return
Keith