User Tools

Site Tools


autohotkey_recipes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
autohotkey_recipes [2015/04/12 15:52] tkbletscautohotkey_recipes [2017/10/23 20:00] (current) tkbletsc
Line 22: Line 22:
 #^Escape::Edit #^Escape::Edit
  
-; Win+Backtick = Sleep +; Win+F12 = Sleep 
-#`::DllCall("PowrProf\SetSuspendState", "int", 0, "int", 0, "int", 0)+#F12::DllCall("PowrProf\SetSuspendState", "int", 0, "int", 0, "int", 0)
  
 ; Win+M = toggle mute ; Win+M = toggle mute
 #m::Send {Volume_Mute} #m::Send {Volume_Mute}
 +
 +; Alt+Backtick -> Shift+Win_Right (move window to next monitor) -- a shortcut I used on Ultramon for years
 +!`::Send +#{Right}
 +
 +
 +</file>
 +
 +===== Hold down any key =====
 +<file>
 +; do right win key + whatever to hold that key down (if it's listed below)
 +>#w::Send {w down}
 +>#a::Send {a down}
 +>#s::Send {s down}
 +>#d::Send {d down}
 +>#LButton::Send {LButton down}
 +>#MButton::Send {MButton down}
 +>#RButton::Send {RButton down}
 +>#q::Send {q down}
 +>#e::Send {e down}
 </file> </file>
  
Line 130: Line 149:
  
 ===== Winkey shortcut overrides ===== ===== Winkey shortcut overrides =====
-Windows by default binds Win+X, Win+B, and Win+Space to stuff I don't care about.  The script below will remap these to Win+Ctrl+<key>, which you can bind to apps without issue.+Windows by default binds Win+X, Win+B, and Win+Space to stuff I don't care about.  The script below will remap these to media keys or other key combos that apps can hook without issue.
 <file> <file>
 ; WinAmp+Launchy remaps ; WinAmp+Launchy remaps
-#x::#^+#z::Media_Prev 
-#b::#^+#x::Media_Play_Pause 
-#space::^#Space+#c::Media_Play_Pause 
 +#v::Media_Stop 
 +#b::Media_Next 
 +#space::Send ^+{Space
 +; ^ Win+Space -> Ctrl+Shift+Space 
 + 
 +; old simple winamp remaps -- the newer ones above let it work for non-winamps, such as spotify 
 +;#x::#^x 
 +;#b::#^b
 </file> </file>
 ===== Auto mouse ===== ===== Auto mouse =====
Line 190: Line 217:
 #IfWinActive #IfWinActive
 </file> </file>
 +
 +
 ===== Suppress F1 in Explorer, Word, and Excel ===== ===== Suppress F1 in Explorer, Word, and Excel =====
 The code below will replace the annoying help popup with a low-pitched beep.  Change "SoundBeep..." to "Return" for silent operation. The code below will replace the annoying help popup with a low-pitched beep.  Change "SoundBeep..." to "Return" for silent operation.
autohotkey_recipes.1428879158.txt.gz · Last modified: by tkbletsc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki