Now that many of us are opening MEDM windows from home on single display machines, some MEDMs appear off-screen because their origin coordinates have large values (normally in the X direction). If you are lucky, a sliver of the window edge is presented and you can grab and move the window into your display region.
I have written a python program which recursively drills down to all MEDM adl files linked from the SITEMAP.adl. Here is the current situation
| 5,723 | number of adl files linked to SITEMAP.adl whose origin coords were checked |
| 637 | files which could not be opened ** |
| 230 | number of adl files with origin coords out-of-bounds, of which: |
| 223 | are in svn and have no current modifications |
| 7 | are either not in svn or have mods |
I'm assuming a standard full-HD display resolution of 1920x1080 (1080i)
** Of the 637 files which are linked to SITEMAP but I was unable to open, 329 had macro expansions in their path which would require macro tracking to be added to my program. The other 308 did not exist, which presumably means stale related-display links in some MEDM files.
The next step is to resolve the 7 files with svn problems, and then auto-correct the origins for the 230 out-of-bounds files and commit these to svn.