As for now, there is no event listener for using the [WIN + left / right arrow key] and so the state of the script does not update even when the screen has changed. A fix anyone could contribute to is to add an event listener for [WIN + left / right arrow key] and to update the state of the script accordingly. Even better would be a windows virtual screen change event handler as this would fix also the issue where windows would automatically change the virtual window you are on.
As for now, there is no event listener for using the [WIN + left / right arrow key] and so the state of the script does not update even when the screen has changed. A fix anyone could contribute to is to add an event listener for [WIN + left / right arrow key] and to update the state of the script accordingly. Even better would be a windows virtual screen change event handler as this would fix also the issue where windows would automatically change the virtual window you are on.