Articles → AUTOMATION ANYWHERE → Screen shot of the screen region using automation anywhere

Screen shot of the screen region using automation anywhere






Python script




import pyautogui

pyautogui.screenshot("my_screenshot.png", region=(0,0, 300, 400))



Automation anywhere commands






Picture showing the Open Program/Files command popup window to open command prompt

Click to Enlarge



Picture showing the Insert Keystrokes popup window to execute cd command in command prompt

Click to Enlarge



Picture showing the delay window to add a delay of 2 seconds

Click to Enlarge



Picture showing the Insert Keystrokes popup window to execute the python script

Click to Enlarge


Output




Picture showing the screen shot using the python program

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Friday, May 31, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250