Macro editing behavior

I am trying to write a channel check macro to check 132 lights on a truss. I wrote the macro using learn mode: 513 @ full [channel check} [enter] [next] [next] [next]...132 next commands.

I need to add a {macro wait} between each of the [next] commands. I would like to use a wait time of .5 but I have found that this command kicks the console out of channel check mode. That is the first issue.

The second issue is when in the macro editor to add the {wait} 1 command after the 3rd {wait} the cursor jumps ahead to the next line of the macro. This becomes a massive PITA to edit this. Is there a way to insert the {wait} command in learn mode?

Parents Reply
  • eugp said:
    but is there a way to get the macro to stop and then restart from that same point?

    You can't do it natively inside the macro - but you can use a group as a variable.  Here's is some sample code - Group 9991 is the variable.

    Type your first channel and hit the macro - off you go.  If you stop the Macro the group will hold the information.

    Adding a second macro the recalls that particular group makes the UI fairly seemless.

    EDIT / I just tried it with Macro_Wait .5 * and it works fine.

     

Children
No Data
Related