$activewid

Added in 1.9.0

Returns window id for the currently active window.