dispose or setvisible(false) input

Asked by fernando gandini

hi guys,
there is any way that i can `dispose` a input method from sikuli or set your visibility to false?

because i have to threads running, at the first i have the input dialog and at the second i have a timer, so when the timer counts to 5 i want that the input dialog disappear...

can i do it from sikuli or using java?

thanks

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
RaiMan (raimund-hocke) said :
#1

This is not a feature of Sikuli nor of the underlying Java feature JoptionPane from the AWT package.

In the second thread you might try to click ok on the input. this should be rather easy, since it pops up in the middle of the screen.

The other option is to make your own input dialog using Java directly in your script. Then you might implement a logic, that lets it disappear again after some given time.

Can you help with this problem?

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

To post a message you must log in.