Python Forum

Full Version: Need help with a simple AHK script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi. So I take a lot of surveys and some pages have like 200 questions to answer with bubbles. I want to create a simple loop script in AHK that will do something like this

If 1 key is pressed down:
tab, arrow right, arrow right
else:
stop
Basically when the 1 key is pressed down I want it tab to the next question and select the middle bubble using the arrow keys than repeat itself until I release the 1 key. So holding the 1 key down will basically select the middle bubble for all 200 questions. Is there a simple way to do that in AHK? I am a beginner in Python and know next to nothing in AHK so figured maybe someone here would know a simple solution. Thanks for the help!