I have the following code assigned to a function key in order to open and close various windows:
1. VI ON=2;VI ON=3;VI ON=4 (opens windows 1-4)
2. VI OF=2;VI OF=3;VI OF=4;VI OF=5;VI OF=6;VI OF=7;VI OF=8 (closes all but window 1)
How can I add a command to the first line to ARRANGE the windows when they all open and consequently MAXIMIZE window 1 when all others close in line 2?
Not sure if this is an option, but have you thought about using View Groups?
No. Honestly, I have never even heard of them.
To answer your question try the following.
dcfox341 said:1. VI ON=2;VI ON=3;VI ON=4 (opens windows 1-4)
VI ON=2;VI ON=3;VI ON=4;window arrange
dcfox341 said:2. VI OF=2;VI OF=3;VI OF=4;VI OF=5;VI OF=6;VI OF=7;VI OF=8 (closes all but window 1)
vi on=1;VI OF=2;VI OF=3;VI OF=4;VI OF=5;VI OF=6;VI OF=7;VI OF=8;window arrange
HTH...
~HTH
John.
yep
It helped, but how can I make it so ALL the windows fit view when they open? I had something that I thought was working, but now it doesn't. (Added ;fit view extended) at the end.
Hi dcfox341,
Try setting up the following function keys:
Key 1 should open views 1-4 and tile them within the available space.
Key 2 should open only view 1 and maximize it within the available space.
Regards,Ron
Answer Verified By: dcfox341