Advertisement
FALSkills

Untitled

May 9th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. for(Window window:windows){
  2. AccessibleContext c = window.getAccessibleContext();
  3. if(c != null){
  4. if("Script Manager".equals(c.getAccessibleName()) && window.isVisible()){
  5. System.out.println("Script manager is open!");
  6. return window;
  7. }
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement