Checking to see if a window is open

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

omper
a ghoul
a ghoul
Posts: 110
Joined: Sat Dec 06, 2003 10:46 pm

Checking to see if a window is open

Post by omper » Sat Mar 27, 2004 5:24 pm

Any way to check to see if a perticular window is open.. and if so then close it.. or click cancel.. or what ever buton closes the window..

like if inventory is open .. check to see if it is.. then if it is .. click cancel..

thanks
omper

Falco72
a hill giant
a hill giant
Posts: 215
Joined: Fri Sep 26, 2003 3:24 am

Post by Falco72 » Sat Mar 27, 2004 5:36 pm

Code: Select all

/if $invpanel==FALSE /windowstate inventory open
and

Code: Select all

/if $invpanel==TRUE /windowstate inventory close
May I suggest you to read the readme.html or to use the search function of the forum?