system.callSystem and clipboard not working
Posted: April 4th, 2014, 3:13 pm
Hi all
I know this issue has been previously discussed in this forum, but it had no response. So I ask again.
The problem is that the usual Windows "copy to clipboard" command doesn't work via AE.
does work in command.exe, but if you call the same process via system.callSystem this way
it does nothing.
Does anyone know how to make it work?
Thanks
I know this issue has been previously discussed in this forum, but it had no response. So I ask again.
The problem is that the usual Windows "copy to clipboard" command doesn't work via AE.
Code: Select all
echo string | clipboard
does work in command.exe, but if you call the same process via system.callSystem this way
Code: Select all
var myString = "Hello world";
system.callSystem("cmd /k \"echo " + myString + " | clip\"");
Does anyone know how to make it work?
Thanks