• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSX Programmable switch , help needed ?

Messages
542
Country
australia
I need a switch that can be set or programmed to repeat it's switching functions by the set number of times , and to space each switch by a time interval that can also be set.

That might be confusing , the following steps might be clearer.

Step 1. Set the number of times that the switching function is to be repeated.

Step 2. Set time interval required between each switching.

Step 3. Single click initiates switch sequence.

For example you might want 6 switch cycles each spaced half a second apart , with the whole process initiated by a single click.

How do I implement multiple switching ?

Cheers
Karol
 
Providing I understood you well, here you have a pseudocode as a reference:

Step 1 = n (>L:NumberOfTimes,enum)
Step 2 = i (>L:Interval, seconds)
Step 3 =

Code:
<Click>
  (L:NumberOfTimes) (>L:Repeat) (P:Absolute Time,seconds) (L:Interval,seconds) - (>L:Elapsed,seconds)
</Click>

And the cycle:

Code:
(L:Repeat) 0 >
if{
    (P:AbsoluteTime) (L:Elapsed) - (L:Interval) >
    if{ 
         Do Something 
         (P:AbsoluteTime) (>L:Elapsed)
         (L:Repeat) -- (>L:Repeat) 	
        )
    }

Tom
 
Thank you Tom.
That does seem to be what I'm after.
I will try that , and see how I go.

Cheers
Karol
 
I tried the above format , but unable to get it working .
Obviously I have something wrong .

Can anyone see what I'm doing wrong in the following ?

Cheers
Karol
HTML:
<Gauge Name="BOMB RELEASE Switch" Version="1.0">
//By Karol Chlebowski @ 2013 **
<Update Hidden="Yes">
(L:Repeat) 0 &gt;
if{
    (P:AbsoluteTime) (L:Elapsed) - (L:F111_Interv_Sum) &gt;
    if{ 
        (L:RELEASE DROPPABLE OBJECTS)
         (P:AbsoluteTime) (&gt; L:Elapsed)
         (L:Repeat) -- (&gt; L:Repeat)
        }
    }
</Update>

        <Element>
          <Position X="0" Y="0"/>
          <Rectangle Height="104" Width="68" LineWidth="2" Color="#4B4B4B" FillColor="#111111" Bright="Yes"/>
        </Element>	

      <Element>
          <Position X="14" Y="3"/>
           <Text X="42" Y="12" Bright="Yes" Length="6" Font="Tahoma" FontSize="10" Color="#6E98CA" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
            <String>%BOMB%</String>
           </Text>
    </Element>


<!-- REPEAT SWITCHING # NUMBER #   Thumbwheel text display     TENS and UNITS-->	
	        <Element>
	  	      <Position X="2" Y="22"/>
			  <FormattedText X="40" Y="10" Font="Tahoma" FontSize="8" LineSpacing="10" Adjust="LEFT" Color="#6E98CA" Bright="Yes">
            <String>%"No"%</String>
          </FormattedText>
			</Element>
	        
	        <Element Name="10 BORDER">	
		      <Position X="24" Y="22"/>
		      <Rectangle Width="12" Height="13" Color="#3B3B3B" Bright="Yes"/>			
	        </Element>
			<Element>
              <Position X="26" Y="24"/>
              <Text X="10" Y="9" Bright="Yes" Length="2" Font="Arial" Color="0xDACEDE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
                <String>%((L:F111_Nbr_10s, number))%!d!%</String>
              </Text>
            </Element>
			
			<Element Name="1 BORDER">	
		      <Position X="38" Y="22"/>
		      <Rectangle Width="12" Height="13" Color="#3B3B3B" Bright="Yes"/>			
	        </Element>
			<Element>
              <Position X="40" Y="24"/>
              <Text X="10" Y="9" Bright="Yes" Length="2" Font="Arial" Color="0xDACEDE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
                <String>%((L:F111_Nbr_1s, number))%!d!%</String>
              </Text>
            </Element>
	<!--Thumbwheel  SUM defined  -ADDS tens and units-->				
			<Element>
              <Position X="65" Y="3"/>
              <Text X="1" Y="1" Bright="Yes" Length="3" Font="Arial" Color="0x000000" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
				<String>%((L:F111_Nbr_10s, number) 10 * (L:F111_Nbr_1s, number) + (&gt; L:F111_Nbr_Sum, number))%!02d!%</String>
              </Text>
            </Element>	
			
			
<!--TIME  INTERVAL SECONDS  ( 0.00 ) Thumbwheel text display    -->	
	        <Element>
	  	      <Position X="2" Y="48"/>
			  <FormattedText X="20" Y="10" Font="Tahoma" FontSize="8" LineSpacing="10" Adjust="LEFT" Color="#6E98CA" Bright="Yes">
                <String>%"TI"%</String>
              </FormattedText>
			</Element>
	       
	        <Element Name="1 BORDER">	
		      <Position X="22" Y="48"/>
		      <Rectangle Width="12" Height="13" Color="#3B3B3B" Bright="Yes"/>			
	        </Element>
			<Element Name="0.10 BORDER">	
		      <Position X="39" Y="48"/>
		      <Rectangle Width="12" Height="13" Color="#3B3B3B" Bright="Yes"/>			
	        </Element>
			<Element Name="0.01 BORDER">	
		      <Position X="52" Y="48"/>
		      <Rectangle Width="12" Height="13" Color="#3B3B3B" Bright="Yes"/>			
	        </Element>			
			
			
<!--Unit ( 1.00 )-->				
			<Element>
              <Position X="24" Y="50"/>
              <Text X="10" Y="9" Bright="Yes" Length="2" Font="Arial" Color="0xDACEDE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
                <String>%((L:F111_Interv_1s, seconds))%!d!%</String>
              </Text>
            </Element>
<!--Decimal point (  . )-->				
	        <Element>
	  	      <Position X="34" Y="47"/>
			  <FormattedText X="5" Y="9" Font="Tahoma" FontSize="8" LineSpacing="10" Adjust="Center" Color="0xDACEDE" Bright="Yes">
            <String>%.%</String>
          </FormattedText>
			</Element>			
