Ich migriere meine Mac-Workflow zu Windows. Eine Sache, ohne die ich nicht leben könnte, ist der Hyperkey, der eine Kombination aus Ctrl
+ Option
+ Shift
+ Cmd
ist. Ich benutze Karabiner App, Capslock
zu diesem Schlüssel neu zuordnen. Ich habe gehört, dass Autohotkey ist ein Karabiner Alternative für Windows. Könnt ihr mir bitte helfen, diese Funktion in Windows zu emulieren?Wie emphiere ich Hyperkey in Windows 10 mit autohotkey
Mein ideales Ergebnis ist:
- deaktivieren
Capslock
vollständig, weil ich diese selten - Toggle verwenden
Capslock
wirdESC
Schlüssel Capslock
wird durchführen Halten Sie führenCtrl
+Alt
+Shift
+Windows
. Zum BeispielCapslock + C
wirdCtrl+Alt+Shift+Windows+C
sein
Vielen Dank im Voraus!
Das folgende ist mein Versuch mit ahk Skript, aber es hat nicht funktioniert :(
;-----------------------------------------
; hyper key for windows
;=========================================
; --------------------------------------------------------------
; notes
; --------------------------------------------------------------
; ! = alt
;^= ctrl
; + = shift
; # = lwin|rwin
;
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#UseHook
#InstallKeybdHook
#SingleInstance force
SendMode Input
;; deactivate capslock completely
SetCapslockState, AlwaysOff
;; remap capslock to hyper
Capslock::
SendInput {Blind}{Ctrl Down}{Alt Down}{Shift Down}{LWin Down}
return
Capslock up::
SendInput {Blind}{Ctrl Up}{Alt Up}{Shift Up}{LWin Up}
return
;; vim navigation with hyper
^!+#h:: SendInput {Blind}{Left}
^!+#h up:: SendInput {Blind}{Left Up}
^!+#l:: SendInput {Blind}{Right}
^!+#k:: SendInput {Blind}{Up}
^!+#j:: SendInput {Blind}{Down}
;; popular hotkeys with hyper
^!+#c::^c
^!+#v::^v
keine Programmiersprache Frage -.?. try [su] –
@PaulR tks für mich deutete auf dieser Website werde ich die gleiche Frage schreiben, obwohl ich ** Autohotkey Skript gedacht ** ist auch eine Art von Programmiersprache – babygau
Ich denke, es könnte sein eine Programmierfrage, wenn Sie versucht haben, ein Autohotkey-Skript zu schreiben und es nicht funktionierte. In diesem Fall würden Sie das nicht funktionierende Skript hier posten und um Hilfe bitten, es zu beheben. Aber so wie es aussieht, liest sich die Frage eher wie ein allgemeines Benutzerlevel-Problem, d. H. "Wie mache ich X mit Software Y?". –