robinsiebler Posted June 8, 2012 Posted June 8, 2012 This line just gives me a lot of question marks. What would the English translation be?If@errorThenMsgBox(0,'Сообщение','Ошибка, @error = '&@error)
robinsiebler Posted June 8, 2012 Posted June 8, 2012 (edited) Your example doesn't quite do what I want. I don't want to search for DisplayName itself. I want to search for a value in DisplayName. Like this - DisplayName = Xirrus Wi-Fi Inspector.Thanks!I tried changing _RegSearchValueName to _RegSearchValue, but it must take more than that, because I got an error:F:scriptsAutoItBuild Auto Installertest.au3 (14) : ==> "ReDim" used without an array variable.:ReDim $Array[$Array[0][0] + 1][3]ReDim ^ ERROR Edited June 8, 2012 by robinsiebler
AZJIO Posted June 8, 2012 Posted June 8, 2012 robinsieblerSearches for all of the DisplayName. Then reads the DisplayName and looking for in the results.This line just gives me a lot of question marks. What would the English translation be?Anything interesting "Message", "Error, @error ="_RegSearchValue - searches for all values, not the ValueName_ArraySearch - searches result in the outcomeYou probably do not know AutoIt3. It is best to talk to you for small things with people who understand your language. My other projects or all
robinsiebler Posted June 8, 2012 Posted June 8, 2012 (edited) I might not know AutoIt all that well, but I also don't know Russian (so there is no help for your UDF). However, I do know when something just doesn't work, like the example you gave me. Edited June 8, 2012 by robinsiebler
ValeryVal Posted June 8, 2012 Posted June 8, 2012 However, I do know when something just doesn't work, like the example you gave me.IMHO try to search this value DisplayName from subkey InstallProperties:"HKLMSOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18ProductsInstallProperties"My registry has this lost DisplayName there;-) The point of world view
AZJIO Posted June 8, 2012 Posted June 8, 2012 I added a description of the English language. I just have not decided yet how to make a withdrawal results in a string variable. Secondly, the characters "*?|" used in names, so I think over how to do a search. There is no verification of the validity of the passed parameters. There is no combined search. Search works slower than the search refedit.exe. Perhaps had an @error=3 - not found. _ArrayDisplay should show the results of your search. The second time the show result read registry. Then _ArraySearch will find the results of the final value My other projects or all
robinsiebler Posted June 8, 2012 Posted June 8, 2012 IMHO try to search this value DisplayName from subkey InstallProperties:"HKLMSOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18ProductsInstallProperties"My registry has this lost DisplayName there;-)InstallProperties is not directly under Products. It is under some random GUID - HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Products1BA12BBB54C2D5340AA55B3670E2B7B9InstallProperties
GEOSoft Posted June 8, 2012 Posted June 8, 2012 In that case you will have to enumerate for the keys under HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Products then enumerate each of those for InstallProperties and then check for the value(s). George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
robinsiebler Posted June 8, 2012 Posted June 8, 2012 (edited) I found a better, faster, easier way. I can run reg query from a command line and have what I want in less than a second. Edited June 8, 2012 by robinsiebler
ValeryVal Posted June 9, 2012 Posted June 9, 2012 InstallProperties is not directly under ProductsI'm glad for the place you search.I found a better, faster, easier way.There is also the safest method to work with registry. It is old verified handmade... The point of world view
autoking Posted September 14, 2012 Posted September 14, 2012 how to make it rename or delete all keys that it found: $Results
Esquared Posted December 16, 2013 Posted December 16, 2013 Hi, I'm new to AutoIT and this function is exactly what I needed to find some registry keys! The only problem I'm having is how to delete them once they're found? Would anyone be able to help me with that. I Tried deleting the variable I used to display them but that didn't work, I didn't think it would, but I thought I'd list it anyways. Any help is appreciated. Thanks
Belini Posted December 18, 2013 Posted December 18, 2013 Use RegDelete, careful not to let the dead windows. Example: RegDelete("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\IntelIde") My Codes: Virtual Key Code UDF: http://www.autoitscript.com/forum/topic/138246-virtual-key-code-udf/ GuiSplashTextOn.au3: http://www.autoitscript.com/forum/topic/143542-guisplashtexton-udf/ Menu versions of Autoit: http://www.autoitscript.com/forum/topic/137435-menu-versions-of-autoit/#entry962011 Selects first folder of letters: ]http://www.autoitscript.com/forum/topic/144780-select-folders-by-letter/#entry1021708/spoiler] List files and folders with long addresses.: http://www.autoitscript.com/forum/topic/144910-list-files-and-folders-with-long-addresses/#entry102 2926 Program JUKEBOX made in Autoit:some functions:http://www.youtube.com/watch?v=WJ2tC2fD5Qs Navigation to search:http://www.youtube.com/watch?v=lblwOFIbgtQ
esullivan Posted November 4, 2015 Posted November 4, 2015 How would I use this? I need to search HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall for a key named Display with the value of MyHarmony
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