「GetKeyState.exe(キー状態取得実行ファイル)」の版間の差分

Sukemaru (トーク | 投稿記録)
Pizz (トーク | 投稿記録)
67行目: 67行目:
var shift = wshShell.Run("GetKeyState.exe shift", 0, true);
var shift = wshShell.Run("GetKeyState.exe shift", 0, true);


if(shift == -1) window.Quit();
if(shift != -1){
if(shift == 1) window.Alert("Shiftキーが押されています");
  if(shift == 1) window.Alert("Shiftキーが押されています");
}
</source>
</source>


94行目: 95行目:
   window.Alert( "修飾キーは押されていません" );
   window.Alert( "修飾キーは押されていません" );
</source>
</source>


= その他 =
= その他 =
スポンサーリンク