Jump to content
Sign in to follow this  
ashley

taskbar *hide and show*

Recommended Posts

ashley

how would i hide the start/task bar at the bottom

also how do i stop a script exiting when i press 'ESC'

thanks in advance

Share this post


Link to post
Share on other sites
Nahuel

WinSetState("[CLASS:Shell_TrayWnd]","",@SW_HIDE)
Sleep(1000)
WinSetState("[CLASS:Shell_TrayWnd]","",@SW_SHOW)

Opt("GUICloseOnESC",0)

Share this post


Link to post
Share on other sites
BrettF

Share this post


Link to post
Share on other sites
Nahuel

stop a script exiting when you press esc? Would the script have already had the message to exit? Place a timer in the OnAutoItExit func?

Yeah, I thought that too. But then I remembered she(he?) was working on that shell thingy, so she needs the $GUI_EVENT_CLOSE message not to be sent when she presses ESC.

Share this post


Link to post
Share on other sites
ashley

WinSetState("[CLASS:Shell_TrayWnd]","",@SW_HIDE)
Sleep(1000)
WinSetState("[CLASS:Shell_TrayWnd]","",@SW_SHOW)

Opt("GUICloseOnESC",0)

thanks im gona update my shell script now take a look.

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  

×