[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Notepad
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Notepad

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Mccane   (28 posts)  [Biography] bio
Date Thu 04 Oct 2007 06:09 AM (UTC)
Message
I am working on a local editor for MOO. So far, I have it to where it appends the text to the notepad, that part works great. However, when I do something like (in Lua) while the screen is maximized:

ActivateNotepad("Trigger: localedit")
MoveNotepadWindow ("Trigger: localedit", 10, 10, 640, 480)

it minimizes all the other windows and shows the notepad to the size specifications I included, but the application bar with the X and minimize/maximize stuff is in the right hand corner (as the screens are maximized, but the setting is not).

This is fixed by not maximizing the window but expanding it as far as possible. This is aesthetically displeasing because of some overlap at the bottom and gap in the top. I'm wondering if there's a way I can get the world to be expanded fully but the notepad not to be.

I'm also having some trouble figuring how I'm going to get the notepad to be sent to the game (when I edit something, I set a variable to store the value @program #person:verbname as a variable that I figure I could use to just send directly. But I'm trying to figure out if there's a way I can send it from the notepad instead of switching to the game to send it). I guess I could also switch to the window and make an alias to call up the notepad contents and dump it into the program. I guess I'll go check to see if that function exists.

Any help with the above is welcome!
[Go to top] top

Posted by Nick Gammon   Australia  (21,651 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Thu 04 Oct 2007 06:40 AM (UTC)
Message
It is a characteristic of the way windows work (at least in MUSHclient) that if one "child" window of the program is maximized, they all are. There is no way around that, of which I am aware.

Quote:

I'm also having some trouble figuring how I'm going to get the notepad to be sent to the game


Do you mean Edit menu -> Send to <world name> ?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] 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.


2,578 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]