Sometimes you may want a window to be a certain size.
1. To maximize a window you may use maximize ECL command:
- to maximize main Eclipse window:
get-eclipse-window | maximize
- to maximize any window:
get-window "WindowTitle" | maximize
or
get-eclipse-window | get-object | invoke setMaximized true
2. To minimize a window:
get-eclipse-window | get-object | invoke setMinimized true
Note: sometimes you need to set Maximized to 'false' before minimizing.
get-eclipse-window | get-object | invoke setMaximized false
get-eclipse-window | get-object | invoke setMinimized true
3. To resize a window:
get-eclipse-window | get-object | invoke setSize 700 700