Does anyone know of a code which specifically captures the active window of the desktop ?