cancel
Showing results for 
Search instead for 
Did you mean: 

Copy a file into the clipboard

MarkusReich
Level 3
Hi there,  I want to copy a pdf-file from the windows explorer into the clipboard (CTRL C) and paste it in another application. "Move File" or "Copy File" from VBO "Utility - File Management" is not working because i have to paste the file in a different application. Is there an easier way to do it instead of opening and spying windows explorer, click the file, send key event CTRL C?   thank you in advance Markus 
2 REPLIES 2

John__Carter
Staff
Staff
You can attach to explore.exe to spy the Windows desktop - that should allow you to send keys to Windows Explorer. Another idea is to create a new code stage to read a file path and copy the file to clipboard. Then you could use keystroke to past to the app.

MarkusReich
Level 3
Hi John,  will try this! Thank you for your fast response!  Best Markus