Skip to content

Conversation

@brimdor
Copy link

@brimdor brimdor commented Dec 6, 2023

Took a couple hours to make some changes to the overall code, structure, and image collection.

Originally it was not working when I attempted to use it. After these adjustments, seems to be working great. Use a powershell terminal to launch the command, 'python main.py'. It will escalate privileges and run in a separate window.

Many more notes in the commits can be reviewed if you decide to complete this pull request.

Also added a tool to update the requirements.txt versionings to current working ones if tests are successful.

- updated main.py to handle errors without crashing.
- errors are reported on screen. Specifically when an image could not be located with sufficient confidence
- retook a ton of screenshots to help with the collection
- warning - shutdown screenshots can sometimes trigger clicks in the wrong areas on the main view. Adjust those screenshots to your liking.
- added .5 second sleep after successful image finds
- added more console prompts to inform whats happening
- Windows 10/11 compatible only
- Not Mac tested yet
- no longer needs powershell to achieve elevated permissions
- must use a powershell terminal in order to run
- added a variable to pick specific window by name
- all dependencies updated in requirements
- added a script to auto update the dependencies versioning in requirements.txt based on the currently installed versions. Only use this if the dependencies are working in their current version and it is listed in the requirements already.
- adjust readme to point out using the python command rather than running start.ps1. Powershell terminal is still required but it uses only 1 script now.
- added more screenshots to improve image finding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant