Collection information that changes every .5 seconds.

Asked by Brade

I am looking to use Sikuli to create an automation of some processes that I do manually now. In order to do this I need to collect data that changes very quickly then take the average of that data and store it to a parameter that is changed. I was wondering if this is something that Sikuli is capable of doing? Take two text lines every .5 seconds for 10 seconds and save that data to a spreadsheet under a certain parameter, then change that parameter and repeat the process x number of times? I know this is hard to understand and any help is appreciated.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
obiwan-92 (obiwan-92) said :
#1

Hello,

You can try to use the OCR feature with the function text().

O r you also can a copy/paste of your text with the command :
type('c', KeyModifier.CTRL)
text = Env.getClipboard()

Regards.

Can you help with this problem?

Provide an answer of your own, or ask Brade for more information if necessary.

To post a message you must log in.