PyWhatKit icon indicating copy to clipboard operation
PyWhatKit copied to clipboard

Do not send message with two monitors

Open valdineidossantos opened this issue 2 years ago • 0 comments

Description

The code send_message_instantily get a total width and divide in this code pg.click(core.WIDTH / 2, core.HEIGHT / 2). The problem is mouse pointer stay in center of two monitors

To Reproduce

Send messages with a two monitors

Version Information

  • OS: [ Ubuntu 20.04]
  • Browser: [Opera]
  • Python: [3.9.2]
  • PyWhatKit: Version 5.3 (Stable)

You can Check the PyWhatKit Version using

I wrote a new version using pyautogui.LocateOnScreen("whatsapp_send_button.png") to get safe position but I do not kwon it a better solution. But this solve the problem

print(pywhatkit.__VERSION__)

valdineidossantos avatar Jun 29 '22 22:06 valdineidossantos