You need to have an active window for activeWindow() to return something. An active window is a window which has the keyboard focus, apparently this is not the case for you.
You need to have an active window for activeWindow() to return something. An active window is a window which has the keyboard focus, apparently this is not the case for you.
Bookmarks