AutoHotkey Version 1.1.33.10

ソフトウェアホットキー

目次一覧

 状態:-  閲覧数:1,207  投稿日:2022-04-19  更新日:2023-12-12
ダウンロード / インストール / create a script file

起動と終了 / スクリプト変更 / 1 キー

2 キー / メソッド/ 最終的に


ダウンロード / インストール / create a script file

 閲覧数:235 投稿日:2022-04-19 更新日:2022-04-19

ダウンロード


AutoHotkeyの「Download Current Version」ボタンをクリックします。



インストール


1.「AutoHotkey_1.1.33.10_setup.exe」をクリックします。

2.「Express」ボタンをクリックします。
デフォルトでは下記にインストールされます。
C:\Program Files\AutoHotkey

create a script file


1.「Welcome」画面内にある「create a script file」リンクをクリックします。
Welcome...

Getting Started
Before AutoHotkey can do anything, you need to write a script telling it what to do.
To learn how, read the tutorial or dive straight in.

Basically: create a script file → add some hotkeys → run the script file.

You can also get help or find many useful scripts on our friendly discussion forum ¬.

Why am I seeing this?
You ran AutoHotkey without telling it which script file to run, and it couldn't find a script in either of the usual places.

b. How to create a script

Once you have AutoHotkey installed, you will probably want it to do stuff. AutoHotkey is not magic, we all wish it was, but it is not. So we will need to tell it what to do. This process is called "Scripting".

Text instructions:
1.Right-Click on your desktop.
2.Find "New" in the menu.
3.Click "AutoHotkey Script" inside the "New" menu.
4.Give the script a new name. It must end with a .ahk extension. For example: MyScript.ahk
5.Find the newly created file on your desktop and right-click it.
6.Click "Edit Script".
7.A window should have popped up, probably Notepad. If so, SUCCESS!
So now that you have created a script, we need to add stuff into the file. For a list of all built-in commands, function and variables, see section 5.

Here is a very basic script containing a hotkey which types text using the Send command when the hotkey is pressed:
^j::
Send, My First Script
return
S↓


We will get more in-depth later on. Until then, here's an explanation of the above code:
◦The first line: ^j:: is the hotkey. ^ means Ctrl, j is the letter J. Anything to the left of :: are the keys you need to press.
◦The second line: Send, My First Script is how you send keystrokes. Send is the command, anything after the comma (,) will be typed.
◦The third line: return. This will become your best friend. It literally stops code from going any further, to the lines below. This will prevent many issues when you start having a lot of stuff in your scripts.

8.Save the File.
9.Double-click the file/icon in the desktop to run it. Open notepad or (anything you can type in) and press Ctrl and J.
10.Hip Hip Hooray! Your first script is done. Go get some reward snacks then return to reading the rest of this tutorial.

For a video instruction, watch Install and Hello World ¬ on YouTube.

3.スクリプトを作成します。
今回は「ctrlv.ahk」ファイル」を作成後、デスクトップへ配置しました。

起動と終了 / スクリプト変更 / 1 キー

 閲覧数:262 投稿日:2022-04-21 更新日:2022-05-15

起動と終了


起動
作成した「.ahkファイル」をダブルクリックすると(それ以降)、AutoHotkeyスクリプトが実行されます。

終了
トレイバーの緑色のHのアイコンを右クリックして、終了を選択すると、スクリプトが停止します。

スクリプト変更


変更した「.ahkファイル」をダブルクリックすると、ポップアップ表示されます。
そこで「はい(Y)」を押すと、既存スクリプトが終了し、変更したAutoHotkeyスクリプトが新しく実行されます。

1 キー


一覧表
キー コード 備考
Shift + -
Ctrl ^ -
Alt ! -
Win # -
無変換 sc07B -
V v -


2 キー / メソッド/ 最終的に

 閲覧数:234 投稿日:2022-04-21 更新日:2022-05-15

2 キー


一覧表
キー コード 備考
「Ctrl」キーを押しながら「無変換」キー ^sc07B -
「Ctrl」キーを押しながら「V」キー ^v -
Alt ! -
Win # -
無変換 sc07B -
ホットキー





メソッド


一覧表
日本語 コード 備考
ファイルコピー FileCopy -
ファイル移動 FileMove -
Alt ! -
Win # -
無変換 sc07B -

最終的に


2022 年 5 月 15 日
意図した通り動作、制御できなかったので、使用を諦め、アンインストールました……。


Microsoft公式ページ「キーボードのホット キーを再割り当てする方法」に掲載されている「マウス キーボード センター」は、Microsoft マウス キーボード使用が前提



週間人気ページランキング / 4-18 → 4-24
順位 ページタイトル抜粋 アクセス数
1 MP3ファイルの「プロパティ」を変更できない | Windows 10(Windows) 68
2 3.解凍先の指定。デフォルト設定ではデスクトップに解凍 29
2 Audacity で再生ボタンを押しても音が鳴らない時は、再生レべルスライダーを右にドラッグして「再生レべル:100%」にします。 | Audacity(音) 29
3 タスクスケジューラ | Windows 10(Windows) 24
4 「Audacity」で複数ファイルへ対する一括変換対応について | Audacity(音) 21
5 フォルダウィンドウの「戻る」「進む」矢印ボタンが表示されなくなった | Windows7(Windows) 18
6 Windows 0 17
7 「VLC media player」で動画再生した際、動きが大きくなるにつれて横シャギーが入ったように横線が表示される場合には、「デインターレース」設定を「オン」へ変更します。 | VLC media player(ソフトウェア) 13
7 VLC media player で複数曲を「繰り返し連続再生する」ためには、プレイリスト全体をリピート再生指定する | VLC media player(ソフトウェア) 13
7 コマンドプロンプトでchkdsk /B | ハードディスクトラブル(ハードウェア) 13
8 ctfmon.exe – Unknown Hard Error | フリーズトラブル 2021年 (Windows) 11
8 「タイムゾーン間で同期」にはチェックを入れない 11
9 ファイル名の一部(指定文字列)を削除するバッチファイル | バッチファイル(Windows) 9
9 MP3ファイルの無音部分を自動検出して、「分割」もしくは「削除」するフリーソフト … mp3DirectCut | mp3DirectCut(音) 9
9 三菱東京UFJ銀行(インターネットバンキング) カテゴリー 9
10 これまで正常動作していた「CrystalDiskInfo」である日突然「対応ディスクが見つかりませんでした」と表示された場合は、アップデートしてみます。 | CrystalDiskInfo(ソフトウェア) 8
10 「Chromeのユーザー1」を削除。ブックマークを復活させるためには、「Bookmarks.bak」を「Bookmarks」へリネーム後、「Profile 1」フォルダへ上書き配置 | Google Chrome(ソフトウェア) 8
10 Xboxを使用していない場合、XblGameSaveを動作させる必要は全くない 8
10 「Windows 10」へインストールした「Audacity 3.2.4」で「.aacファイル」を読み込み、音量を大きく変換後、「.waveファイル」として出力する。 | Audacity(音) 8
11 保存すると、.BAKというファイルが勝手にできてしまう | 秀丸エディタ(ソフトウェア) 7
2024/4/25 1:01 更新