Jump to content

Recommended Posts

Posted (edited)

Thanks, Larry. :whistle: EnvUpdate doesn't do anything for me, by the way.

Here's another way for anyone interested:

It uses Folder Options to force a refresh by simply toggling the first item so that the Apply button becomes enabled. Note: Simply using ControlEnable won't work! I guess Windows is smart enough to avoid refreshing when there are no changes to apply--but is stupid enough to be fooled by clicking and unclicking an item!

AutoItSetOption("SendKeyDelay", 0)
AutoItSetOption("WinWaitDelay", 100)

Run("rundll32 shell32.dll,Options_RunDLL"); Launch Folder Options
WinWaitActive("Folder Options")
WinShow("Folder Options","",@SW_HIDE)

$key = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\_
     CurrentVersion\Explorer\Advanced", "Hidden") 

; Write the updated registry key
If Int($key) == 2 Then
   RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\_
      CurrentVersion\Explorer\Advanced", "Hidden", "REG_DWORD", 1) 
Else
   RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\_
      CurrentVersion\Explorer\Advanced", "Hidden", "REG_DWORD", 2) 
EndIf

;Use Folder Options to force a refresh
ControlCommand("Folder Options","","SysTabControl321","TabRight","")
ControlFocus("Folder Options","","SysTreeView321")
ControlSend("Folder Options","","SysTreeView321","{SPACE}{SPACE}")
ControlClick("Folder Options","","OK")
Edited by CyberSlug
Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Posted

stay tuned... next day or so, AutoIt3 will have Memory Stat functions

Woohoo!!

EDIT: i hopeĀ 

Woohoo anyways

We have enough youth. How about a fountain of SMART?

Posted

I've found that sending "^{F5}" forces the content of most windows/dialog boxes to be refreshed - regardless of the caching state.

Hope this helps!

Posted

Hmm, didn't see any memory functions in the latest beta... :whistle:

I was unable to send it to Jon until this morning. Even though my PC parts arrived on time, I ran into other complications and was unable to get it sent to him before he released 3.0.92. If you ask him nicely (and maybe beg a bit), he may put it in the first release as he should have the code for it now.
Posted

No worries. I don't want to bother Jon about this request since he has enough headaches as it stands. I'll try to be patient, and hope that it magically appears in the next release. :whistle:

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...