Roy Holmes
Resource contributor
- Messages
- 1,803
- Country
I appear to be having more than one event occur after I use the following code. I'm using FSX schema and multiple macros.
I have the relevant button on my stick set to no repeat but I usually get two events happening.
Could be my stick is getting old and trembling a bit (like me) but I'd like to come up with a way to cancel the "Do something once" code after it happens once.
I suppose what might be happening is that because the above code is not in line with the program cycling it may be affecting two cycles.
The do something is a series of actions.
Anyone got an idea on how to fix this?
Roy
Code:
<Trigger id="LANDING_LIGHT_HOME">
<KeyEvent>LANDING_LIGHT_HOME</KeyEvent>
<Script>
Do something once
</Script>
Could be my stick is getting old and trembling a bit (like me) but I'd like to come up with a way to cancel the "Do something once" code after it happens once.
I suppose what might be happening is that because the above code is not in line with the program cycling it may be affecting two cycles.
The do something is a series of actions.
Anyone got an idea on how to fix this?
Roy