DonationCoder.com Software > Post New Requests Here
IDEA: Show/ Do not Show Hidden files and folders
ronriel:
Thank you Cpilot. That is EXACTLY what i want :D ... and that was quite a quick response! I'm sorry for my late reply though. Thanks again man. :Thmbsup:
Cpilot:
Thank you Cpilot. That is EXACTLY what i want :D ... and that was quite a quick response! I'm sorry for my late reply though. Thanks again man. :Thmbsup:
-ronriel (May 13, 2007, 06:50 AM)
--- End quote ---
No problem, just glad I could help.
aCkRiTe:
Here is a way to do it with AHK. It uses the hotkey (WinKey + H). It also refreshes the window as well...
--- ---#SingleInstance Force
#Persistent
#NoEnv
SetBatchLines, -1
#h::
CheckActiveWindow:
ID := WinExist("A")
WinGetClass,Class, ahk_id %ID%
WClasses := "CabinetWClass ExploreWClass"
IfInString, WClasses, %Class%
GoSub, Toggle_HiddenFiles_Display
Return
Toggle_HiddenFiles_Display:
RootKey = HKEY_CURRENT_USER
SubKey = Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
RegRead, HiddenFiles_Status, % RootKey, % SubKey, Hidden
If HiddenFiles_Status = 2
RegWrite, REG_DWORD, % RootKey, % SubKey, Hidden, 1
Else
RegWrite, REG_DWORD, % RootKey, % SubKey, Hidden, 2
PostMessage, 0x111, 28931,,, ahk_id %ID%
Return
You can downlaod here http://www.autohotkey.net/~ackrite/Toggle%20Hidden.rar
HTH...
ronriel:
thanks aCkRiTe... refreshing the window is an extra mouse click. so thank you.. :Thmbsup:
ronriel:
aCkRiTe, have you used Autoit3? which do you think is more powerful? I have Autoit3 installed and so far am very happy with it. As soon as i knew which registry values to manipulate, I was able to implement this function on hotkeys... however, i was not able to get it to refresh the windows automatically. Well, i'm not very good at Autoit3 either b'coz i have only discovered it last week.
They say, both Autoit3 and Ahk have a common beginning, so which is better?
Am i better off switching to AHK (i have used Autoit3 for a week anyway) or stick to autoit3?
I'm sorry if this is a little off topic...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version