Comments (1)
The send_image function in the core module already uses the click() function from pygui to find the text box in which the text is getting typed. I have reused the same to find the textbox again before pasting the image. The current implementation was using the findtextbox() method which was internally using pygui to locate an image on screen which it could not find.
Please let me know if this approach seems right. This has been tested on MacOs with Firefox to be working for me.
from pywhatkit.
Related Issues (20)
- [QUESTION] Issue KeyError: DISPLAY HOT 4
- Write the message but don't send it HOT 7
- Unable to access Pywhatkit api right now HOT 3
- SyntaxError: invalid syntax
- It is not possible to send messages in Arabic in groups HOT 2
- Messages are displayed on window but not send until done manually.. HOT 1
- image cannot be sent in ubuntu. using pywhatkit.sendwhats_image HOT 2
- PyWhatkit on Centos
- ImportError: cannot import name 'escape' from 'jinja2' when try to import pywhatkit
- Add an instant message
- When sending Russian characters to WhatsApp group, empty spaces are sent
- Adding the pywin32 library in windows installation HOT 3
- Can't access API
- Group not sending url
- Can't make it work in Windows
- running into issue HOT 1
- When trying to send an image with text, it clicks "enter" on the text and does not send the message. HOT 2
- The package does't send the message but only types it onto the text box HOT 1
- error while installation pywhatkit HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pywhatkit.