Surfece4キーボードでのAutoHotKey設定メモ(多少 Mac風)
Surface4を快適に使うための個人的なメモ。 AutoHotKeyの設定。
;; キーの凡例 ;Shift + Shift ;Ctrl ^ Control (Ctrl) ;Alt ! Alt ;Win # ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Windows10の仮想デスクトップの移動 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; CTL+右矢印で次のウィンドウ ^Right::send {LWin down}{LCtrl down}{Right}{LWin up}{LCtrl up} ;; CTL+左矢印で前のウィンドウ ^Left::send {LWin down}{LCtrl down}{Left}{LWin up}{LCtrl up} ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; タッチパッドの4本指スワイプで仮想デスクトップの右と左を移動 ;; https://www.wptutor.io/misc/windows-virtual-desktop-swipe-gestures ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; swipeDirection := "" ^!Tab:: swipeDirection := "L" return ^!+Tab:: swipeDirection := "R" return $Enter:: if (not swipeDirection) { SendInput {Enter} } else if (swipeDirection = "L") { SendInput ^#{Left} } else if (swipeDirection = "R") { SendInput ^#{Right} } swipeDirection := "" return ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Surface4 Proキーボードでなくなった右FNの代わりに、アプリケーションキーを使用 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; あんまりつかわないので、アプリケーションキー(右クリックメニュー)単体は無効 AppsKey:: AppsKey Up:: return ; 「FN+←」の代わりに「アプリケーションキー+← 」でHome AppsKey & Right:: If GetKeyState("shift") Send +{End} else Send {End} Return ; 「FN+→」の代わりに「アプリケーションキー+→ 」でEnd AppsKey & Left:: If GetKeyState("shift") Send, +{Home} else Send, {Home} Return ;アプリケーションキー+↑でPageUp AppsKey & Up::Send, {PgUp} ;アプリケーションキー+↓でPageDown AppsKey & Down::Send, {PgDn} ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; その他 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;(Mac風)アプリケーションキーとBackSpaceでデリートボタン AppsKey & Backspace::Send, {Delete} ;; CTL+Hでバックスペース、CTL+DでDELETE、CTL+Nで下、CTL+Pで上 ^h::Send {Backspace} ^d::Send {Delete} ^n::Send {Down} ^p::Send {Up} ;; CTL SPACEで、ALT TAB LControl & Space::AltTab ;;;;執筆の時だけ使用 ;^f::Send {Right} ;^b::Send {Left} ;^a::Send {Home} ;^e::Send {End}