bedazzled Posted September 5, 2005 Share Posted September 5, 2005 $var = RegRead('HKEY_CURRENT_USER\Console', "QuickEdit") $type = @EXTENDED MsgBox(4096, "registry:", $var & @CRLF & @EXTENDED ) @Extended does not do anything apart from return a 0... ? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 5, 2005 Moderators Share Posted September 5, 2005 I believe @Extended only returns a change from the original variable, in your case $var. If that's all you have, and you didn't change anything... how could it return anything else but "0"? I've never used this, so I could be wrong. 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...
GaryFrost Posted September 5, 2005 Share Posted September 5, 2005 $var = RegRead('HKEY_CURRENT_USER\Console', "QuickEdit") $type = @EXTENDED MsgBox(4096, "registry:", $var & @CRLF & $type )this returns a 4 for mefrom the constants.au3Global Const $REG_NONE = 0Global Const $REG_SZ = 1Global Const $REG_EXPAND_SZ = 2Global Const $REG_BINARY = 3Global Const $REG_DWORD = 4Global Const $REG_DWORD_BIG_ENDIAN = 5Global Const $REG_LINK = 6Global Const $REG_MULTI_SZ = 7therefore it's returning the proper valuewhen you run it are you using the latest beta? currently 3.1.1.73 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
bedazzled Posted September 5, 2005 Author Share Posted September 5, 2005 yes youre right .. sorry.. it was pointing at one of my (many) legacy versions of autoit... the current beta does handle it correctly returning a 4 apologies Link to comment Share on other sites More sharing options...
bedazzled Posted September 6, 2005 Author Share Posted September 6, 2005 disabling quickedit mode in dos windows: ;save and disable $current_value = RegRead('HKEY_CURRENT_USER\Console', "QuickEdit") ; save current value RegWrite('HKEY_CURRENT_USER\Console', "QuickEdit", "REG_DWORD", 0) ; set quick edit off launch the window here ...... ;set it back to what it was RegWrite('HKEY_CURRENT_USER\Console', "QuickEdit", "REG_DWORD", $current_value) ; set quick edit value back again ;this works for the console window ... ;i use it to make sure that autoit launched perl programs do actually run, and dont get made inactive by quickedit mode (which was a pain) 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