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.