Jump to content

Acerd

Scripter I
  • Posts

    5430
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    100%

Posts posted by Acerd

  1. you could use conditionalsleep

     

    Example; This will sleep for 500 if condition is true (which is if the specific widget is not visible.)

    new ConditionalSleep(500) {
     @Override
          public boolean condition() throws InterruptedException {
           return !getWidgets().isVisible(parent,child);
          }
    }.sleep();
    
×
×
  • Create New...