<!--Tenths ( 0.10 )-->				
			<Element>
              <Position X="41" Y="50"/>
              <Text X="10" Y="9" Bright="Yes" Length="2" Font="Arial" Color="0xDACEDE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
                <String>%((L:F111_Interv_0.10s, seconds))%!d!%</String>
              </Text>
            </Element>
<!--Hundreths ( 0.01 )-->				
			<Element>
              <Position X="54" Y="50"/>
              <Text X="10" Y="9" Bright="Yes" Length="2" Font="Arial" Color="0xDACEDE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
                <String>%((L:F111_Interv_0.01s, seconds))%!d!%</String>
              </Text>
            </Element>			
	<!--Thumbwheel  SUM defined  -ADDS Unit ( 1.00 ) and Tenths ( 0.10 ) and  Hundreths ( 0.01 )-->				
			<Element>
              <Position X="2" Y="3"/>
              <Text X="1" Y="1" Bright="Yes" Length="3" Font="Arial" Color="0x000000" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
				<String>%((L:F111_Interv_1s, seconds) (L:F111_Interv_0.1s, seconds) 0.1 * + (L:F111_Interv_0.01s, seconds) 0.01 * + (&gt; L:F111_Interv_Sum, seconds))%!02d!%</String>
              </Text>
            </Element>
			
      <Element>
          <Position X="14" Y="66"/>
           <Text X="42" Y="12" Bright="Yes" Length="9" Font="Tahoma" FontSize="10" Color="#6E98CA" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
            <String>%Release%</String>
           </Text>
    </Element>
        <Element>
          <Position X="25" Y="80"/>
          <Rectangle Height="20" Width="20" LineWidth="2" Color="#3B3B3B" FillColor="#2B2B2B" Bright="Yes"/>
        </Element>				

   
   <Mouse>
 <!-- REPEAT SWITCHING # NUMBER #   Thumbwheel text display     TENS and UNITS-->	  
 <Macro Name="Button1">(M:Event) 'RightSingle' scmp 0 == if{ (L:F111_Nbr_10s, number) -- 0 max (&gt; L:F111_Nbr_10s, number) }
    	(M:Event) 'LeftSingle' scmp 0 ==  if{ (L:F111_Nbr_10s, number) ++ 9 min (&gt; L:F111_Nbr_10s, number) }
    	(M:Event) 'WheelUp' scmp 0 == if{ (L:F111_Nbr_10s, number) ++ 9 min (&gt; L:F111_Nbr_10s, number) }
    	(M:Event) 'WheelDown' scmp 0 == if{ (L:F111_Nbr_10s, number) -- 0 max (&gt; L:F111_Nbr_10s, number) }</Macro>  
    <Area Left="24" Top="22" Width="12" Height="20">
  <Tooltip>Tens</Tooltip> 
  <Click Kind="LeftSingle+RightSingle+WheelUp+WheelDown">@Button1</Click> 
  <Cursor Type="Hand" />
  </Area> 
 <Macro Name="Button2">(M:Event) 'RightSingle' scmp 0 == if{ (L:F111_Nbr_1s, number) -- 0 max (&gt; L:F111_Nbr_1s, number) }
    	(M:Event) 'LeftSingle' scmp 0 ==  if{ (L:F111_Nbr_1s, number) ++ 9 min (&gt; L:F111_Nbr_1s, number) }
    	(M:Event) 'WheelUp' scmp 0 == if{ (L:F111_Nbr_1s, number) ++ 9 min (&gt; L:F111_Nbr_1s, number) }
    	(M:Event) 'WheelDown' scmp 0 == if{ (L:F111_Nbr_1s, number) -- 0 max (&gt; L:F111_Nbr_1s, number) }</Macro>  
   <Area Left="38" Top="22" Width="12" Height="20">
  <Tooltip>Units</Tooltip> 
  <Click Kind="LeftSingle+RightSingle+WheelUp+WheelDown">@Button2</Click>
  <Cursor Type="Hand" />
  </Area> 
<!--TIME  INTERVAL SECONDS  ( 0.00 ) Thumbwheel text display    --> 
 <Macro Name="Button2">(M:Event) 'RightSingle' scmp 0 == if{ (L:F111_Interv_1s, seconds) -- 0 max (&gt; L:F111_Interv_1s, seconds) }
    	(M:Event) 'LeftSingle' scmp 0 ==  if{ (L:F111_Interv_1s, seconds) ++ 9 min (&gt; L:F111_Interv_1s, seconds) }
    	(M:Event) 'WheelUp' scmp 0 == if{ (L:F111_Interv_1s, seconds) ++ 9 min (&gt; L:F111_Interv_1s, seconds) }
    	(M:Event) 'WheelDown' scmp 0 == if{ (L:F111_Interv_1s, seconds) -- 0 max (&gt; L:F111_Interv_1s, seconds) }</Macro>  
   <Area Left="22" Top="48" Width="12" Height="20">
  <Tooltip>1.00s</Tooltip> 
  <Click Kind="LeftSingle+RightSingle+WheelUp+WheelDown">@Button2</Click>
  <Cursor Type="Hand" />
  </Area>  
 <Macro Name="Button2">(M:Event) 'RightSingle' scmp 0 == if{ (L:F111_Interv_0.10s, seconds) -- 0 max (&gt; L:F111_Interv_0.10s, seconds) }
    	(M:Event) 'LeftSingle' scmp 0 ==  if{ (L:F111_Interv_0.10s, seconds) ++ 9 min (&gt; L:F111_Interv_0.10s, seconds) }
    	(M:Event) 'WheelUp' scmp 0 == if{ (L:F111_Interv_0.10s, seconds) ++ 9 min (&gt; L:F111_Interv_0.10s, seconds) }
    	(M:Event) 'WheelDown' scmp 0 == if{ (L:F111_Interv_0.10s, seconds) -- 0 max (&gt; L:F111_Interv_0.10s, seconds) }</Macro>  
   <Area Left="44" Top="48" Width="12" Height="20">
  <Tooltip>0.10s</Tooltip> 
  <Click Kind="LeftSingle+RightSingle+WheelUp+WheelDown">@Button2</Click>
  <Cursor Type="Hand" />
  </Area> 
 <Macro Name="Button2">(M:Event) 'RightSingle' scmp 0 == if{ (L:F111_Interv_0.01s, seconds) -- 0 max (&gt; L:F111_Interv_0.01s, seconds) }
    	(M:Event) 'LeftSingle' scmp 0 ==  if{ (L:F111_Interv_0.01s, seconds) ++ 9 min (&gt; L:F111_Interv_0.01s, seconds) }
    	(M:Event) 'WheelUp' scmp 0 == if{ (L:F111_Interv_0.01s, seconds) ++ 9 min (&gt; L:F111_Interv_0.01s, seconds) }
    	(M:Event) 'WheelDown' scmp 0 == if{ (L:F111_Interv_0.01s, seconds) -- 0 max (&gt; L:F111_Interv_0.01s, seconds) }</Macro>  
   <Area Left="57" Top="48" Width="12" Height="20">
  <Tooltip>0.01s</Tooltip> 
  <Click Kind="LeftSingle+RightSingle+WheelUp+WheelDown">@Button2</Click>
  <Cursor Type="Hand" />
  </Area>    
  <Area Left="25" Top="80" Width="21" Height="22">
  <Tooltip>Drop Bombs</Tooltip> 
