Hi guys ![;)]()
For a script i need to show extension ( if is not enabled by default ) and the restore the original value after my function.
The script:
The problem is i can't see any difference![:D]()
I have try to send F5 ( and press F5 on my keyboard ) but nothing. The only thing work is click with the mouse left on the desktop/folder --> Refresh
There is an equivalent for my script?
Thanks as always
![;)](http://aut1.autoit-cdn.com/forum/public/style_emoticons/default/wink.png)
For a script i need to show extension ( if is not enabled by default ) and the restore the original value after my function.
The script:
[ autoit ]
Global $Ini = @ScriptDir & "\Test.ini" FileExt("Show") Sleep(5000) FileExt("Default") Func FileExt($parameter) Local $RegKey = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "HideFileExt") Local $SaveKey = IniRead($Ini, "Data", "HideFileExt", "") If $parameter = "Show" And $SaveKey = 1 Then RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "HideFileExt", "REG_DWORD", 0) EndIf If $parameter = "Default" Then RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "HideFileExt", "REG_DWORD", $SaveKey) EndIf EndFunc ;==>FileExt
The problem is i can't see any difference
![:D](http://aut1.autoit-cdn.com/forum/public/style_emoticons/default/biggrin.png)
I have try to send F5 ( and press F5 on my keyboard ) but nothing. The only thing work is click with the mouse left on the desktop/folder --> Refresh
There is an equivalent for my script?
Thanks as always
![;)](http://aut1.autoit-cdn.com/forum/public/style_emoticons/default/wink.png)