How to detect an invisible window?

Hey Hans,

You only have two windows open in CafeTran?

You want to resize them the same or differently?

Be more specific.

Absolutely.

Keyboard Maestro should be able to do this by window-index.

Take a look at my List Windows Keyboard Maestro Can See macro to see how to iterate through them.

If all you want to do is resize them the same then something like this AppleScript will work:

tell application "System Events"
   tell application process "CafeTran"
      repeat with theWindow in (get windows)
         tell theWindow
            set {position, size} to {{0, 23}, {960, 1173}}
         end tell
      end repeat
   end tell
end tell

-Chris