I have the following code
import pyautogui
pyautogui.moveTo(612, 269)
pyautogui.doubleClick()
copiar = pyautogui.hotkey('ctrl', 'c')
colar = pyautogui.hotkey('ctrl', 'v')
resultado = colar
print(resultado)
but my print is returning "None". I know I could show the result of CTRL + V directly, but I want to do a repeat structure with the conditional
carregando = 'carregada '
pyautogui.moveTo(612, 269)
pyautogui.doubleClick()
copiar = pyautogui.hotkey('ctrl', 'c')
colar = pyautogui.hotkey('ctrl', 'v')
resultado = colar
if copiar == carregando:
copiar = pyautogui.hotkey('ctrl', 'c')