Editor idea (Notepad)

Posted by Simon on Thu 25 Apr 2002 02:14 PM — 7 posts, 30,847 views.

Sweden #0
How about adding so that you can 'spew' the notepad to a world? Like, send all the text that's in it without copy / paste... would be nice if it could be assigned to like ctrl + a key (u perhaps?)

Oh btw, it would be really nice if you could put up somewhere on the site where we can see the idea list or something, as in things that might come to the client in the future? :)

Best regards,
Simon
Canada #1
This is possible via scripting...


Sub Send_File(AliasName, AliasLine, arrWildcards)
  Dim FSO, TextFile
  Dim sFilename
  SFilename = "C:\MudStuff.txt"
  Set FSO = CreateObject("Scripting.FileSystemObject")
  Set TextFile = FSO.OpenTextFile(sFilename,1)
  Do While TextFile.AtEndOfStream <> True
    World.Send TextFile.ReadLine
  Loop
  Set TextFile = Nothing
  Set FSO = Nothing
End Sub


Of course, set "sFilename" to the appropriate file path and name.

Ok, I've edited this post to make it complete, the above should work, although I have not tested it. There may be instances where you would prefer to use a script file to do the task, rather then using the mushclient menu's. (Like when using a trigger).
Amended on Fri 26 Apr 2002 06:50 PM by Magnum
Australia Forum Administrator #2
Quote:

How about adding so that you can 'spew' the notepad to a world? Like, send all the text that's in it without copy / paste... would be nice if it could be assigned to like ctrl + a key (u perhaps?)


That is there already. See the Edit menu -> Send to <worldname>. The key is Shift+Ctrl+S (S for Send).

It will send the entire window, or the selection, depending on whether you have a selection or not.
Australia Forum Administrator #3

    Oh btw, it would be really nice if you could put up somewhere on the site where we can see the idea list or something, as in things that might come to the client in the future? :)

See: MUSHclient bugs and suggestions and then follow the link for 'List all suggestions for enhancements' or 'List all known (outstanding) bugs'.

Also see Release notes for MUSHclient version 3.18 to see what has already made it into the next version.

You can also view Bugs fixed, suggestions implemented in version 3.18

Amended on Fri 26 Apr 2002 06:50 AM by Nick Gammon
Canada #4
I've edited my earlier post to make it complete.
USA #5
I think specifically may of been referring to the fact if you just open up a notepad window it creates what I refer to as a general notepad (not connected to a particular world). In the general notepad there is no option to send the data to any of the worlds as there isn't neccesarily a world to send to.

You basically would have to create an additional world specific notebook window than cut/copy from the general notepad pasting the information to the world-specified notepad. You then can send to the text to the world.
Australia Forum Administrator #6
I usually use Ctrl+Alt+Space to create a notepad window. This is easy to remember, and anchors it to the world I was in when I typed it. Then I can use Ctrl+Alt+Space to switch back and forth between the world and the notepad.

However if you accidentally create a non-anchored one, just select all, copy, close that one, create a new one and paste. That isn't much work.