one of the eight copy or log buttons the copy allcopy xycopy rgband copy rgb hex buttons will copy their respective information to the clipboard the log alllog xylog rgband log rgb hex buttons will write their respective information to the large text field in the window you can save the text in this log text field by clicking the save log button by defaultthe sec button delay checkbox is checkedcausing three-second delay between clicking copy or log button and the copying or logging taking place this gives you short amount of time in which to click the button and then move the mouse into your desired position it may be easier to uncheck this boxmove the mouse into positionand press the to keys to copy or log the mouse position you can look at the copy and log menus at the top of the mouseinfo window to find out which key maps to which buttons for exampleuncheck the sec button delaythen move the mouse around the screen while pressing the buttonand notice how the xand -coordinates of the mouse are recorded in the large text field in the middle of the window you can later use these coordinates in your pyautogui scripts for more information on mouseinforeview the complete documentation at working with the screen your gui automation programs don' have to click and type blindly pyautogui has screenshot features that can create an image file based on the current contents of the screen these functions can also return pillow image object of the current screen' appearance if you've been skipping around in this bookyou'll want to read and install the pillow module before continuing with this section on linux computersthe scrot program needs to be installed to use the screenshot functions in pyautogui in terminal windowrun sudo apt-get install scrot to install this program if you're on windows or macosskip this step and continue with the section getting screenshot to take screenshots in pythoncall the pyautogui screenshot(function enter the following into the interactive shellimport pyautogui im pyautogui screenshot(the im variable will contain the image object of the screenshot you can now call methods on the image object in the im variablejust like any other image object has more information about image objects