AutoHotkey Community

It is currently May 27th, 2012, 12:47 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: April 5th, 2010, 1:02 am 
Hi,

I'm trying to make my script start up with windows, and I'm having some troubles:

1. How can I enable or disable whether it starts up by checking or unchecking a checkbox?! This has been frustrating me for hours!

2. What registry key/folder should I put a startup link in to ensure it starts up on ALL versions of Windows (XP, Vista & 7). Code? :)


Thnx a lot!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 5th, 2010, 2:26 am 
Offline

Joined: August 21st, 2006, 7:07 pm
Posts: 2925
Location: The Shell
In xp this key will add a startup executable.
Code:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
As always, backup your registry before editing it!!

_________________
Imageparadigm.shift:=(•_•)┌П┐RTFM||^.*∞


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 5th, 2010, 2:51 am 
Offline

Joined: December 21st, 2008, 7:29 pm
Posts: 181
Alternatively you can create a shortcut to your program in %A_StartMenu%\Programs\Startup (for current user) or %A_StartMenuCommon%\Programs\Startup (for all users).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 5th, 2010, 6:38 am 
Thanks, but which one of these will definitely work on every OS?


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: chaosad, jrav, MSN [Bot] and 22 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group