Borje Posted September 18, 2022 Posted September 18, 2022 (edited) I have not got this to working what I doing wrong? I have check in help but not find any solution. RegWrite("HKLM\SOFTWARE\AutoIt", "Version", "REG_SZ", "3.3.0.0") $var=RegRead("HKLM\SOFTWARE\AutoIt\Version","") Ihave error -1 when i try to read the key is present in registry but I can not read this. I run windows 7 32 bit I hope anybody can help. Edited September 19, 2022 by Borje
Nine Posted September 18, 2022 Posted September 18, 2022 Look in help file. RegRead requires a "ValueName"... “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
Shark007 Posted September 18, 2022 Posted September 18, 2022 you also need to use #RequireAdmin to write to HKLM
Borje Posted September 19, 2022 Author Posted September 19, 2022 Thanks Nine and Shark007 I have forget to set the valueName and now all worked as expected.
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