Yashied Posted October 20, 2011 Posted October 20, 2011 (edited) Try this... You forgot about Opt("WinWaitDelay", 0) Edited October 20, 2011 by Yashied My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More...
wakillon Posted October 20, 2011 Author Posted October 20, 2011 You forgot about Opt("WinWaitDelay", 0) Ok ! you win ! I completely missed this important factor ! AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
burnell Posted May 2, 2012 Posted May 2, 2012 Very Useful. On some websites i see reg adresses like "HKLM - Software - Microsoft - Windows" or "HKLM \Software \Microsoft \Windows" and ohters. to change it not manually i would like to filter these strings with : $String = StringRegExpReplace ($String, "(\h+.*?\h+)", '\\') $String = StringRegExpReplace ($String, '([\[\]"])', '') Where can I insert in your code?
wakillon Posted May 3, 2012 Author Posted May 3, 2012 (edited) RegJumper already support reduced key headers as HKLM.for "HKLM - Software - Microsoft - Windows" you can change the _RegKeyAdaptToOs function like this[/font][/color] Func _RegKeyAdaptToOs ( $_RegKey ) $_RegKey = StringRegExpReplace ( $_RegKey, "(\h+.*?\h+)", '\\' ) $_RegKey = StringRegExpReplace ( $_RegKey, '([\[\]"])', '' ) Local $_RegKeyIs64BitEnv = _RegKeyIs64BitEnv ( $_RegKey ) Local $_OsIs64BitEnv = _OsIs64BitEnv ( ) If $_RegKeyIs64BitEnv And Not $_OsIs64BitEnv Then $_RegKey = StringReplace ( $_RegKey, '64', '', 1 ) Return $_RegKey EndFunc ;==> _RegKeyAdaptToOs ( ) [color=#282828][font=helvetica, arial, sans-serif] Edited May 3, 2012 by wakillon AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
burnell Posted May 4, 2012 Posted May 4, 2012 Thank you. Yes, i saw it with the reduced key headers as HKLM in your Code. Hm, i thougt that StringRegExpReplace would also catch the space bevor the Slash...
wakillon Posted July 13, 2012 Author Posted July 13, 2012 Thank you.Yes, i saw it with the reduced key headers as HKLM in your Code.Hm, i thougt that StringRegExpReplace would also catch the space bevor the Slash... I had to remove a part of your function because it doesn't work with some keys.Updated too, due to some registry keys who were not found and so not opened with the proper Regedit.exe on 64 bit. AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
burnell Posted July 14, 2012 Posted July 14, 2012 I get an error with new script on line: Local $_RegKeyIs64BitEnv = _RegKeyIs64BitEnv ( $_RegKey )
wakillon Posted July 14, 2012 Author Posted July 14, 2012 I get an error with new script on line: Local $_RegKeyIs64BitEnv = _RegKeyIs64BitEnv ( $_RegKey ) What's error message ? Which registry key and os do you use ? AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
burnell Posted July 14, 2012 Posted July 14, 2012 (edited) Ah sorry, here it is: Line... C:TempRegjumper2.exe -> Local $_RegKeyIs64BitEnv = _RegKeyIs64BitEnv ( $_RegKey ) Error: Variable cannot be accessed in this manner. HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciescomdlg32PlacesBar AutoIt3 v3.3.9.5, SciTE v3.2.0, AutoIt3Wrapper v.2.1.0.33, OS:WIN_7/Service Pack 1, CPU:X64 OS:X86 Edited July 14, 2012 by burnell
wakillon Posted July 14, 2012 Author Posted July 14, 2012 Ah sorry, here it is:Line... C:TempRegjumper2.exe -> Local $_RegKeyIs64BitEnv = _RegKeyIs64BitEnv ( $_RegKey )Error: Variable cannot be accessed in this manner.HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciescomdlg32PlacesBarAutoIt3 v3.3.9.5, SciTE v3.2.0, AutoIt3Wrapper v.2.1.0.33, OS:WIN_7/Service Pack 1, CPU:X64 OS:X86I have never seen this error message...and have tried your key on Win 7 and AutoIt 3.3.9.5 ( compiled and not ) without problems...I can't reproduce this error...Did you try with last AutoIt Release too ?Also you can try my compiled version . AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
burnell Posted July 16, 2012 Posted July 16, 2012 (edited) your compiled RegJumper run, i reinstalled AutoIt3 with newest + SciTE but with no luck, same error! so i had to look ... thank you anyway... Edited July 16, 2012 by burnell
wakillon Posted July 16, 2012 Author Posted July 16, 2012 your compiled RegJumper run,i reinstalled AutoIt3 with newest + SciTE but with no luck, same error!so i had to look ...thank you anyway...If i understand well, with my compiled version there is no error ? and reg key is well open in regedit ? AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
burnell Posted July 17, 2012 Posted July 17, 2012 If i understand well, with my compiled version there is no error ? and reg key is well open in regedit ?Yes and yes.
wakillon Posted July 17, 2012 Author Posted July 17, 2012 Yes and yes.So it should be your AutoIt Installation who have a problem... AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
wakillon Posted June 25, 2013 Author Posted June 25, 2013 Updated and external file embedded. AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
wakillon Posted September 12, 2013 Author Posted September 12, 2013 Updated due to a bug (only on XP) AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
wakillon Posted October 12, 2014 Author Posted October 12, 2014 Updated. Minor improvements. AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
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