Advertisement · 728 × 90
#
Hashtag
#HotIf
Advertisement · 728 × 90

On LinkedIn @wynhopkins.bsky.social mentioned the absence of a button/shortcut for CENTRE ACROSS SELECTION in #Excel. So here's the #AHK v2 code to do it:

#HotIf WinActive("ahk_exe EXCEL.EXE")
+#c::
{
xl := ComObjActive("Excel.Application")
sel := xl.Selection
sel.HorizontalAlignment := 7
}
#HotIf

0 0 1 0

Wenn ich aus

#HotIf WinActive("Diablo IV")
WheelUp::Send, {F}
return
WheelDown::Send, {F}
return
}

dann

#HotIf WinActive("Diablo IV")
WheelUp::Send("f")
WheelDown::Send("f")
#HotIf

mache geht's. Puh ey. Was hab ich blöd gesucht. 🙈

0 0 1 0

; chrome系でたまに ctrl+w が効かないことがあるので
#HotIf WinActive("ahk_class Chrome_WidgetWin_1")
    ^w::^F4
#HotIf

0 0 0 0

OMG I can put AutoHotKey hotstrings in #HotIf directives! This changes EVERYTHING

0 0 0 0