Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How could I wait for a copy to clipboard to be done
#1
After push a button that gives me text to clipboard, it may takes a variable quantity of seconds (depending of the size text) and need to wait until this process has been finished before to go the next step in the macro.
Greetings.
#2
Please post the macro.
#3
Tongue I have solved it by waiting for a part the a window, the copy to clipboard button was in a modal and after click, it closes automatically so I waited for a specific area behind the modal.

the code is like 

 
Code:
Copy      Help
 
wait 3 S "image:h97BAE402" w 0 1|16|0x400 50; err
 mes F"No se encontró botón Copy to Clipboard Only: {_error.description}. Línea: {_error.line}"; end
lef
wait 15 S "image:hF60463E6" w 0 16 50; err
 mes F"No se copiaron los elementos al portapapeles a tiempo: {_error.description}. Línea: {_error.line}"; end

Regards.


Forum Jump:


Users browsing this thread: 1 Guest(s)