positive integer scrolls upand passing negative integer scrolls down run the following in mu editor' interactive shell while the mouse cursor is over the mu editor windowpyautogui scroll( you'll see mu scroll upward if the mouse cursor is over text field that can be scrolled up planning your mouse movements one of the difficulties of writing program that will automate clicking the screen is finding the xand -coordinates of the things you' like to click the pyautogui mouseinfo(function can help you with this the pyautogui mouseinfo(function is meant to be called from the interactive shellrather than as part of your program it launches small application named mouseinfo that' included with pyautogui the window for the application looks like figure - figure - the mouseinfo application' window enter the following into the interactive shellimport pyautogui pyautogui mouseinfo(this makes the mouseinfo window appear this window gives you information about the mouse' cursor current positionas well the color of the pixel underneath the mouse cursoras three-integer rgb tuple and as hex value the color itself appears in the color box in the window controlling the keyboard and mouse with gui automation