AutoPepe Posted May 7, 2009 Share Posted May 7, 2009 Software/scripts for modify windows registry I am looking for an intuitive script that can configurate for modifyng parts of the windows registry from outside. Mainly all I want is mark/unmark parts of msconfig.exe from the registry. Where are these keys ? I have various perfils in form of bat files. I would like to mark or unmark inside msconfig.exe before reiniatiate or close session. Thanks Excuse my language. I'm from Canary Islands Traducción AutoIt al Español. http://autoitespa.espanaforo.com/forum.htm . Visita el foro de AutoIt en español http://www.emesn.com/autoitforum/. I am a simple user, not a programmer. Link to comment Share on other sites More sharing options...
Zedna Posted May 7, 2009 Share Posted May 7, 2009 (edited) "C:\Program Files\AutoIt3\autoit.chm" RegRead Reads a value from the registry. RegWrite Creates a key or value in the registry.RegDelete Deletes a key or value from the registry. Edited May 7, 2009 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
MrMitchell Posted May 7, 2009 Share Posted May 7, 2009 MSConfig.exe gives you the registry locations at least for the Startup items. You already have batch files that do what you need with the registry and you just want to convert those into AutoIt? Link to comment Share on other sites More sharing options...
AutoPepe Posted May 7, 2009 Author Share Posted May 7, 2009 MSConfig.exe gives you the registry locations at least for the Startup items. You already have batch files that do what you need with the registry and you just want to convert those into AutoIt?I would like to mark or unmark the entries in the msconfig.exe . I supposed is not so simple and msconfig.exe writes several things into the registry and more because the bat files control several programs. I suppose AutoIt must know first what keys are altered by the bat to modify the registry. Traducción AutoIt al Español. http://autoitespa.espanaforo.com/forum.htm . Visita el foro de AutoIt en español http://www.emesn.com/autoitforum/. I am a simple user, not a programmer. Link to comment Share on other sites More sharing options...
Zedna Posted May 7, 2009 Share Posted May 7, 2009 I would like to mark or unmark the entries in the msconfig.exe . I supposed is not so simple and msconfig.exe writes several things into the registry and more because the bat files control several programs. I suppose AutoIt must know first what keys are altered by the bat to modify the registry.Use RegShot to identify changed keys.http://sourceforge.net/projects/regshot/ Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
AutoPepe Posted May 7, 2009 Author Share Posted May 7, 2009 I've "discovered" something may help to me. Really all I need is put into action some executable files that are (simply looking their position in the msconfig) in the startup folder. When I move one of this files and enter again executing the msconfig.exe the file dissapeared or appeared. So. Is enough for me to make a selection menu with this files. Where can i find a prefabricate menu of this type with six options or more selectable. Something like this : Multiple Startup Perfil for reinitiate 1. General 2. Work 3. email 4. Communications 5. Robot 6. Particular and with the possibility of execute one, two, more or all the options..... Multiple selection objetive. And the script simple to move or copy the files I need to the startup folder. Can you help me ? Traducción AutoIt al Español. http://autoitespa.espanaforo.com/forum.htm . Visita el foro de AutoIt en español http://www.emesn.com/autoitforum/. I am a simple user, not a programmer. Link to comment Share on other sites More sharing options...
Zedna Posted May 7, 2009 Share Posted May 7, 2009 (edited) Use Koda for making GUIhttp://www.autoitscript.com/forum/index.php?showtopic=32299#include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 350, 146, 192, 114) $Checkbox1 = GUICtrlCreateCheckbox("General", 56, 24, 97, 17) $Checkbox2 = GUICtrlCreateCheckbox("Work", 56, 56, 97, 17) $Checkbox3 = GUICtrlCreateCheckbox("Email", 56, 88, 97, 17) $Button1 = GUICtrlCreateButton("GO", 216, 56, 75, 25, $WS_GROUP) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 If IsChecked($Checkbox1) Then RunWait("...") If IsChecked($Checkbox2) Then RunWait("...") If IsChecked($Checkbox3) Then RunWait("...") EndSwitch WEnd Func IsChecked($control) Return BitAnd(GUICtrlRead($control),$GUI_CHECKED) = $GUI_CHECKED EndFuncUse FileCopy() for copying files. Edited May 7, 2009 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
AutoPepe Posted May 7, 2009 Author Share Posted May 7, 2009 Use Koda for making GUI http://www.autoitscript.com/forum/index.php?showtopic=32299 #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 350, 146, 192, 114) $Checkbox1 = GUICtrlCreateCheckbox("General", 56, 24, 97, 17) $Checkbox2 = GUICtrlCreateCheckbox("Work", 56, 56, 97, 17) $Checkbox3 = GUICtrlCreateCheckbox("Email", 56, 88, 97, 17) $Button1 = GUICtrlCreateButton("GO", 216, 56, 75, 25, $WS_GROUP) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 If IsChecked($Checkbox1) Then RunWait("...") If IsChecked($Checkbox2) Then RunWait("...") If IsChecked($Checkbox3) Then RunWait("...") EndSwitch WEnd Func IsChecked($control) Return BitAnd(GUICtrlRead($control),$GUI_CHECKED) = $GUI_CHECKED EndFunc Use FileCopy() for copying files. Wonderful help. I have just now installed a wonderful addon for firefox : autoit-menu and there is the option for Koda. Thank very much Traducción AutoIt al Español. http://autoitespa.espanaforo.com/forum.htm . Visita el foro de AutoIt en español http://www.emesn.com/autoitforum/. I am a simple user, not a programmer. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now