mIRC Home    About    Download    Register    News    Help

Print Thread
#40130 07/08/03 12:30 AM
Joined: Feb 2003
Posts: 38
C
cvic Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Feb 2003
Posts: 38
How can I deselect a line in a listbox?
You can do it by holding CTRL and left click, but is it possible to do it with script?

#40131 07/08/03 12:34 AM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
is it mircs main listbox or a dialog listbox?


new username: tidy_trax
#40132 07/08/03 01:04 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
If you mean dialog list box use this:
/did -u dialogname id linenumber
i.e
/did -u dialog 1 4.
That would uncheck line 4 in the list box.

#40133 07/08/03 01:06 AM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
and if u mean main listbox its:
/sline -r #channel - for all selections
/sline -r <name> - for nickname
/sline -r <number> - nth line in listbox



new username: tidy_trax
#40134 07/08/03 02:55 AM
Joined: Feb 2003
Posts: 38
C
cvic Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Feb 2003
Posts: 38
No. Sorry.
I mean listboxes in custom windows.

#40135 07/08/03 03:01 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
/sline -r @Window

#40136 07/08/03 03:12 AM
Joined: Feb 2003
Posts: 38
C
cvic Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Feb 2003
Posts: 38
Ehm, OK blush
Easier than I thought. As always...
Thanks.


...But... The help file only says: The -r switch is used with /cline to reset a nickname color in a channel listbox to the default color.

#40137 07/08/03 08:28 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Well, it works doesn't it? grin

#40138 07/08/03 09:43 PM
Joined: May 2003
Posts: 215
Fjord artisan
Offline
Fjord artisan
Joined: May 2003
Posts: 215
From the help file...
Search: /sline
mIRC Commands p to z.
---
/sline [-a|r] <#channel> <N|nick>

Selects or deselects lines in a channel nickname listbox.
It can select either the Nth nickname in a listbox, or a specified
nickname.

If you do not specify any switches, any existing selections
in the listbox are cleared. If you specify the -a switch then
the specified is selected without affecting the selection
states of other lines. If you specify the -r switch then the
specified item is deselected.


- Jason
#40139 07/08/03 10:59 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Mine was just a guess. I hardly ever use the mIRC help file.


Link Copied to Clipboard