| View previous topic :: View next topic |
| Author |
Message |
Jedi Kalimero
Joined: 18 May 2005 Posts: 3
|
Posted: Tue May 31, 2005 10:02 am Post subject: AutoHotKey doesn't start automatically at Windows startup |
|
|
I've added AutoHotKey to the start group and its icon [H] appears in the traybox, but sometimes it doesn't seem to work. I try any of the HotKeys I've defined and no way.
If I go to the icon and select "Reload this Script", then everything starts working correctly. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Tue May 31, 2005 11:15 am Post subject: |
|
|
Could be some kind of rare startup issue where the script starts up before the system is ready to give it what it needs. You could try adding the following to the top of the script:
Suspend On
Sleep 10000 ; 10 seconds to wait for system to finish starting.
Suspend Off
Does anyone else experience this on their system?
Edit: Fixed typo.
Last edited by Chris on Fri Jun 03, 2005 7:01 pm; edited 1 time in total |
|
| Back to top |
|
 |
niwi
Joined: 27 Feb 2005 Posts: 128 Location: Heidelberg, Germany
|
Posted: Fri Jun 03, 2005 5:43 pm Post subject: |
|
|
Hi,
no, I haven't seen this before. I have one computer which starts an AHK script on startup (the computer has an auto-logon). I never had this problem yet.
How ever, Windows XP displays the gui and allows user programs to be startet even if not all systems are running My script tries to start an ftp call but failed because of some services. A sleep command is a work around.
NiWi. |
|
| Back to top |
|
 |
|