how can you trigger pyautogui' fail-safe to stop programwhat function returns the current resolution()what function returns the coordinates for the mouse cursor' current position what is the difference between pyautogui moveto(and pyautogui move() what functions can be used to drag the mouse what function call will type out the characters of "helloworld!" how can you do keypresses for special keys such as the keyboard' left arrow key how can you save the current contents of the screen to an image file named screenshot png what code would set two-second pause after every pyautogui function call if you want to automate clicks and keystrokes inside web browsershould you use pyautogui or selenium what makes pyautogui error-prone how can you find the size of every window on the screen that includes the text notepad in its title how can you makesaythe firefox browser active and in front of every other window on the screenpractice projects for practicewrite programs that do the following looking busy many instant messaging programs determine whether you are idleor away from your computerby detecting lack of mouse movement over some period of time--say minutes maybe you're away from your computer but don' want others to see your instant messenger status go into idle mode write script to nudge your mouse cursor slightly every seconds the nudge should be small and infrequent enough so that it won' get in the way if you do happen to need to use your computer while the script is running using the clipboard to read text field while you can send keystrokes to an application' text fields with pyautogui write()you can' use pyautogui alone to read the text already inside text field this is where the pyperclip module can help you can use pyautogui to obtain the window for text editor such as mu or notepadcontrolling the keyboard and mouse with gui automation