Skip to content

Instantly share code, notes, and snippets.

@moyashi
Last active May 1, 2020 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moyashi/abfef2da9a6a18d8140c10ece1cf2fdd to your computer and use it in GitHub Desktop.
Save moyashi/abfef2da9a6a18d8140c10ece1cf2fdd to your computer and use it in GitHub Desktop.
ドン・キホーテのNANOTE用AutoHotkeyスクリプト
; NANOTE用定義
#Include IME.ahk
; IME.ahkはここの089.zipから入手可能
; http://lukewarm.s101.xrea.com/up/index.php
;---------------------------
;左Shift+SpaceでIMEのトグル
<+Space::
if IME_GET()
{
IME_SET(0)
}
else
{
IME_SET(1)
}
;---------------------------
;マウスボタンをIME ON/IME OFFに
LButton::IME_SET(0)
RButton::IME_SET(1)
;---------------------------
;Alt+QでAlt+Tabを入力
!q::!tab
;---------------------------
;F1~F4をマウスボタンに
f1::WheelUp ;F1→スクロールアップ
f2::LButton ;F2→左ボタン
f3::RButton ;F3→右ボタン
f4::WheelDown ;F4→スクロールダウン
;---------------------------
;Winキーとの組み合わせを特定機能のランチャーに
#h::Run Chrome
#t::Run http://hitoriblog.com/
#z::Run www.autohotkey.com
;---------------------------
;スニペット展開
;例)「;h3→<h3></h3>」
:*:;h3::<h3></h3>{left 5}
:*:;h4::<h4></h4>{left 5}
:*:;ul::<ul>{return}<li></li>{return}</ul>{left 11}
:*:;ol::<ol>{return}<li></li>{return}</ol>{left 11}
:*:;li::<li></li>{left 5}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment