Answered
Hi,
I’m encountering an issue where I’m unable to assign a clipboard value to a variable after executing a Hotkey step with CTRL + C. I’ve tried various approaches, including adding pauses, repeating the CTRL + C command multiple times, and even using a Script Step, but none of these worked.
Below is the error I’m receiving:
Source: CopyClipboardToVariableStepHandler
- Marijano asked 4 weeks ago
- You must login to post comments
Best Answer
Hi,
I had the same issue, but I managed to resolve it using a Python Step. Below is the Python code that successfully performs the task, hope it helps!
import pyautogui
import time
# Optional: Wait a bit before performing the action
time.sleep(2)
# Press CTRL+C to copy
pyautogui.hotkey(‘ctrl’, ‘c’)
- Marijano answered 4 weeks ago
- You must login to post comments
Your Answer
Please login first to submit.