Skip to main content

 

Electronic Theatre Controls Inc

Make a keystroke macro that waits for user input

Explanation

Sometimes a keystroke macro needs to wait for user input, like selecting a palette to open and update.

There are two ways to do this. One way pauses the macro for a certain amount of time and then continues automatically. The other way will stop the macro and wait for you to continue the macro. The second way is good if you want the most control for when the macro continues.

Solution

Pausing the keystroke macro

This will cause the macro to pause at a step for a certain amount of time before continuing to the next step.

Steps

  1. Record the steps that you want
    1. [ Record ] [ Macro ] and tap on the macro to record will start recording
    2.  [ PIG ] + [ Macro ] will stop recording
  2. Open the macro
  3. Delete unnecessary steps
  4. Set the desired wait time on the step after user input

Example

Updating color information in a Colour Palette

  1. Record macro that opens a colour palette and knocks out cyan and yellow information
    clipboard_e4cebd6466dadc03eb5dde4aea8bff715.png
  2. Open the macro
    1. [ Macro ] [ # of macro ] [ Open ]
  3. Delete the following steps
    1. Step 1 - recalling the original view
    2. Step 4 - specifying which colour palette
    3. Steps 26 through 28 - ending the macro
      Should look like the picture below
      clipboard_e1bb1134419a5944f205f7ed8cd719fe6.png
  4. Adjust all wait times except for Step 1 to be 0.9 seconds so that it is quick
    clipboard_eb4345d768aa90bcc6723040b5ebe19a9.png
  5. Change the wait time of step number 5 to give you enough time to enter a Colour Palette number
    clipboard_edb2afbd810b67d82fc1e35dc2198b380.png
  6. Close the window

When the macro runs, it will pause and wait 2 seconds before continuing to the next step. In those 2 seconds, you will need to type in the number of the colour palette.

Stopping the keystroke macro

This will make the macro stop at a step and cause the macro to only continue when you execute the macro again.

Steps

  1. Record the steps that you want
    1. [ Record ] [ Macro ] and tap on the macro to record will start recording
    2.  [ PIG ] + [ Macro ] will stop recording
  2. Open the macro
  3. Delete unnecessary steps
  4. Clear the wait time on the step after user input

Example

Updating color information in a Colour Palette

  1. Record macro that opens a colour palette and knocks out cyan and yellow information
    clipboard_e4cebd6466dadc03eb5dde4aea8bff715.png
  2. Open the macro
    1. [ Macro ] [ # of macro ] [ Open ]
  3. Delete the following steps
    1. Step 1 - recalling the original view
    2. Step 4 - specifying which colour palette
    3. Steps 26 through 28 - ending the macro
      Should look like the picture below
      clipboard_e1bb1134419a5944f205f7ed8cd719fe6.png
  4. Adjust all wait times except for Step 1 to be 0.9 seconds so that it is quick
    clipboard_eb4345d768aa90bcc6723040b5ebe19a9.png
  5. Delete the wait time of step number 5
    clipboard_e79b869afd25b0cc1f843381677655be2.png
  6. Close the window

When the macro runs, it will stop running after step 3 and will not continue until you fire it again.

To utilize this macro:

  1. Open the macro directory, turn off guard, and tap on the macro
    On the command line, it says Colour
  2. Type [ # of colour palette ]
  3. Tap on the macro again to continue it
  • Was this article helpful?