キー連打を判定

 ~RControl::
   if (A_PriorHotkey <> "~RControl" or A_TimeSincePriorHotkey > 400)
   {
       ; Too much time between presses, so this isn't a double-press.
       KeyWait, RControl
       return
   }
   MsgBox キー連打した
   return
  • なお、先頭の~(チルダ)は以下の意味を持つ

チルダ - アンブロック

; 以下はaキーを押下すると、abが押下される

; すなわち、元のaの機能がブロックされない

a::Send, b

参考


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS

Last-modified: 2019-01-01 (火) 13:07:29