Use of 'Copy Selected Text' activity

@Dominic
Strange. Initially i didn’t made any change in the workflow which you send, but the activity send hotkey with ‘ctrl+a’ is actually being typed in the command prompt instead of performing select all.

As i said since it was failing, i replaced that activity with few send hotkey activities which sends ‘Alt+Space’, ‘e’ & ‘s’ & ‘enter’ so that it actually selects all the contents from the command prompt. Till here everything looks working fine.

After that i added a ‘Copy selected text’ activity to copy the content that has been selected in the command prompt and that’s where i am getting that error which i attached in the previous reply. Attached my workflow as well just in case it helps.
Main.xaml (14.7 KB)

Thanks & Regards,
Rammohan B.