Notepad windows; size/position

Posted by Morpheus on Wed 19 Mar 2003 10:15 PM — 4 posts, 22,534 views.

USA #0
I dug up several topics here about notepad windows, but wasnt able to find the answer to my specific question which is this:

Is there a way to programmatically size and position a notepad windows opened in vbscript?

I am using Triggers to call Subs which use AppendToNotepad to populate a 'Thoughts' windows with telepathic messages and an 'Arrivals' window with logins and logouts.

I keep my Game window in the lower 80% of the available screen, and the upper 20% i leave for these 2 windows (screenshot at http://members.aol.com/revenant8/Morpheus/screenshot3.gif). I gathered that as MDI child window they cannot be made 'AlwaysOnTop' but that is fine, I do not want them to show up on top of my game window.

I do not open these windows on startup, i just let them open themselves as i get the first Trigger match for each, but they open as vbDefault or whatever as far as position, so for each session i have to grab them and move them into position and resize them once each.

Is there a way to make vbs do that for me? If not, might i suggest a way to 'save' size and position settings for a given named window?

-Brian
Amended on Wed 19 Mar 2003 10:28 PM by Morpheus
Australia Forum Administrator #1
Unfortunately, I do not think you can programatically alter the position or size of those windows.
Australia #2
Hah Morpheus. Why did you smudge out your health/etc in the screenshot? As if anyone reading this forum cares :P
USA #3
Ah i made that screenshot for my own gaming cummunity, to demonstrate to them a plugin that displays the hps and ftg in meters in the infobar i put up for download.

Thanks for the quick response Nick. I will survive without the resizing, was just wondering.

-brian