Description
I have 2 monitors, and only when my browser and whatsapp open on the main monitor, the script works and sends the message. Otherwise the ENTER to send the message is given in the program that is open on the main monitor.
For example, on my main monitor I had PyCharm open, so instead of the ENTER being given in Whatsapp Web, it was given in the PyCharm IDE, causing me to skip a line in my PyCharm code.
To Reproduce
Code exactly the same as documentation
Version Information
- OS: Windows 11
- Browser: Microsoft Edge and Google Chrome
- Python: 3.10.1
- PyWhatKit: 5.4
Description
I have 2 monitors, and only when my browser and whatsapp open on the main monitor, the script works and sends the message. Otherwise the ENTER to send the message is given in the program that is open on the main monitor.
For example, on my main monitor I had PyCharm open, so instead of the ENTER being given in Whatsapp Web, it was given in the PyCharm IDE, causing me to skip a line in my PyCharm code.
To Reproduce
Code exactly the same as documentation
Version Information