mIRC Home    About    Download    Register    News    Help

Print Thread
highlight in a dialog #207032 02/12/08 08:57 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
If you click on a line in a list, then it show it's highlighted, can i move that highlight true a alias? and if i can how do i do that?


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: highlight in a dialog [Re: sparta] #207033 02/12/08 09:20 PM
Joined: Mar 2007
Posts: 218
V
vexed2 Offline
Fjord artisan
Offline
Fjord artisan
V
Joined: Mar 2007
Posts: 218
It's part of your system colours i suspect, so you would have to go through .. right click desktop - properties/personalize > windows colours/appearance.

Re: highlight in a dialog [Re: vexed2] #207034 02/12/08 09:37 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
No, if i press a button i want the highligt to move ether to the next line or the previous line.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: highlight in a dialog [Re: sparta] #207036 02/12/08 10:02 PM
Joined: Jul 2006
Posts: 3,890
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,890
did -c dialog id line ?


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Re: highlight in a dialog [Re: Wims] #207050 03/12/08 04:06 AM
Joined: Aug 2005
Posts: 1,052
L
Lpfix5 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Originally Posted By: Wims
did -c dialog id line ?


To go down...

did -c dialog id $calc($did(dialog,id).sel + 1)

To go up...

did -c dialog id $calc($did(dialog,id).sel - 1)

ex:. of going down

did -c mirc 1 $calc($did(mirc,1).sel + 1)

mirc can be replaced with $dname if within the dialog event.


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }