Sign in to follow this  
Followers 0
kwapster

close toolbar / run app on shutdown

2 posts in this topic

#1 ·  Posted (edited)

Hi guys,

First of all some background on the application. I think this is different from a standard application because its actually a toolbar that is integrated into explorer.exe

It includes an exe to "show" or "hide" the toolbar if you dont want to right click the taskbar. Since i dont know of any commands to "uncheck" a toolbar i suppose the exe is the easier way to go.

I already tried group policy and the exe is being executed too late.

Here is what i have drafted so far...i spent the last 2hours trying examples from the forum and none seem to work.

The run exe method might not work cause i am aware that applications cant be launched while shutdown is active.

I'm clueless right now, please help!!

$WM_QUERYENDSESSION = 0x0011

GUICreate("ShutDownNotificationGui")

GUIRegisterMsg($WM_QUERYENDSESSION, "_ShutdownInitiated")

GUISetSTate(@SW_HIDE)

While 1

sleep(10)

WEnd

Func _ShutdownInitiated($hWndGUI, $MsgID, $WParam, $LParam)

(run exe or command to disable toolbar before all other apps)

Return True

EndFunc

Edited by kwapster

Share this post


Link to post
Share on other sites



bump....really neeed help with this

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0