ScriptTap

Choose where the script works

Choose points and screen areas

Target the location you need without guessing coordinates. Use one point for a tap, or a rectangle when a command needs a screen region. This walkthrough saves both selections, runs a short script, and inspects its captured image.

Visual targeting · about 5 minutes · video + written steps

Watch the point-and-area workflow

Follow the steps

  1. Start with a separate example

    Create and select a new blank script. This example is named Targets. Open its editor; the first-script guide covers creation and selection if you need those steps.

  2. Choose one tap location

    Manually drag Tap into Live Script, then open the target icon on the placed row. If Android asks, allow screen capture. Drag the selector's crosshair to a clear location away from home-screen icons. Moving this selector chooses a point; it does not activate the app underneath. Use the check mark to save it.

    The demonstration saves 429,619. These are this device's coordinates, not a value to copy blindly onto a different screen.

    Point selector positioned over a clear location away from Android home-screen icons
  3. Cancel an unwanted target change

    Reopen the placed Tap row's target icon, move the crosshair somewhere else, then choose the selector's Back control instead of its check mark. The row retains Tap(429,619).

    Tap row still shows 429,619 after a different point was canceled with Back
  4. Choose a region instead of one point

    Close Recent and expand Debug. Manually drag Screenshot below Tap. Double-tap the placed row, enable Specify Area, and open its area icon. A point defines one touch location; this rectangle defines which pixels Screenshot will save.

    Screenshot settings with Specify Area enabled and Area Not Selected
  5. Resize and reposition visually

    Drag the green corner handles to resize. While the rectangle is large enough to grab away from its handles, drag its interior to move the whole region without changing its size. Then fine-tune the corners tightly around the icon detail you want. The video preserves all actual drags.

    This rectangle is a screen region, not an image-matching asset. In this example it surrounds part of the ScriptTap launcher icon and excludes unrelated content.

    Tight green rectangle surrounds only a small detail of the ScriptTap launcher icon
  6. Inspect exact bounds and commit the command

    Use the selector check mark to return to Screenshot. Tap the Area text to inspect the exact top-left and bottom-right display-pixel coordinates. The demonstration uses 72,399–115,443. Keep those values and confirm the coordinate dialog, then choose OK in Screenshot to save the command draft.

    Exact Area dialog displays top-left 72,399 and bottom-right 115,443
  7. Add a visible finish point

    Open Recent and manually drag PromptMe below Screenshot. Keep Standard and This Script Only. Enter Header Ready, add one button with caption Done, and type the actual Boolean output name b1. Choose OK.

    The sequence is Tap → Screenshot (Area) → PromptMe. Recheck coordinates after changing the device, orientation, or layout.

    Three complete rows: Tap 429,619, Screenshot Area, and PromptMe Ready with one button
  8. Run and inspect the real result

    Close the editor, then use Main Overlay Play. The script taps the clear location, captures the rectangle, and displays Ready. Choose Done to finish naturally.

    Open the main controls, expand Plus if needed, then choose Menu → Scripts. Compact the overlay, choose Assets → New Asset to open Recent Screenshots, select the newest icon crop, and choose View. Browsing or viewing a screenshot does not create an asset. Only the selected rectangle was saved.

    Actual saved icon-detail screenshot shown in the image viewer

Choose the tool for the task

This walkthrough covers point and rectangular-area selection. Use the related command guides for gesture paths, multiple points, or selecting an app's accessible UI element. Create reusable image references with the separate crop walkthrough.