mIRC Home    About    Download    Register    News    Help

Print Thread
#182048 03/08/07 08:10 PM
Joined: Nov 2006
Posts: 26
O
Osah Offline OP
Ameglian cow
OP Offline
Ameglian cow
O
Joined: Nov 2006
Posts: 26
I was wondering if there is a way when returning $active it to return the Dialog ID or Title (which is the active window) -- i tried it a few ways i could not find a solution... I did however end up writing a dll for this -- but still, wondering if mirc supports that if not -- i think we should send it in to the 'Feature Requests' Section.


codemastr_
Osah #182053 03/08/07 08:41 PM
Joined: Jul 2006
Posts: 107
L
Vogon poet
Offline
Vogon poet
L
Joined: Jul 2006
Posts: 107
/help $dialog

especially look at the properties of $dialog()


LonDart
LonDart #182061 04/08/07 12:15 AM
Joined: Nov 2006
Posts: 26
O
Osah Offline OP
Ameglian cow
OP Offline
Ameglian cow
O
Joined: Nov 2006
Posts: 26
Lets say i have 5 dialogs, all are named unknown to me (randomly) using $dialog().name i have to know the name of the dialog -- which i dont know... so that wont help much.


codemastr_
Osah #182069 04/08/07 01:25 AM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
You probably need to loop through the dialogs using the .active suffix to find out which one is active and then use the .title suffix to get the title.


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard