I am trying to execute an external program-
net2phone(Its a freeware to make PC to Phone calls) from a
java program.
public class TestExec {
public static void main(
String[] args) throws Exception {
Process p = Runtime.getRuntime().exec(
"\"C:/Program Files/Net2Phone CommCenter/CommCtr.exe\"");
p.waitFor();
}
}
I want to use something similar to sendKeys in VB to send the number to be dialed automatically via the script. Can somebody help me with this or if any other command is available in java to accomplish this-
Thanks