mIRC Home    About    Download    Register    News    Help

Print Thread
M
MauS
MauS
M
I badly need my script to work with selected text in the active editbox.

There should be a way to get the selection's beginning and ending positions at least... Or directly getting selected text and pasting new text instead of selected one.

Please, teach me how to do that.
Thanks for your attention and help.

Joined: Sep 2004
Posts: 237
J
Fjord artisan
Offline
Fjord artisan
J
Joined: Sep 2004
Posts: 237
$did(id).seltext ....... a little bit of the code would help.

D
DaveC
DaveC
D
if u mean /editbox and $editbox then you cant it only lets u set what text u want in there and tells you what text is in there. Bit of a bummer for auto correction since evertime you replace the text the cursors at the end.

Joined: Sep 2004
Posts: 237
J
Fjord artisan
Offline
Fjord artisan
J
Joined: Sep 2004
Posts: 237
huh grin

EDIT: lol.... nevermind.... I had dialogs on the brain. Been using them too much lately.

Last edited by JAFO; 21/01/05 09:50 PM.
Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
I was thinking that. The edit box in a dialog. So I didn't reply incase it wasn't.

M
MauS
MauS
M
Actually i meant an editbox of a channel/query/status window.

...Is it really impossible? blush

Joined: Feb 2004
Posts: 2,013
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Feb 2004
Posts: 2,013
Not possible with the built-in commands.

Perhaps there is a DLL out there that could do what you want, though I don't know any.


Link Copied to Clipboard