Firstly - thanks for sharing. Very usefull snippet!
Secondly - without this line wp.setForeground(True) i can’t get focus back on linux (Mint, cinnamon). May be do something like
if os.name != 'nt':
wp.setForeground(True)
Firstly - thanks for sharing. Very usefull snippet!
Secondly - without this line wp.setForeground(True) i can’t get focus back on linux (Mint, cinnamon). May be do something like
if os.name != 'nt':
wp.setForeground(True)