AzKay Posted June 30, 2006 Posted June 30, 2006 Ok, There's toggle Pause, in the hotkey part of the helpfile, im wanting to make the same thing, but for hide so all I know is this~ Opt("WinTitleMatchMode", 2) WinSetState("Gaia ::", "", @SW_HIDE) But, how would I make it so, the when I press the hotkey for the hide, it toggles it, so instead of just hide, it would go hide then unhide. hide then unhide, etc # MY LOVE FOR YOU... IS LIKE A TRUCK- #
GaryFrost Posted June 30, 2006 Posted June 30, 2006 try something like: Func _HideUnHide($s_Title, $s_Text = "") $state = WinGetState($s_Title, $s_Text) If BitAND($state, 2) Then WinSetState($s_Title, $s_Text, @SW_HIDE) Else WinSetState($s_Title, $s_Text, @SW_SHOW) EndIf EndFunc ;==>_HideUnHide SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
AzKay Posted June 30, 2006 Author Posted June 30, 2006 Thanks, works perfectly ^^ # MY LOVE FOR YOU... IS LIKE A TRUCK- #
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now