Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(Window window:windows){
- AccessibleContext c = window.getAccessibleContext();
- if(c != null){
- if("Script Manager".equals(c.getAccessibleName()) && window.isVisible()){
- System.out.println("Script manager is open!");
- return window;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement