isaychris / python-autoclicker

A simple autoclicker with controls powered by pyautogui
57 stars 43 forks source link

Fix performance issues when paused #2

Open AcesFullOfKings opened 4 years ago

AcesFullOfKings commented 4 years ago

The "while running:" loop was using 100% CPU when the autoclicker was paused. Adding a small sleep has fixed the issue and it now uses nearly no cpu while paused.

I also added a window title, as previously the window was titled "C:/users/name/python".. etc.

AcesFullOfKings commented 3 years ago

@isaychris could you merge this for others' benefit please, as this is the first result on google for "python autoclicker", and although it's a useful tool it's a serious limitation to have it use 100% CPU.