ScriptTap
Delay

Command video guide

Delay

Pause a script before its next command. Build two taps, drag Delay between them, and use 1000 milliseconds to separate them by one second.

Watch the walkthrough

Step-by-step guide

  1. Step 01

    Delay pauses your script before the next command. Use it to give an app time to respond.

    Delay step 1: Delay pauses your script before the next command. Use it to give an app time to respond.
  2. Step 02

    Open Scripts. Tap New Script, then choose Blank Script.

    Delay step 2: Open Scripts. Tap New Script, then choose Blank Script.
  3. Step 03

    Open its three-dot menu and choose Rename. Pick a name, then tap OK.

    Delay step 3: Open its three-dot menu and choose Rename. Pick a name, then tap OK.
  4. Step 04

    Select your new script and open the Script Editor. Collapse the extra overlay controls.

    Delay step 4: Select your new script and open the Script Editor. Collapse the extra overlay controls.
  5. Step 05

    Drag a Tap command into the script. Double-tap its frame and enter coordinates for an empty area of the home screen. Tap OK to save.

    Delay step 5: Drag a Tap command into the script. Double-tap its frame and enter coordinates for an empty area of the home screen. Tap OK to save.
  6. Step 06

    Drag a second Tap below the first. Double-tap its frame, set another empty location away from the icons, and tap OK.

    Delay step 6: Drag a second Tap below the first. Double-tap its frame, set another empty location away from the icons, and tap OK.
  7. Step 07

    If we play this script as it is, the two taps run in immediate succession. To spread them apart in time, add a Delay command.

    Delay step 7: If we play this script as it is, the two taps run in immediate succession. To spread them apart in time, add a Delay command.
  8. Step 08

    Expand Timing. Drag Delay between the two taps and release at the blue insertion line.

    Delay step 8: Expand Timing. Drag Delay between the two taps and release at the blue insertion line.
  9. Step 09

    Double-tap Delay. Enter one thousand milliseconds for a one-second pause, then tap OK.

    Delay step 9: Double-tap Delay. Enter one thousand milliseconds for a one-second pause, then tap OK.
  10. Step 10

    You can also use an Integer variable defined earlier in the script instead of a fixed duration.

    Delay step 10: You can also use an Integer variable defined earlier in the script instead of a fixed duration.
  11. Step 11

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

    Delay step 11: Close the editor. When the script is complete, simply use the Play button in the main overlay.
  12. Step 12

    The first tap runs, Delay waits one second, then the second tap runs. The script stops automatically.

    Delay step 12: The first tap runs, Delay waits one second, then the second tap runs. The script stops automatically.