and 1 more way09KR0058 wrote: ↑15 Apr 2016, 14:14After spending WAY too much time on this, I found a better way. Just add the following registry key. (This is Windows 10 Professional 64-bit)
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run
New -> String Value
Name = AutoHotkey
Value = "C:\Program Files\AutoHotkey\AutoHotkey.exe"
All of the following locations did not work, but the one above did.
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
HKCU\Software\Microsoft\Windows\CurrentVersion\Run
C:\Users\(username)\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
Hopefully this post will save some people all the grief I've been through trying to find a simple way to get AHK to run at startup.
This is use with Task Schedule
I make 1 file StartupA.exe and tried put it in HKLM, HKCU, C:\user, C:\ProgramData, but only 1 way run my AHK when log on is Task Schedule.
or i make wrong in that so didn't run but it show in Task Manager. :sick: :sick: