1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to get window status of a running app

Discussion in 'Support' started by Budi, Mar 27, 2017.

  1. Budi

    Joined:
    Nov 8, 2015
    Messages:
    16
    Likes Received:
    0
    How to get window status of a running program such as whether its windows max, min or normal (restored). All I've got are just to 'set' those not to 'get'. Thank's much in advance.
     
  2. Alpengreis

    Joined:
    Jan 12, 2014
    Messages:
    229
    Likes Received:
    6
    Direct in TC I know only the variables _VXPIXELS, _VYPIXELS, XWINDOW and YWINDOW ... not REALLY an aswer to your question but perhaps you can use it at least ...

    Perhaps you could also integrate an external solution like CMDOW (see URL [https://ritchielawrence.github.io/cmdow/]) (attention, use it at your own risk!) ...

    Greetings
     
    #2 Alpengreis, Mar 27, 2017
    Last edited: Mar 27, 2017
  3. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,804
    Likes Received:
    82
    Use the @WINSTATE variable function.
     
  4. Alpengreis

    Joined:
    Jan 12, 2014
    Messages:
    229
    Likes Received:
    6
    Damn, so easy, I SEARCHED REALLY in the Functions section too ...

    Thank you, Rex, and sorry!
     

Share This Page