Jump to content

Recommended Posts

Posted

Hello im making a new quick launch classic look and feel for windows 7.

I have to make some changes to the taskbar, however before the user see the changes. The computer needs to be restarted or explorer restarted.

like this script does, however the script does not work good. Sometimes it restart explorer, sometimes it does not. And some times it start explorer twice resulting in opening the libarian folder.

So im asking for a better method that can be more safe for users that open this program.

;End Windows Explorer.

While ProcessExists ( "explorer.exe" )
ProcessClose ( "explorer.exe" )
WEnd

sleep(3000)

;Restart Windows Explorer.
Run("explorer.exe")
If NOT ProcessExists("explorer.exe") Then Run("explorer.exe")

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
×
×
  • Create New...