Many of my popups include navigation to other popups. For example, if a given pressure sensor is used to determine the position of a valve, I can get to the valve popup from the sensor popup and vice versa. Most of my popups have the same dimensions, so the function system.nav.swapWindow works well. However, a few of my popups are bigger. The system.nav.swapWindow function forces the opened popup into the same dimensions as the closed popup.
Is there a way to swap to a new popup, such that the new popup is at the same coordinates as the old popup, but with its default dimensions?
.swapWindow is really designed for maximized main windows. I don't recall anyone using it with popups. You should just make a shared script that opens the new popup, moves it to the position of the old popup, and closes the old popup.