AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AutoHotKey doesn't start automatically at Windows startup

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Jedi Kalimero



Joined: 18 May 2005
Posts: 3

PostPosted: Tue May 31, 2005 10:02 am    Post subject: AutoHotKey doesn't start automatically at Windows startup Reply with quote

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
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Tue May 31, 2005 11:15 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
niwi



Joined: 27 Feb 2005
Posts: 128
Location: Heidelberg, Germany

PostPosted: Fri Jun 03, 2005 5:43 pm    Post subject: Reply with quote

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 Sad 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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group