$activewid

Returns window id for the currently active window.