Reset clipboard #1604
Unanswered
jbarriojim
asked this question in
Q&A
Reset clipboard
#1604
Replies: 1 comment
-
Ok, the problem was the next. Each time I console.log the variable, all the logs are printed: But, the variable itself has the last value copied. It is not intuitive, but it is working 😄 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using the command copyTextFrom and after I'm using the maestro.copiedText to access to the copied text. Now, if I copied other text with the same command the text is concatenated in a new line.
Then, my intention is try to empty the clipboard to copy the next text without the previous one. Some of my tries to empty it were:
- evalScript: ${maestro.copiedText=""}
It seems that is not removing the previous value.- evalScript: ${maestro.copiedText=null}
It seems that is not removing the previous value.- clearState
It close the application- pasteText
I tried to use the paste action over no element, but the step is properly executed and the clipboard still with the previous value.Do you have any idea about how to reset the clipboard of maestro.copiedText?
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions