Cory Posted September 29, 2007 Report Share Posted September 29, 2007 Where is the preference “Run on Windows Startup” saved in the registry? I can't seem to find it. Quote Link to comment Share on other sites More sharing options...
kevin Posted September 29, 2007 Report Share Posted September 29, 2007 The 'Run on Windows Startup' setting is set from the shortcut in the Startup folder. On Windows XP it is in either C:\Documents and Settings\<user name>\Start Menu\Programs\Startup or C:\Documents and Settings\All Users\Start Menu\Programs\Startup . Windows Vista uses different folder locations. Quote Link to comment Share on other sites More sharing options...
Cory Posted September 29, 2007 Author Report Share Posted September 29, 2007 Working on Saturday eh? I know the startup folder bit. Wha I was looking for was in the prefernces there is an option for "Run on Windows Startup" checkbox followed be a "Program Paramters" section. I found the parameters but I cna't find the startup option. Quote Link to comment Share on other sites More sharing options...
Cory Posted September 29, 2007 Author Report Share Posted September 29, 2007 (edited) How do you make your code boxes so svelte? I just did one and the'yre huge. Like this: Test Edited October 2, 2007 by Cory Quote Link to comment Share on other sites More sharing options...
Cory Posted September 29, 2007 Author Report Share Posted September 29, 2007 Also if you could explain how tihs option in ME works it would be cool. Quote Link to comment Share on other sites More sharing options...
kevin Posted September 29, 2007 Report Share Posted September 29, 2007 If the startup shortcut exists, the checkbox is enabled in the preferences. If the startup shortcut does not exist, the checkbox is disabled. When you change the setting in 'Run on Windows Startup' it either deletes or creates the startup shortcut. Quote Link to comment Share on other sites More sharing options...
kevin Posted September 29, 2007 Report Share Posted September 29, 2007 Working on Saturday eh?For a few minutes. Quote Link to comment Share on other sites More sharing options...
kevin Posted September 29, 2007 Report Share Posted September 29, 2007 How do you make your code boxes so svelte? I just did one and the'yre huge.I dunno. I just make sure there aren't any blank lines or characters next to the code \code tags. Quote Link to comment Share on other sites More sharing options...
joe Posted September 29, 2007 Report Share Posted September 29, 2007 I know the startup folder bit. Wha I was looking for was in the prefernces there is an option for "Run on Windows Startup" checkbox followed be a "Program Paramters" section. I found the parameters but I cna't find the startup option. The parameter string in the Options->Preferences->Startup->Command Line Parameter field is placed within the shortcut link's Target field when the shortcut link is created. Is this what you mean? Quote Link to comment Share on other sites More sharing options...
Cory Posted October 1, 2007 Author Report Share Posted October 1, 2007 This answers my question. The weird bit is that when I couldn’t find a section I tested to see if the mechanism was to generate the file as described but it didn’t. I must have missed something. What is the mechanism for generating the shortcut files? Specifically when does it happen. In addition I would like to know what the contingency is for an existing shortcut. If, say, you change the command line parameter does it update the shortcut, generate a new one or what? Quote Link to comment Share on other sites More sharing options...
floyd Posted October 1, 2007 Report Share Posted October 1, 2007 What is the mechanism for generating the shortcut files? Specifically when does it happen. It happens when you click the Apply button in Options->Preferences->Startup. If you open the folder where the shortcut link is kept (see Kevin above) you can see the change take place. If you uncheck Run on Windows' Startup and click Apply, you will see the shortcut link disappear, and vice-versa. In addition I would like to know what the contingency is for an existing shortcut. If, say, you change the command line parameter does it update the shortcut, generate a new one or what? Same goes for changes to the Command Line Parameters field. The shortcut link will be rewritten. Quote Link to comment Share on other sites More sharing options...
Cory Posted October 1, 2007 Author Report Share Posted October 1, 2007 How about afterwards? What the user deletes the shortcut file, will ME recreate it? Also what if a file already exists with a special command line parameter already? I think I may have been barking up the wrong tree here. It sounds like it would be just as good a measaure to manage teh shortcuts themselves. Unless ME will recreate if it wakes up and sees it missing. Quote Link to comment Share on other sites More sharing options...
kevin Posted October 1, 2007 Report Share Posted October 1, 2007 What is the mechanism for generating the shortcut files? Specifically when does it happen.It happens when you click the Apply button in Options->Preferences->Startup. This is true after you enable the 'Run on Windows Startup' option. What the user deletes the shortcut file, will ME recreate it?No. The shortcut is the setting. Similarly, if the 'Run on Windows Startup' option is unchecked and the user creates a shortcut named 'Macro Express 3.lnk' outside of Macro Express, then the option will be enabled the next time you go into the Macro Express Preferences.Also what if a file already exists with a special command line parameter already?If it is named something different than 'Macro Express 3.lnk' then it will remain untouched by Macro Express. If it is named 'Macro Express 3.lnk' then Macro Express will overwrite it with the command line parameters defined in the preferences. Quote Link to comment Share on other sites More sharing options...
Cory Posted October 2, 2007 Author Report Share Posted October 2, 2007 Ah, this is exactly the kind of answer I was looking for but it doesn’t seem very useful as ME doesn’t appear to enforce the file existence after the fact. IOW if I check the box, close preferences, and manually delete the file ME will never recreate it. Since it doesn’t ‘stick’ and wants to add it to places like C:\Users\cory.CJ\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup which will differ from machine to machine I think it will be better to just manage the shortcut files and if necessary protect them with NTFS ACLs. Thansk guys! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.