Hi Everyone,
I'm trying to retrieve a portion of a text string from a Java window. The text is an output indicating when the process starts and ends.
This is what the display on the Java window looks like as time goes on.
10:44:29 Process begins
10:44:29 Process running
10:46:30 Process stopped
I'm trying to get the first "time" HH:MM:SS where the process begin "10:44:29" and save this into a variable so I can verify this time with other area on the Java application where this time also appears.
This is the string that gets generated when I clicked on the text area on the Java window.
JavaWindow("Trading Application").JavaInternalFrame("Process Progress...").JavaEdit("JTextArea").SetCaretPos 0,9
I've tried using ToString, but that did not work.
I would appreciate it if anyone can give me any suggestions.
Thank you very much,
Mark
I'm trying to retrieve a portion of a text string from a Java window. The text is an output indicating when the process starts and ends.
This is what the display on the Java window looks like as time goes on.
10:44:29 Process begins
10:44:29 Process running
10:46:30 Process stopped
I'm trying to get the first "time" HH:MM:SS where the process begin "10:44:29" and save this into a variable so I can verify this time with other area on the Java application where this time also appears.
This is the string that gets generated when I clicked on the text area on the Java window.
JavaWindow("Trading Application").JavaInternalFrame("Process Progress...").JavaEdit("JTextArea").SetCaretPos 0,9
I've tried using ToString, but that did not work.
I would appreciate it if anyone can give me any suggestions.
Thank you very much,
Mark