mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2010
Posts: 89
D
Babel fish
OP Offline
Babel fish
D
Joined: Dec 2010
Posts: 89
I have an alias command where i need it to check if a dialog is open or not, and if it is, it will add text to some edit boxes etc. What is the best way to check if a dialog box is open or not? Only way I can think of is if you use the on dialog initialise event, and store it as variable, though I was kind of expecting there to be some sort of $dialogActive or something, would be easier.

Joined: Jan 2004
Posts: 1,358
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,358
$dialog(name) will return the name if it's open

Joined: Dec 2010
Posts: 89
D
Babel fish
OP Offline
Babel fish
D
Joined: Dec 2010
Posts: 89
Thanks, thats awesome! laugh


Link Copied to Clipboard