Beside resizing the window, it can also change the position on the screen of this window.
Using it is straightforward:
Some remarks.
Using it is straightforward:
- Start the script (I have mine as an autoexec keystroke alias: @@Shift-F12=`@^e"c:\path\to\resize.btm"`)
- Use the cursor keys to resize the window. The top/left position stays fixed
- Use the Control-cursor keys to change the position of the window on your screen. The size of the window stays fixed.
- If you like the new size /position, press [Enter].
Some remarks.
- The script also restores your original screen buffer size ("scroll back buffer") if it is smaller than the original. If it is larger than the original, it will use the larger size.
If you don't like that behaviour, remove the matching lines under CASE @28 :: Enter - I wrote the "option-script" ( [title] ) for this: to be able to change the size of the steps for resize/reposition "on the fly". In the end it just seemed overkill and I left it out.
- Will not work in TCMD tab (script will quit in that case)
- There is a lot more on the subject of resizing windows; this script tries to avoid as much of that complexity as possible.
Attachments
Last edited: