mIRC Home    About    Download    Register    News    Help

Print Thread
multiple editbox -n #269282 15/08/21 10:51 PM
Joined: Dec 2002
Posts: 229
T
Talon Offline OP
Fjord artisan
OP Offline
Fjord artisan
T
Joined: Dec 2002
Posts: 229
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,016
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,016
See here for previous discussion.

Re: multiple editbox -n [Re: Talon] #269284 16/08/21 07:42 AM
Joined: Jan 2012
Posts: 178
Epic Offline
Vogon poet
Offline
Vogon poet
Joined: Jan 2012
Posts: 178
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



πŸ…ΈπŸ†πŸ…² - 𝔦'𝔱𝔰 𝔸 π•‚π–ŽΙ΄π™™ ᴏ𝙛 π•„π™–π–Œπ™žπ™˜
Re: multiple editbox -n [Re: Epic] #269286 17/08/21 04:14 AM
Joined: Feb 2003
Posts: 2,784
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,784
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: 178
Epic Offline
Vogon poet
Offline
Vogon poet
Joined: Jan 2012
Posts: 178
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.


πŸ…ΈπŸ†πŸ…² - 𝔦'𝔱𝔰 𝔸 π•‚π–ŽΙ΄π™™ ᴏ𝙛 π•„π™–π–Œπ™žπ™˜