<Click>(L:F111_Nbr_Sum, number) (>L:Repeat) (P:Absolute Time,seconds) (L:F111_Interv_Sum, seconds) - (>L:Elapsed,seconds)</Click>
  <Cursor Type="Hand" />
  </Area>   
   </Mouse>
</Gauge>
 
The proper writing is not (L:RELEASE DROPPABLE OBJECTS) but:

(>K:RELEASE_DROPPABLE_OBJECTS)

Tom
 
I had tested it with each of the following:
(L:RELEASE DROPPABLE OBJECTS)
(L:RELEASE_DROPPABLE_OBJECTS)
(K:RELEASE_DROPPABLE_OBJECTS)
(>K:RELEASE_DROPPABLE_OBJECTS)

The problem appears to be elsewhere in the instrument.

Visually both thumbwheels are working:
"No" = number of bombs to be released per click.
"TI" = time interval in seconds between bomb releases.

The following code adds the time interval elements.
ie; 1.00 + 0.20 + 0.02 = 1.22 seconds.

Does it look correct ?
HTML:
	<!--Thumbwheel  SUM defined  -ADDS Unit ( 1.00 ) and Tenths ( 0.10 ) and  Hundreths ( 0.01 )-->				
	<Element>
              <Position X="2" Y="3"/>
              <Text X="1" Y="1" Bright="Yes" Length="3" Font="Arial" Color="0x000000" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
				<String>%((L:F111_Interv_1s, seconds) (L:F111_Interv_0.1s, seconds) 0.1 * + (L:F111_Interv_0.01s, seconds) 0.01 * + (&gt; L:F111_Interv_Sum, seconds))%!02d!%</String>
              </Text>
            </Element>

Cheers
Karol
 
Karol,

Check (L:F111_Nbr_Sum, number); you are actualizing this in an <Element> which executes continuously, shouldn't be actualized with a <Mouse> routine instead?

And the same for (L:F111_Interv_Sum, seconds) ?
Tom

EDIT: Never mind the above, I've found you have <Macro Name="Button2"> twice defined. Just change the last <Macro Name="Button2"> with <Macro Name="Button3"> and change to @Button3 in the <Click> section.
 
Last edited:
This error will absolutely kill the evaluation (pun intended):

Code:
(P:AbsoluteTime)

You have to be absolutely perfect with your scripts. The absolutely correct syntax is:

Code:
(P:Absolute Time, seconds)

Note especially the space between "Absolute" and "Time", as well as the "units". Oddly enough though, capitalization isn't critical whereas the space is critical. ;)
 
Tom

Thank you.
I feel such a fool for overlooking that , I have changed it I now have:
Button1 through to Button6.

The time interval thumbwheel allows , each of the following to be individually set,
(1) Units , 1 to 9 seconds.
(2) Tenths of a second.
(3) Hundreths of a second

These are then added and defined by the above section of script which is a invisible colour.
This summation is then used as follows,
(L:Interval) = (L:F111_Interv_Sum)

I did a text readout for the above time interval summation of the 3 thumbwheel elements and found that the addition code is only adding the first and third element , the second element is being missed.

Is there a correct way to add three elements together ?

Cheers
Karol
PS: are tenths and hundreths of a second allowed , or is time all based on a 60 value ?
 
Last edited:
Fr Bill

Your Time thing did the trick , it works brilliantly , thanks again.

The time interval summation still needs work ..

Below is the full current code ,
no background bitmap needed .
Size: height 104 , width 68.

HTML:
<Gauge Name="BOMB RELEASE Switch" Version="1.0">
//By Karol Chlebowski @ 2013 **
<Update Hidden="Yes">
(L:Repeat) 0 &gt;
if{
    (P:Absolute Time, seconds) (L:Elapsed) - (L:F111_Interv_Sum) &gt;
    if{ 
        (>K:RELEASE_DROPPABLE_OBJECTS)
         (P:Absolute Time, seconds) (&gt; L:Elapsed)
         (L:Repeat) -- (&gt; L:Repeat)
        }
    }
</Update>

        <Element>
          <Position X="0" Y="0"/>
          <Rectangle Height="104" Width="68" LineWidth="2" Color="#4B4B4B" FillColor="#111111" Bright="Yes"/>
        </Element>	

      <Element>
          <Position X="14" Y="3"/>
           <Text X="42" Y="12" Bright="Yes" Length="6" Font="Tahoma" FontSize="10" Color="#6E98CA" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
            <String>%BOMB%</String>
           </Text>
    </Element>


