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!
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!