 |
shalimar GURU

Joined: 04 Aug 2002 Posts: 4717 Location: Pensacola, FL, USA
|
Posted: Sat Mar 08, 2003 7:57 pm
highlighting in child windows |
What would be the easiest way to transfer a numver of color triggers to a child window as well as the ever expanding variable lists of things to be colored
Shalimar
AIM: shalimarwildcat |
|
|
 |
TonDiening GURU

Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Sat Mar 08, 2003 11:29 pm |
Maybe its simpler to put the capture trigger "lower" than the coloring triggers.
In the settings editor, if you view only triggers, choose Class: All, view->sort by->none, you will see the order of the triggers. Drag and drop the capture to a child window trigger lower than the colorizing triggers.
That way you do not have to worry about duplicates or errors in not updating a child window.
Ton Diening |
|
|
 |
shalimar GURU

Joined: 04 Aug 2002 Posts: 4717 Location: Pensacola, FL, USA
|
Posted: Sun Mar 09, 2003 2:46 am |
hmm that doesnt seem to work but then im not using #CAP im using #WIN, perhaps i could have it copy the needed triggers and variables to the child window at connection and remove them on disconnect somehow
Shalimar
AIM: shalimarwildcat |
|
|
 |
TonDiening GURU

Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Sun Mar 09, 2003 7:30 am |
Ah ok. Then do something like:
In the child window, you can refer to the variables of the main session.
Main session's name:MyCharacter
Main session's variable:MyListToColor
Child Window:#TRIGGER {{@MyCharacter.MyListToColor}} {#CW 71}
Ton Diening |
|
|
 |
shalimar GURU

Joined: 04 Aug 2002 Posts: 4717 Location: Pensacola, FL, USA
|
Posted: Sun Mar 09, 2003 10:53 pm |
that works great, thanks
Shalimar
AIM: shalimarwildcat |
|
|
 |
shalimar GURU

Joined: 04 Aug 2002 Posts: 4717 Location: Pensacola, FL, USA
|
Posted: Mon Mar 10, 2003 8:28 pm |
Ok something odd is happening, its working fine but it seems to have changed the defualt text color of the child window from 11 to 6, rather annoying
Shalimar
AIM: shalimarwildcat |
|
|
 |
TonDiening GURU

Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Mon Mar 10, 2003 8:50 pm |
I haven't tested this but give this a try:
Sildaren:
quote:
If you want to avoid capturing the internal output of 'show triggers', you can use #WINDOW, instead of #CAPTURE
#TRIGGER {tells you,} {#WINDOW tell %trigger}
You need to enable the 'ansi trigger' option for the trigger in the settings editor, it will grab multicolored lines properly.
Ton Diening |
|
|
 |
|
|