Page 1 of 1

system.callSystem problem

Posted: March 2nd, 2013, 4:05 pm
by tapsystem
Hi,

i'm trying to use system.callSystem to execute a command to copy an expression to the clipboard ( windows os)

the cmd is >echo aStringToCopyToClipBoard | clip , and it's work fine when execute in the windows cmd
but when i try to do it by the callSytem and can't get a good result ... :shock:

my script line : system.callSystem("cmd /k \"echo aStringToCopyToClipBoard | clip \"");

cmd windows popup, do action, but noting is past to the clipboard...

Thanks for your help
Mr

Re: system.callSystem problem

Posted: March 2nd, 2014, 12:43 pm
by Edu-im
Hi tapsystem

I was trying to execute the same task (copy to clipboard from AE) and I am having exactly the same problem. I've only realized that the problem involves the vertical bar (|). Did you get any satisfying result?

Thanks,
Edu