Do such options already exist that have the same effect?
I am primarily interested in being able to have a macro that toggles between the maximized state and regular state of a world window, and hence, the rest of the MDI children.
Something like alt+m which would send
Though I do not know how to check for the maximized state, since I open maximized, it is not hard to track in a variable.
I understand this is somewhat achievable using the MDI keyboard shortcuts, like alt+- and then r to restore, and alt+- and then x to maximize, but they seem a bit cumbersome. Perhaps instead, is it possible to just put these into a macro?
I am primarily interested in being able to have a macro that toggles between the maximized state and regular state of a world window, and hence, the rest of the MDI children.
Something like alt+m which would send
/if maximized then
DoCommand("Restore")
else
DoCommand("Maximize")
endThough I do not know how to check for the maximized state, since I open maximized, it is not hard to track in a variable.
I understand this is somewhat achievable using the MDI keyboard shortcuts, like alt+- and then r to restore, and alt+- and then x to maximize, but they seem a bit cumbersome. Perhaps instead, is it possible to just put these into a macro?