Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

help please... simple RegRead issue

$
0
0
i just started writing this new code and as of now, its rather simple... i want autoit to look at the main "rebootrequired" key and based on its existance, i'll have it produce a popup or whatever...


I created this simple code but the error code is ALWAYS the same (1) , regardless of if the rebootrequired key is there or not.

RegRead ("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired","")
MsgBox(4096,@error,@error)



I figured the space between "Auto Update" was creating a problem but couldn't figure it out... ive writtien many scripts and have never had this problem.. any assistance would be appreciated.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>