<!-- REPEAT SWITCHING # NUMBER #   Thumbwheel text display     TENS and UNITS-->	
	        <Element>
	  	      <Position X="2" Y="22"/>
			  <FormattedText X="40" Y="10" Font="Tahoma" FontSize="8" LineSpacing="10" Adjust="LEFT" Color="#6E98CA" Bright="Yes">
            <String>%"No"%</String>
          </FormattedText>
			</Element>
	        
	        <Element Name="10 BORDER">	
		      <Position X="24" Y="22"/>
		      <Rectangle Width="12" Height="13" Color="#3B3B3B" Bright="Yes"/>			
	        </Element>
			<Element>
              <Position X="26" Y="24"/>
              <Text X="10" Y="9" Bright="Yes" Length="2" Font="Arial" Color="0xDACEDE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
                <String>%((L:F111_Nbr_10s, number))%!d!%</String>
              </Text>
            </Element>
			
			<Element Name="1 BORDER">	
		      <Position X="38" Y="22"/>
		      <Rectangle Width="12" Height="13" Color="#3B3B3B" Bright="Yes"/>			
	        </Element>
			<Element>
              <Position X="40" Y="24"/>
              <Text X="10" Y="9" Bright="Yes" Length="2" Font="Arial" Color="0xDACEDE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
                <String>%((L:F111_Nbr_1s, number))%!d!%</String>
              </Text>
            </Element>
	<!--Thumbwheel  SUM defined  -ADDS tens and units-->				
			<Element>
              <Position X="65" Y="3"/>
              <Text X="1" Y="1" Bright="Yes" Length="3" Font="Arial" Color="0x000000" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
				<String>%((L:F111_Nbr_10s, number) 10 * (L:F111_Nbr_1s, number) + (&gt; L:F111_Nbr_Sum, number))%!02d!%</String>
              </Text>
            </Element>
			
<!--TIME  INTERVAL SECONDS  ( 0.00 ) Thumbwheel text display    -->	
	        <Element>
	  	      <Position X="2" Y="48"/>
			  <FormattedText X="20" Y="10" Font="Tahoma" FontSize="8" LineSpacing="10" Adjust="LEFT" Color="#6E98CA" Bright="Yes">
                <String>%"TI"%</String>
              </FormattedText>
			</Element>
	       
	        <Element Name="1 BORDER">	
		      <Position X="22" Y="48"/>
		      <Rectangle Width="12" Height="13" Color="#3B3B3B" Bright="Yes"/>			
	        </Element>
			<Element Name="0.10 BORDER">	
		      <Position X="39" Y="48"/>
		      <Rectangle Width="12" Height="13" Color="#3B3B3B" Bright="Yes"/>			
	        </Element>
			<Element Name="0.01 BORDER">	
		      <Position X="52" Y="48"/>
		      <Rectangle Width="12" Height="13" Color="#3B3B3B" Bright="Yes"/>			
	        </Element>			
			
			
<!--Unit ( 1.00 )-->				
			<Element>
              <Position X="24" Y="50"/>
              <Text X="10" Y="9" Bright="Yes" Length="2" Font="Arial" Color="0xDACEDE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
                <String>%((L:F111_Interv_1s, seconds))%!d!%</String>
              </Text>
            </Element>
<!--Decimal point (  . )-->				
	        <Element>
	  	      <Position X="34" Y="47"/>
			  <FormattedText X="5" Y="9" Font="Tahoma" FontSize="8" LineSpacing="10" Adjust="Center" Color="0xDACEDE" Bright="Yes">
            <String>%.%</String>
          </FormattedText>
			</Element>			
<!--Tenths ( 0.10 )-->				
			<Element>
              <Position X="41" Y="50"/>
              <Text X="10" Y="9" Bright="Yes" Length="2" Font="Arial" Color="0xDACEDE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
                <String>%((L:F111_Interv_0.10s, seconds))%!d!%</String>
              </Text>
            </Element>
<!--Hundreths ( 0.01 )-->				
			<Element>
              <Position X="54" Y="50"/>
              <Text X="10" Y="9" Bright="Yes" Length="2" Font="Arial" Color="0xDACEDE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
                <String>%((L:F111_Interv_0.01s, seconds))%!d!%</String>
              </Text>
            </Element>			
	<!--Thumbwheel  SUM defined  -ADDS Unit ( 1.00 ) and Tenths ( 0.10 ) and  Hundreths ( 0.01 )-->				
			<Element>
              <Position X="2" Y="3"/>
              <Text X="1" Y="1" Bright="Yes" Length="3" Font="Arial" Color="0x000000" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
				<String>%((L:F111_Interv_1s, seconds) (L:F111_Interv_0.1s, seconds) 0.1 * + (L:F111_Interv_0.01s, seconds) 0.01 * + (&gt; L:F111_Interv_Sum, seconds))%!04d!%</String>
              </Text>
            </Element>
			
      <Element>
          <Position X="14" Y="66"/>
           <Text X="42" Y="12" Bright="Yes" Length="9" Font="Tahoma" FontSize="10" Color="#6E98CA" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
            <String>%Release%</String>
           </Text>
    </Element>
        <Element>
          <Position X="25" Y="80"/>
          <Rectangle Height="20" Width="20" LineWidth="2" Color="#3B3B3B" FillColor="#2B2B2B" Bright="Yes"/>
        </Element>				

   
   <Mouse>
 <!-- REPEAT SWITCHING # NUMBER #   Thumbwheel text display     TENS and UNITS-->	  
 <Macro Name="Button1">(M:Event) 'RightSingle' scmp 0 == if{ (L:F111_Nbr_10s, number) -- 0 max (&gt; L:F111_Nbr_10s, number) }
    	(M:Event) 'LeftSingle' scmp 0 ==  if{ (L:F111_Nbr_10s, number) ++ 9 min (&gt; L:F111_Nbr_10s, number) }
    	(M:Event) 'WheelUp' scmp 0 == if{ (L:F111_Nbr_10s, number) ++ 9 min (&gt; L:F111_Nbr_10s, number) }
    	(M:Event) 'WheelDown' scmp 0 == if{ (L:F111_Nbr_10s, number) -- 0 max (&gt; L:F111_Nbr_10s, number) }</Macro>  
    <Area Left="24" Top="22" Width="12" Height="20">
  <Tooltip>Tens</Tooltip> 
  <Click Kind="LeftSingle+RightSingle+WheelUp+WheelDown">@Button1</Click> 
  <Cursor Type="Hand" />
  </Area> 
 <Macro Name="Button2">(M:Event) 'RightSingle' scmp 0 == if{ (L:F111_Nbr_1s, number) -- 0 max (&gt; L:F111_Nbr_1s, number) }
    	(M:Event) 'LeftSingle' scmp 0 ==  if{ (L:F111_Nbr_1s, number) ++ 9 min (&gt; L:F111_Nbr_1s, number) }
    	(M:Event) 'WheelUp' scmp 0 == if{ (L:F111_Nbr_1s, number) ++ 9 min (&gt; L:F111_Nbr_1s, number) }
    	(M:Event) 'WheelDown' scmp 0 == if{ (L:F111_Nbr_1s, number) -- 0 max (&gt; L:F111_Nbr_1s, number) }</Macro>  
   <Area Left="38" Top="22" Width="12" Height="20">
  <Tooltip>Units</Tooltip> 
  <Click Kind="LeftSingle+RightSingle+WheelUp+WheelDown">@Button2</Click>
  <Cursor Type="Hand" />
  </Area> 
