This content has been marked as final. Show 2 replies
Please try following code:
String userinput =JOptionPane.showInputDialog("Please enter input");
info("User input is"+userinput);
Note: if you don't find input dialog box, please minmize OpenScript and other applications.
Your code String x=new DataInputStream(System.in).readLine(); also works with openscript.
You need to enter the input from Console (view-->Console) and press enter.