Comments (5)
Reading the cheat sheet commit, it doesn't say if it still returns none or not. Or anything on how to handle it easily. Could a switch be added so the original functionality is still available. I've used that fact it returns None or the coordinates throughout. And don't like the idea of handling exceptions, sounds like a less reliable way to know an image is not on the screen. But hey, what do I know... not a lot to be honest! :-)
from pyautogui.
I support I could PIP install an older version? Which is the last release to return 'none' for none found? I'll try that.
from pyautogui.
However, it's also understandable that not finding an image could be a valid outcome in some cases, and you may not always want to handle it as an exceptional situation. In such cases, you can certainly handle the exception using a try-except block to gracefully handle the situation without interrupting the flow of your program.
from pyautogui.
I encountered the same question, you can try rollback PyScreeze to 0.1.29, 0.1.30 will occur this question
from pyautogui.
Yes I am also facing this issue. Can we somehow rollback to the previous version
from pyautogui.
Related Issues (20)
- screenshot "region" type verification
- Enter key not being recognized by web page
- `locateAllOnScreen` raises `pyscreeze.ImageNotFoundException` HOT 1
- Typing doesn't work on different keyboard layouts HOT 2
- with pyautogui.hold(alt'): problem HOT 2
- AttributeError: module 'pyscreeze' has no attribute 'locateOnWindow'
- pyautogui does not work as windows service HOT 1
- Has this repository been abandoned? HOT 1
- [Bug] pyautogui.write('%...') writes '5...'
- Problems with hotkey
- Same image, different colors,How to distinguish
- Screenshot() does not save any file in PyAutoGUI 0.9.54 HOT 1
- PYAUTOGUI and URSINA
- Prompt or Alert windows Always-On-Top?
- pyautogui locateCenterOnScreen is not finding my source image or 'needle' HOT 2
- There is no documentation about getAllWindows function.
- How to keep string’s mixed upper and lower characters?
- Wayland apps do not update the mouse position
- incompatible with numpy >= 2
- Bug with calling locateCenterOnScreen in a loop
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 pyautogui.