A better workaround than the one I suggested in my earlier post is to use the following script steps:
- Freeze Window
- Go to layout (Test Layout 2)
- Go to layout (Original layout)
- Move/Resize Window [Current Window; Width ; ( Get ( WindowWidth ) + 1
- Move/Resize Window [Current Window; Width ; ( Get ( WindowWidth ) - 1
This seems to work well when zoom in is set higher than 100%. It does not work for zoom levels under 100%.
OUPS! After testing, I realized that the workaround described in my previous post does not work properly where the script starts with a "Freeze window" script step... But this does: