2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

AutoHotKeyを起動時に自動で立ち上げる

Posted at

AutoHotKeyって便利ですよね。
Wineodowsの起動時に自動でスクリプトが走ってくれたらもっと便利ですよね。

結論としては作成した.ahkファイルのショートカットファイルを以下に配置しちゃいましょう。
C:\Users\{ユーザー名}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

おまけ(自分が使用するスクリプト)

  • テキスト入力のショートカット入力を作成しておく
InsertText(Content) {
    cb_bk = %ClipboardAll%
    Clipboard = %Content%
    Send, ^v
    Sleep, 200
    Clipboard = %cb_bk%
}

::cddoc::
InsertText("cd C:\Users\{ユーザー名}\Documents")
return
2
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?