Jump to content

Technical

Members
  • Posts

    5
  • Joined

Everything posted by Technical

  1. It does not seem to be this. I'm running: AutoIt3_x64.exe "my_script" with Local $path = RegRead ( "HKEY_LOCAL_MACHINE64SOFTWAREAVAST SoftwareAvast", "ProgramFolder") or AutoIt3.exe,exe "my_script" with Local $path = RegRead ( "HKEY_LOCAL_MACHINESOFTWAREAVAST SoftwareAvast", "ProgramFolder") and I'm getting the same results. I also compiled the script for x64 and x32 (with proper hives on them) and got nothing. I'll also have to discover how to detect x32 or x64 to automate... Thanks for your help.
  2. Hello, I'm back since quite a long time... I'm trying to use the RegRead to read a registry key. The proposed example is working: Local $var = RegRead("HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersion", "ProgramFilesDir") MsgBox(4096, "Program files are in:", $var) But I'm trying to read other keys and @error returns 1 (unable to open requested key). I'm running as admin (with #RequireAdmin at the beginning of the script). #RequireAdmin Local $path = RegRead ( "HKEY_LOCAL_MACHINESOFTWAREAVAST SoftwareAvast", "ProgramFolder") MsgBox(4096, "The avast! path is:", $path) #RequireAdmin Local $var = RegRead("HKEY_LOCAL_MACHINESOFTWAREGRETECHGomPlayer", "ProgramFolder") MsgBox(4096, "The GOM path is:", $var) What am I doing wrong? How to achieve reading that keys? I'm on Windows 8.1 x64. Thanks.
  3. Many thanks... I'll test it.First run only with this code give me un-responsive GUI... But, of course, I need to test it into a 'long' code of my GUI and, specially, test in various conditions (stressed computer or not, etc.). Thanks again
  4. I understand that the help file says to not add Sleep command to avoid GUI non-responsive status but the continuous checking of the GUI using all CPU is prohibitive... It needs more improvements. In fact, it would be an avast antivirus tweaker(http://forum.avast.com/index.php?topic=16900.0)
  5. Ok, but the CPU cicles does not get release as it is stated in Help (This function automatically idles the CPU when required so that it can be safely used in tight loops without hogging all the CPU) I mean, the CPU reaches 80-90% and then get down for a few seconds to 40-60% and then another jump to higher values... The computer reacts badly while there is no CPU available disregard what stated in help files. Besides this method (GuiGetMsg) I've tried GuiSetOnEvent but with same results. What can I do? I've searched the board but nothing conclusive, CPU and loop give me the same... Here is a similar problem: http://www.autoitscript.com/forum/index.php?showtopic=9193
×
×
  • Create New...