<!--TIME  INTERVAL SECONDS  ( 0.00 ) Thumbwheel text display    --> 
 <Macro Name="Button3">(M:Event) 'RightSingle' scmp 0 == if{ (L:F111_Interv_1s, seconds) -- 0 max (&gt; L:F111_Interv_1s, seconds) }
    	(M:Event) 'LeftSingle' scmp 0 ==  if{ (L:F111_Interv_1s, seconds) ++ 9 min (&gt; L:F111_Interv_1s, seconds) }
    	(M:Event) 'WheelUp' scmp 0 == if{ (L:F111_Interv_1s, seconds) ++ 9 min (&gt; L:F111_Interv_1s, seconds) }
    	(M:Event) 'WheelDown' scmp 0 == if{ (L:F111_Interv_1s, seconds) -- 0 max (&gt; L:F111_Interv_1s, seconds) }</Macro>  
   <Area Left="22" Top="48" Width="12" Height="20">
  <Tooltip>1.00s</Tooltip> 
  <Click Kind="LeftSingle+RightSingle+WheelUp+WheelDown">@Button3</Click>
  <Cursor Type="Hand" />
  </Area>  
 <Macro Name="Button4">(M:Event) 'RightSingle' scmp 0 == if{ (L:F111_Interv_0.10s, seconds) -- 0 max (&gt; L:F111_Interv_0.10s, seconds) }
    	(M:Event) 'LeftSingle' scmp 0 ==  if{ (L:F111_Interv_0.10s, seconds) ++ 9 min (&gt; L:F111_Interv_0.10s, seconds) }
    	(M:Event) 'WheelUp' scmp 0 == if{ (L:F111_Interv_0.10s, seconds) ++ 9 min (&gt; L:F111_Interv_0.10s, seconds) }
    	(M:Event) 'WheelDown' scmp 0 == if{ (L:F111_Interv_0.10s, seconds) -- 0 max (&gt; L:F111_Interv_0.10s, seconds) }</Macro>  
   <Area Left="44" Top="48" Width="12" Height="20">
  <Tooltip>0.10s</Tooltip> 
  <Click Kind="LeftSingle+RightSingle+WheelUp+WheelDown">@Button4</Click>
  <Cursor Type="Hand" />
  </Area> 
 <Macro Name="Button5">(M:Event) 'RightSingle' scmp 0 == if{ (L:F111_Interv_0.01s, seconds) -- 0 max (&gt; L:F111_Interv_0.01s, seconds) }
    	(M:Event) 'LeftSingle' scmp 0 ==  if{ (L:F111_Interv_0.01s, seconds) ++ 9 min (&gt; L:F111_Interv_0.01s, seconds) }
    	(M:Event) 'WheelUp' scmp 0 == if{ (L:F111_Interv_0.01s, seconds) ++ 9 min (&gt; L:F111_Interv_0.01s, seconds) }
    	(M:Event) 'WheelDown' scmp 0 == if{ (L:F111_Interv_0.01s, seconds) -- 0 max (&gt; L:F111_Interv_0.01s, seconds) }</Macro>  
   <Area Left="57" Top="48" Width="12" Height="20">
  <Tooltip>0.01s</Tooltip> 
  <Click Kind="LeftSingle+RightSingle+WheelUp+WheelDown">@Button5</Click>
  <Cursor Type="Hand" />
  </Area>
<Macro Name="Button6">(L:F111_Nbr_Sum, number) (>L:Repeat) (P:Absolute Time, seconds) (L:F111_Interv_Sum, seconds) - (>L:Elapsed,seconds)</Macro>   
  <Area Left="25" Top="80" Width="21" Height="22">
  <Tooltip>Drop Bombs</Tooltip>
<Click Kind="LeftSingle">@Button6</Click>
  <Cursor Type="Hand" />
  </Area>   
   </Mouse>
</Gauge>
 
Last edited:
This shot shows the switch on the left below the Pave Tack.
BKR6i.jpg

An external shot.
7dOGu.jpg
 
This error will absolutely kill the evaluation (pun intended):

Code:
(P:AbsoluteTime)

Thank you for catching that Bill. Funny thing is I noticed the (>K) event error but missed that one being just one line below :eek:

Karol: I'm glad that the solution finally worked as per you expectations!

Tom
 
Tom

Thank you , I am indebted to you for all your guidance , it is very much appreciated .

The time interval summation still needs work , I still need to get the tenths of a second to work.

Then .... I have an idea to add to it to give it another functional
dimension.

Cheers
Karol
 
Finished and fully functional

Ripple Bomb Release

All the time intervals for the bomb release switch are now sorted.
Seconds , tenths and Hundreths of a second are accurate.

1. Set Number of bombs to be released per click.
2. Set time interval required between each bomb.
3. Click release

It requires the Weapons Package by Chris Sykes available from Simviation

Below is Full instrument code .

Cheers
Karol
PS: Recommend large bomb number in saved flight plan ,about 250.

HTML:
<Gauge Name="BOMB RELEASE Switch" Version="3.0">
//By Karol Chlebowski @ 2013 **
<Update Hidden="Yes">
(L:Repeat) 0 &gt;
if{
    (P:Absolute Time, seconds) (L:Elapsed) - (L:F111_Interv_Sum) &gt;
    if{ 
        (>K:RELEASE_DROPPABLE_OBJECTS)
         (P:Absolute Time, seconds) (&gt; L:Elapsed)
         (L:Repeat) -- (&gt; L:Repeat)
        }
    }
</Update>

        <Element>
          <Position X="0" Y="0"/>
          <Rectangle Height="104" Width="68" LineWidth="2" Color="#4B4B4B" FillColor="#111111" Bright="Yes"/>
        </Element>	

      <Element>
          <Position X="14" Y="3"/>
           <Text X="42" Y="12" Bright="Yes" Length="6" Font="Tahoma" FontSize="10" Color="#6E98CA" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
            <String>%BOMB%</String>
           </Text>
    </Element>


<!-- REPEAT SWITCHING # NUMBER #   Thumbwheel text display     TENS and UNITS-->	
	        <Element>
	  	      <Position X="2" Y="22"/>
			  <FormattedText X="40" Y="10" Font="Tahoma" FontSize="8" LineSpacing="10" Adjust="LEFT" Color="#6E98CA" Bright="Yes">
            <String>%"No"%</String>
          </FormattedText>
			</Element>
	        
	        <Element Name="10 BORDER">	
		      <Position X="24" Y="22"/>
		      <Rectangle Width="12" Height="13" Color="#3B3B3B" Bright="Yes"/>			
	        </Element>
			<Element>
              <Position X="26" Y="24"/>
              <Text X="10" Y="9" Bright="Yes" Length="2" Font="Arial" Color="0xDACEDE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
                <String>%((L:F111_Nbr_10s, number))%!d!%</String>
              </Text>
            </Element>
			
			<Element Name="1 BORDER">	
		      <Position X="38" Y="22"/>
		      <Rectangle Width="12" Height="13" Color="#3B3B3B" Bright="Yes"/>			
	        </Element>
			<Element>
              <Position X="40" Y="24"/>
              <Text X="10" Y="9" Bright="Yes" Length="2" Font="Arial" Color="0xDACEDE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
                <String>%((L:F111_Nbr_1s, number))%!d!%</String>
              </Text>
            </Element>
	<!--Thumbwheel  SUM defined  -ADDS tens and units-->				
			<Element>
              <Position X="65" Y="3"/>
              <Text X="1" Y="1" Bright="Yes" Length="3" Font="Arial" Color="0x000000" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
				<String>%((L:F111_Nbr_10s, number) 10 * (L:F111_Nbr_1s, number) + (&gt; L:F111_Nbr_Sum, number))%!02d!%</String>
              </Text>
            </Element>
			
<!--TIME  INTERVAL SECONDS  ( 0.00 ) Thumbwheel text display    -->	
	        <Element>
	  	      <Position X="2" Y="48"/>
			  <FormattedText X="20" Y="10" Font="Tahoma" FontSize="8" LineSpacing="10" Adjust="LEFT" Color="#6E98CA" Bright="Yes">
                <String>%"TI"%</String>
              </FormattedText>
			</Element>
	       
	        <Element Name="1 BORDER">	
		      <Position X="22" Y="48"/>
		      <Rectangle Width="12" Height="13" Color="#3B3B3B" Bright="Yes"/>			
	        </Element>
			<Element Name="0.10 BORDER">	
		      <Position X="39" Y="48"/>
		      <Rectangle Width="12" Height="13" Color="#3B3B3B" Bright="Yes"/>			
	        </Element>
			<Element Name="0.01 BORDER">	
		      <Position X="52" Y="48"/>
		      <Rectangle Width="12" Height="13" Color="#3B3B3B" Bright="Yes"/>			
	        </Element>			
			
			
<!--Unit ( 1.00 )-->				
			<Element>
              <Position X="24" Y="50"/>
              <Text X="10" Y="9" Bright="Yes" Length="2" Font="Arial" Color="0xDACEDE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
                <String>%((L:F111_Interv_1s, seconds))%!d!%</String>
              </Text>
            </Element>
<!--Decimal point (  . )-->				
	        <Element>
	  	      <Position X="34" Y="47"/>
			  <FormattedText X="5" Y="9" Font="Tahoma" FontSize="8" LineSpacing="10" Adjust="Center" Color="0xDACEDE" Bright="Yes">
            <String>%.%</String>
          </FormattedText>
			</Element>			
<!--Tenths ( 0.10 )-->				
			<Element>
              <Position X="41" Y="50"/>
              <Text X="10" Y="9" Bright="Yes" Length="2" Font="Arial" Color="0xDACEDE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
                <String>%((L:F111_Interv_0.10s, seconds))%!d!%</String>
              </Text>
            </Element>
<!--Hundreths ( 0.01 )-->				
			<Element>
              <Position X="54" Y="50"/>
              <Text X="10" Y="9" Bright="Yes" Length="2" Font="Arial" Color="0xDACEDE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
                <String>%((L:F111_Interv_0.01s, seconds))%!d!%</String>
              </Text>
            </Element>			
	<!--INVISIBLE  DEFINES    Thumbwheel  SUM defined  -ADDS Unit ( 1.00 ) and Tenths ( 0.10 ) and  Hundreths ( 0.01 )-->
			<Element>
              <Position X="1" Y="2"/>
              <Text X="1" Y="1" Bright="Yes" Length="3" Font="Arial" Color="0x000000" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
				<String>%((P:Absolute time,seconds) 1 % 0.1 1 *  (L:F111_Interv_0.10s, seconds) * (&gt; L:F111_Tenths_calc, seconds))%!04d!%</String>
              </Text>
            </Element>	
			<Element>
              <Position X="4" Y="5"/>
              <Text X="1" Y="1" Bright="Yes" Length="3" Font="Arial" Color="0x000000" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
				<String>%((P:Absolute time,seconds) 1 % 0.01 1 *  (L:F111_Interv_0.01s, seconds) * (&gt; L:F111_Hundreths_calc, seconds))%!04d!%</String>
              </Text>
            </Element>				
			<Element>
              <Position X="2" Y="3"/>
              <Text X="1" Y="1" Bright="Yes" Length="3" Font="Arial" Color="0x000000" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
				<String>%((L:F111_Interv_1s, seconds) (L:F111_Tenths_calc, seconds) + (&gt; L:F111_Interv_Sub, seconds))%!04d!%</String>
              </Text>
            </Element>	
			<Element>
              <Position X="3" Y="4"/>
              <Text X="1" Y="1" Bright="Yes" Length="3" Font="Arial" Color="0x000000" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
				<String>%((L:F111_Interv_Sub, seconds) (L:F111_Hundreths_calc, seconds) + (&gt; L:F111_Interv_Sum, seconds))%!04d!%</String>
              </Text>
            </Element>				
<!--Button Label text-->			
      <Element>
          <Position X="14" Y="66"/>
           <Text X="42" Y="12" Bright="Yes" Length="9" Font="Tahoma" FontSize="10" Color="#6E98CA" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
            <String>%Release%</String>
           </Text>
    </Element>
<!--Button graphics-->	
        <Element>
          <Position X="25" Y="80"/>
          <Rectangle Height="20" Width="20" LineWidth="2" Color="#3B3B3B" FillColor="#2B2B2B" Bright="Yes"/>
        </Element>				

   
   <Mouse>
 <!-- REPEAT SWITCHING # NUMBER #   Thumbwheel text display     TENS and UNITS-->	  
 <Macro Name="Button1">(M:Event) 'RightSingle' scmp 0 == if{ (L:F111_Nbr_10s, number) -- 0 max (&gt; L:F111_Nbr_10s, number) }
    	(M:Event) 'LeftSingle' scmp 0 ==  if{ (L:F111_Nbr_10s, number) ++ 9 min (&gt; L:F111_Nbr_10s, number) }
    	(M:Event) 'WheelUp' scmp 0 == if{ (L:F111_Nbr_10s, number) ++ 9 min (&gt; L:F111_Nbr_10s, number) }
    	(M:Event) 'WheelDown' scmp 0 == if{ (L:F111_Nbr_10s, number) -- 0 max (&gt; L:F111_Nbr_10s, number) }</Macro>  
    <Area Left="24" Top="22" Width="12" Height="20">
  <Tooltip>Tens</Tooltip> 
  <Click Kind="LeftSingle+RightSingle+WheelUp+WheelDown">@Button1</Click> 
  <Cursor Type="Hand" />
  </Area> 
 <Macro Name="Button2">(M:Event) 'RightSingle' scmp 0 == if{ (L:F111_Nbr_1s, number) -- 0 max (&gt; L:F111_Nbr_1s, number) }
    	(M:Event) 'LeftSingle' scmp 0 ==  if{ (L:F111_Nbr_1s, number) ++ 9 min (&gt; L:F111_Nbr_1s, number) }
    	(M:Event) 'WheelUp' scmp 0 == if{ (L:F111_Nbr_1s, number) ++ 9 min (&gt; L:F111_Nbr_1s, number) }
    	(M:Event) 'WheelDown' scmp 0 == if{ (L:F111_Nbr_1s, number) -- 0 max (&gt; L:F111_Nbr_1s, number) }</Macro>  
   <Area Left="38" Top="22" Width="12" Height="20">
  <Tooltip>Units</Tooltip> 
  <Click Kind="LeftSingle+RightSingle+WheelUp+WheelDown">@Button2</Click>
  <Cursor Type="Hand" />
  </Area> 
