Jump to content

Inverted

Active Members
  • Posts

    654
  • Joined

Community Answers

  1. Inverted's post in if , else problem was marked as the answer   
    $isHidden = False HotKeySet("!x", "msn") Func msn()     If $isHidden Then         $isHidden = False         WinSetState("Calculator", "",@SW_SHOW)     Else         $isHidden = True         WinSetState("Calculator", "",@SW_HIDE)     EndIf EndFunc While 1     Sleep(1000) WEnd I tested that with Calculator and it works 
    Maybe you'd also want to do an WinActivate to bring it to front.
×
×
  • Create New...