mIRC Home    About    Download    Register    News    Help

Print Thread
#259954 14/02/17 02:09 PM
Joined: Feb 2003
Posts: 2,812
Raccoon Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
There is currently no way to populate the /editbox with multiple lines of text, unless a user is to CTRL+V their /clipboard contents to the editbox. I would like to populate the /editbox by using either the $LF character or $CRLF characters without the line being sent to the active window/channel.

If we argue that people already use $CRLF for the express purpose of sending the text to the active window, as if the user hit Enter, then may we compromise on $LF behaving as a multi-line clipboard paste or ALT+ENTER keystroke?

Otherwise an /editbox switch to explicitly define how $CRLF behaves in this regard.

Edit: The help file says the following:
Code:
The -n switch fills the editbox and presses the enter key in the editbox.

I feel the lack of the -n switch should suppress /editbox $CRLF from immediately sending to the window as if the enter key was pressed, and should instead act as a multi-line paste presently does.

Last edited by Raccoon; 14/02/17 02:40 PM.

Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145


#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard