ScriptTap
Display

Command video guide

Display

Display shows a message or a variable value over the current app. It does not type into that app and has no output variable.

Once takes one snapshot of its source, keeps the current branch waiting for a positive lifespan in milliseconds, then removes its message and continues. This example uses Ready for 3000 ms, followed by a Standard PromptMe confirmation.

Create and name a new script. Expand Device and manually drag Display into the script, releasing at the blue insertion line. Open it, keep Once and select Text. Variable can instead read any supported variable type created earlier in the script.

Use the Area selector to resize the message bounds. If Android asks, allow screen capture. Tap the coordinate text for manual top-left and bottom-right fields; each accepts a literal number or a prior Integer variable.

  • Custom Font: choose an Android system font, style and size. No font asset is required. The example uses Monospace, Bold and Large.
  • Custom Box Style: choose text/background colors, opacity and border. The example uses Yellow on Navy, 85% opacity and a border. With custom styling off, the default is soft-white text on opaque black.
  • Custom Alignment: place text horizontally and vertically within the area. The example centers both. With it off, the defaults are horizontal left and vertical center.

Test previews the appearance for five seconds without saving or playing the script. Its preview duration is separate from Once's lifespan. The box fits the text within its bounds; the preview is above the editor, while runtime Display is below ScriptTap controls.

Save Display, then manually drag PromptMe underneath from Advanced. Keep Standard, add header Continue and one Done button with Boolean output b1. This makes the next command's arrival visible. Close the editor and use Play: Ready remains for three seconds, then the confirmation appears. Tap Done to finish.

Display is touch-through: it does not consume the underlying app's taps, close when tapped, or move by dragging during Play. Boxes are removed when the run ends or stops. Use Concurrent for an updating message while later commands run; its guide continues this same demonstration script.

Once — timed message

Step-by-step guide

  1. Step 01

    Display shows a message or a variable's value over the current app. It does not type into the app. In Once mode, it keeps this branch waiting for a chosen time, then removes the message and continues.

    Display step 1: Display shows a message or a variable's value over the current app. It does not type into the app. In Once mode, it keeps this branch waiting for a chosen time, then removes the message and continues.
  2. Step 02

    Create a new script for this example.

    Display step 2: Create a new script for this example.
  3. Step 03

    Give the script a clear name, then open it in the editor.

    Display step 3: Give the script a clear name, then open it in the editor.
  4. Step 04

    Expand Device to find Display.

    Display step 4: Expand Device to find Display.
  5. Step 05

    Drag Display into the script. Release when the blue insertion line appears.

    Display step 5: Drag Display into the script. Release when the blue insertion line appears.
  6. Step 06

    Open Display and keep Once mode. Leave Source on Text and enter Ready as our message.

    Display step 6: Open Display and keep Once mode. Leave Source on Text and enter Ready as our message.
  7. Step 07

    Source can also read a variable created earlier in the script, of any supported type. Once reads that value only when it starts. We'll keep Text for this example.

    Display step 7: Source can also read a variable created earlier in the script, of any supported type. Once reads that value only when it starts. We'll keep Text for this example.
  8. Step 08

    Use the Area selector and resize the rectangle to choose where the message can appear. If Android asks, allow screen capture. Confirm the selection with the checkmark.

    Display step 8: Use the Area selector and resize the rectangle to choose where the message can appear. If Android asks, allow screen capture. Confirm the selection with the checkmark.
  9. Step 09

    You can also tap the coordinates to edit the area's top-left and bottom-right corners. Each coordinate accepts a number or a prior Integer variable. We'll keep our selected area.

    Display step 9: You can also tap the coordinates to edit the area's top-left and bottom-right corners. Each coordinate accepts a number or a prior Integer variable. We'll keep our selected area.
  10. Step 10

    Enter a positive lifespan in milliseconds. We'll use three thousand, which is three seconds.

    Display step 10: Enter a positive lifespan in milliseconds. We'll use three thousand, which is three seconds.
  11. Step 11

    Test previews the appearance for five seconds without saving or playing the script. That preview length is separate from the Once lifespan.

    Display step 11: Test previews the appearance for five seconds without saving or playing the script. That preview length is separate from the Once lifespan.
  12. Step 12

    Turn on Custom Font to choose the font, style, and size. These are Android system fonts; no font asset is needed. We'll choose Monospace.

    Display step 12: Turn on Custom Font to choose the font, style, and size. These are Android system fonts; no font asset is needed. We'll choose Monospace.
  13. Step 13

    Choose Bold and Large to make this short message easy to read.

    Display step 13: Choose Bold and Large to make this short message easy to read.
  14. Step 14

    Custom Box Style controls the text color, background, opacity, and border. We'll use yellow text on navy.

    Display step 14: Custom Box Style controls the text color, background, opacity, and border. We'll use yellow text on navy.
  15. Step 15

    Set the background to eighty-five percent opacity and turn the border on. With custom styling off, Display uses soft-white text on a fully opaque black background around the text.

    Display step 15: Set the background to eighty-five percent opacity and turn the border on. With custom styling off, Display uses soft-white text on a fully opaque black background around the text.
  16. Step 16

    Custom Alignment places the text horizontally and vertically within the selected area. Choose Center for both. With it off, the defaults are left and vertical center.

    Display step 16: Custom Alignment places the text horizontally and vertically within the selected area. Choose Center for both. With it off, the defaults are left and vertical center.
  17. Step 17

    Test the finished appearance. The background fits the text within your selected bounds. The preview sits above the editor; during Play, Display sits below ScriptTap's controls.

    Display step 17: Test the finished appearance. The background fits the text within your selected bounds. The preview sits above the editor; during Play, Display sits below ScriptTap's controls.
  18. Step 18

    Tap OK to save Display.

    Display step 18: Tap OK to save Display.
  19. Step 19

    Drag PromptMe underneath from Advanced. This supporting command will show that Display has finished waiting and the script has continued.

    Display step 19: Drag PromptMe underneath from Advanced. This supporting command will show that Display has finished waiting and the script has continued.
  20. Step 20

    Open PromptMe in Standard mode and give it a Continue header.

    Display step 20: Open PromptMe in Standard mode and give it a Continue header.
  21. Step 21

    Add a Done button with Boolean output b1, then save it. This button lets us finish the example visibly.

    Display step 21: Add a Done button with Boolean output b1, then save it. This button lets us finish the example visibly.
  22. Step 22

    The script shows Ready for three seconds, then reaches the confirmation. Display has no output variable and does not change the app underneath it.

    Display step 22: The script shows Ready for three seconds, then reaches the confirmation. Display has no output variable and does not change the app underneath it.
  23. Step 23

    Close the editor to see the result on the home screen.

    Display step 23: Close the editor to see the result on the home screen.
  24. Step 24

    When the script is complete, simply use the Play button in the main overlay.

    Display step 24: When the script is complete, simply use the Play button in the main overlay.
  25. Step 25

    Ready stays visible while this branch waits. After three seconds, the box disappears and PromptMe appears.

    Display step 25: Ready stays visible while this branch waits. After three seconds, the box disappears and PromptMe appears.
  26. Step 26

    Tap Done, and the script finishes automatically.

    Display step 26: Tap Done, and the script finishes automatically.
  27. Step 27

    Display is touch-through: it does not consume the app's taps, close when tapped, or move by dragging during Play. Use Concurrent when a message needs to update while later commands run. Display boxes are removed when the run ends or stops.

    Display step 27: Display is touch-through: it does not consume the app's taps, close when tapped, or move by dragging during Play. Use Concurrent when a message needs to update while later commands run. Display boxes are removed when the run ends or stops.