<!--TIME  INTERVAL SECONDS  ( 0.00 ) Thumbwheel text display    --> 
 <Macro Name="Button3">(M:Event) 'RightSingle' scmp 0 == if{ (L:F111_Interv_1s, seconds) -- 0 max (&gt; L:F111_Interv_1s, seconds) }
    	(M:Event) 'LeftSingle' scmp 0 ==  if{ (L:F111_Interv_1s, seconds) ++ 9 min (&gt; L:F111_Interv_1s, seconds) }
    	(M:Event) 'WheelUp' scmp 0 == if{ (L:F111_Interv_1s, seconds) ++ 9 min (&gt; L:F111_Interv_1s, seconds) }
    	(M:Event) 'WheelDown' scmp 0 == if{ (L:F111_Interv_1s, seconds) -- 0 max (&gt; L:F111_Interv_1s, seconds) }</Macro>  
   <Area Left="22" Top="48" Width="12" Height="20">
  <Tooltip>1.00s</Tooltip> 
  <Click Kind="LeftSingle+RightSingle+WheelUp+WheelDown">@Button3</Click>
  <Cursor Type="Hand" />
  </Area>  
 <Macro Name="Button4">(M:Event) 'RightSingle' scmp 0 == if{ (L:F111_Interv_0.10s, seconds) -- 0 max (&gt; L:F111_Interv_0.10s, seconds) }
    	(M:Event) 'LeftSingle' scmp 0 ==  if{ (L:F111_Interv_0.10s, seconds) ++ 9 min (&gt; L:F111_Interv_0.10s, seconds) }
    	(M:Event) 'WheelUp' scmp 0 == if{ (L:F111_Interv_0.10s, seconds) ++ 9 min (&gt; L:F111_Interv_0.10s, seconds) }
    	(M:Event) 'WheelDown' scmp 0 == if{ (L:F111_Interv_0.10s, seconds) -- 0 max (&gt; L:F111_Interv_0.10s, seconds) }</Macro>  
   <Area Left="39" Top="48" Width="12" Height="20">
  <Tooltip>0.10s</Tooltip> 
  <Click Kind="LeftSingle+RightSingle+WheelUp+WheelDown">@Button4</Click>
  <Cursor Type="Hand" />
  </Area> 
 <Macro Name="Button5">(M:Event) 'RightSingle' scmp 0 == if{ (L:F111_Interv_0.01s, seconds) -- 0 max (&gt; L:F111_Interv_0.01s, seconds) }
    	(M:Event) 'LeftSingle' scmp 0 ==  if{ (L:F111_Interv_0.01s, seconds) ++ 9 min (&gt; L:F111_Interv_0.01s, seconds) }
    	(M:Event) 'WheelUp' scmp 0 == if{ (L:F111_Interv_0.01s, seconds) ++ 9 min (&gt; L:F111_Interv_0.01s, seconds) }
    	(M:Event) 'WheelDown' scmp 0 == if{ (L:F111_Interv_0.01s, seconds) -- 0 max (&gt; L:F111_Interv_0.01s, seconds) }</Macro>  
   <Area Left="52" Top="48" Width="12" Height="20">
  <Tooltip>0.01s</Tooltip> 
  <Click Kind="LeftSingle+RightSingle+WheelUp+WheelDown">@Button5</Click>
  <Cursor Type="Hand" />
  </Area>
<Macro Name="Button6">(L:F111_Nbr_Sum, number) (>L:Repeat) (P:Absolute Time, seconds) (L:F111_Interv_Sum, seconds) - (>L:Elapsed,seconds)</Macro>   
  <Area Left="25" Top="80" Width="21" Height="22">
  <Tooltip>Drop Bombs</Tooltip>
<Click Kind="LeftSingle">@Button6</Click>
  <Cursor Type="Hand" />
  </Area>   
   </Mouse>
</Gauge>
 
Last edited:
For information , a table of horizontal bomb spacing in feet for several
Time Intervals (seconds) versus 3 different Groundspeeds.

DOmYp.jpg


This shot shows a ripple laydown that has just started.
Settings are:
"No" (number of bombs per click) = 24
"TI" (time interval between each bomb) = 0.4

vlYnt.jpg
 
I am trying to get the mouse click to a stage where it can be assigned to a
controller button .
So far no success ! !

From post #2 above ,
I swapped the " click " function segment with the " do something " ,
that didn't work .

The above instrument works nicely.
*****
My current configuration is as follows.

(1) The above switch instrument , setting both "No" number ,and
"TI" time interval ,
results in in a ripple release of bombs at a single click at that instrument.

(2) I have " Release Droppable Objects " assigned to a button on my
throttle controller , a single click on that controller button results in
one bomb release per click.
******

In my view it is imperative that the above switch instrument be altered
so that it can be assigned to either a throttle or joystick button.
Both high speed flight and precision steering towards a target in a
tight time frame demand that the pilot's hands remain on the controls,
and therefore a button must be assigned.

Any ideas would be greatly appreciated .

Cheers
Karol
PS: the ripple switch is great with missiles as well.
I fired 6 Phoenix missiles , similar to a F-14 multiple Air to Air target
engagement , neat !
 
In my view it is imperative that the above switch instrument be altered
so that it can be assigned to either a throttle or joystick button.
Both high speed flight and precision steering towards a target in a
tight time frame demand that the pilot's hands remain on the controls,
and therefore a button must be assigned.

What you need could be easily done by capturing a throttle or joystick button's event of you choice.

For example, using the BRAKES (which is usually mapped to a joystick's trigger):

Code:
<On Event="BRAKES"> 
   If Bomb Release is active
       Put here the code used in <Area><Click> capture
   Endif
</On>
Tom
 
I am currently using the following code to assign a controller button.
Clicking the controller button does trigger the bomb release , and the bombs
are separated by the correct time interval .
PROBLEM : it ignores the number that has been set , it continues
till all bombs are exhausted.

HTML:
<Macro Name="Button6">(L:F111_Nbr_Sum, number) (>L:Repeat) (P:Absolute Time, seconds) (L:F111_Interv_Sum, seconds) - (>L:Elapsed,seconds)</Macro>   
  <Area Left="5" Top="5" Width="21" Height="22">     
  <Tooltip>Drop Bombs</Tooltip>  
<Click Kind="LeftSingle">12 (>G:Var1) @Button6</Click>
  <Cursor Type="Hand" />
  </Area>   
   </Mouse>
   
<Keys> 
   <On Event="RELEASE_DROPPABLE_OBJECTS">
     1 (>L:Repeat)   
	    if{ 
          (L:F111_Nbr_Sum, number) (>L:Repeat) (P:Absolute Time, seconds) (L:F111_Interv_Sum, seconds) - (>L:Elapsed,seconds)
          }		
   </On>

Both
(L:F111_Nbr_Sum, number) = (number set )
and
(L:F111_Interv_Sum, seconds) = (time interval set )
are included in the " If " section.
How do I get the " On Event " to recognise the number that has been set ?

Cheers
Karol
PS:This is what my current version looks like.
3JYkm.png
 
Karol,

Your <On Event> snippet is bad coded.

Just use the same as in the <Click> section:

Code:
<Keys> 
   <On Event="RELEASE_DROPPABLE_OBJECTS">
         (L:F111_Nbr_Sum, number) (>L:Repeat) (P:Absolute Time, seconds) (L:F111_Interv_Sum, seconds) - (>L:Elapsed,seconds)
   </On>
   ...
</Keys>

Tom
 
Back
Top