fix windows

Category: Data Display
Author:
Description: The DM window (image, results or script) sometimes unexpectedly jumps out of the working field of DigitalMicrograph. One can still see the part of the window but cannot properly move it or resize. In this case, the position of the left-upper corner of the window turns out to be negative. Maybe this bug is already fixed in the higher DM versions . For the lower versions, I suggest a simple script, which reset the position of the frontmost window to the positive values.
Script version: 1.0
DM/GMS version: 1.4.2
Script written as a function: No
Source: Show code
Download Source Code: Download