1

I tried to create simple .ahk script for remapping RightControl on AppsKey (win context menu). I've just put RCtrl::AppsKey in file.
It's working after I launch it, but it doesn't automatically start with Windows. I tried it with AllUsers\..\Startup and CurrentUser\..\Startup, but none of them did the job.

Could anyone help me? Thanks in advance.

4

2 回答 2

3

您是否尝试将其他文件复制到您的启动文件夹中?它适用于其他文件吗?您的问题很可能与 AutoHotkey 没有直接关系。

您可以尝试的另一件事是注册表中的启动条目。只需将此行放入您的脚本并运行一次:

RegWrite, REG_SZ, HKCU, Software\Microsoft\Windows\CurrentVersion\Run, %A_ScriptName%, %A_ScriptFullPath%
于 2015-09-07T17:26:14.120 回答
0

解决方法:把autohotkey脚本放到windows scheduler,优先级高。这个对我有用。

于 2015-09-08T23:22:32.290 回答