Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ VBscript
➜ Notepad windows; size/position
Notepad windows; size/position
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Morpheus
USA (6 posts) Bio
|
Date
| Wed 19 Mar 2003 10:15 PM (UTC) Amended on Wed 19 Mar 2003 10:28 PM (UTC) by Morpheus
|
Message
| 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 | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Thu 20 Mar 2003 02:33 AM (UTC) |
Message
| Unfortunately, I do not think you can programatically alter the position or size of those windows. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Dave
Australia (93 posts) Bio
|
Date
| Reply #2 on Thu 20 Mar 2003 01:30 PM (UTC) |
Message
| Hah Morpheus. Why did you smudge out your health/etc in the screenshot? As if anyone reading this forum cares :P | Top |
|
Posted by
| Morpheus
USA (6 posts) Bio
|
Date
| Reply #3 on Thu 20 Mar 2003 06:21 PM (UTC) |
Message
| 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 | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
17,946 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top