- Put your file in specific folder.
- Use sendhotkey and send CTRL+c and indicate on screen the file which you want to copy.
- Perform a click action where you want to save, in your case the comment section.
- Use sendhotKey and send CTRL+v and indicate on screen the comment section.
If there is a single file, there will not be any issue.
But if there are multiple files, you should be knowing which file to copy to your comment section, i had indicated the screen for multiple files in the folder and i got the below selector.
If you notice the selector has filename as “sum.xlsx”, and you have to make this selector as dynamic such that when you pass the file name in that selector so it copies the exact file, you have to do it for sendhotkey,send CTRL+c
I have done for outlook, i have copied file from folder and pasted in outlook and it works fine, can you give a try for your workflow.