mIRC Homepage
Posted By: Osah Dialog $active - 03/08/07 08:10 PM
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.
Posted By: LonDart Re: Dialog $active - 03/08/07 08:41 PM
/help $dialog

especially look at the properties of $dialog()
Posted By: Osah Re: Dialog $active - 04/08/07 12:15 AM
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.
Posted By: Riamus2 Re: Dialog $active - 04/08/07 01:25 AM
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.
© mIRC Discussion Forums