mIRC Home    About    Download    Register    News    Help

Print Thread
multiple editbox -n #269282 15/08/21 10:51 PM
Joined: Dec 2002
Posts: 234
T
Talon Offline OP
Fjord artisan
OP Offline
Fjord artisan
T
Joined: Dec 2002
Posts: 234
It appears multiple instances of /editbox defaults into only the last one being sent.

example:
//editbox -an A | editbox -an B | editbox -an C

even in debug, none of the other lines were sent, except for the last one, "C"

Notes:
mIRC 7.66 on Windows 10

Re: multiple editbox -n [Re: Talon] #269283 16/08/21 07:02 AM
Joined: Dec 2002
Posts: 5,107
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,107
See here for previous discussion.

Re: multiple editbox -n [Re: Talon] #269284 16/08/21 07:42 AM
Joined: Jan 2012
Posts: 198
Epic Offline
Vogon poet
Offline
Vogon poet
Joined: Jan 2012
Posts: 198
You can try adding timers on every next line to the command:
Code
//editbox -an test: 03A | .timerEB1 -m 1 1 editbox -an test: 04B | .timerEB2 -m 1 20 editbox -an test: 12C



🌐 irc.epicnet.ru 6667 #Code πŸ“œ mIRC scripts, help, discussion, analysis, examples
Re: multiple editbox -n [Re: Epic] #269286 17/08/21 04:14 AM
Joined: Feb 2003
Posts: 2,800
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,800
Khaled: A work-around to the SendMessage/PostMessage limitation would be possible if we had the means to use the /editbox command to populate multiple lines into multi-line editboxes. Then the batch could be sent all at once.

Code
//window -e2 @test | editbox -n @test /whois Raccoon $crlf /whowas Raccoon


As of right now, $crlf nor $lf nor $cr can be used to stimulate multiple lines in the editbox, and it makes me very sad and gosh dang frustrated. :'(


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: multiple editbox -n [Re: Raccoon] #269291 19/08/21 10:38 AM
Joined: Jan 2012
Posts: 198
Epic Offline
Vogon poet
Offline
Vogon poet
Joined: Jan 2012
Posts: 198
Originally Posted by Raccoon
As of right now, $crlf nor $lf nor $cr can be used to stimulate multiple lines in the editbox, and it makes me very sad and gosh dang frustrated. :'(

Yes, I also this noticed Β :-[ Β and it would be very useful to improve (develop) this function.
In addition, it would be helpful if we got a command to resize of the "Editbox" field to modes: "/editbox -m [Single,Multiple,Automatic,Pixels [N]] [window]".
And also, so that this field has the ability to automatically resize (in "Automatic" mode) when used the identifier $crlf for line break (linefeed down), when there is only one line in the text.

All this would be useful when creating scripts associated with this field for editing text.


🌐 irc.epicnet.ru 6667 #Code πŸ“œ mIRC scripts, help, discussion, analysis, examples