flip209 Posted September 2, 2007 Share Posted September 2, 2007 Can any one show me a better way to write this?CODE$s = 1 for $s = 1 to 1500 $var = RegEnumKey("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\", $s) $var1 = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\"& $var, "DisplayName") if $var1 <> "" then GUICtrlCreateTreeViewItem($var1, $Soft) $s += 1 next " I haven't failed. I've just found 10,000 ways that won't work." Thomas Edison "You cannot help men permanently by doing for them what they could and should do for themselves." Abraham Lincoln Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 2, 2007 Moderators Share Posted September 2, 2007 You posted your support question wrong forum. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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