Command video guide
TTS Reader
Reader turns script text, accessible screen labels or image-based text into spoken feedback. This Overview explains every mode without running speech. Choose a separate mode tab for its shortest useful setup and actual result.
Drag TTS Reader from Device. Mode selects speakText, readUI, readOCR or stop. Use In sets the scope of saved output variables: This Script Only or Script Thread.
speakText takes entered Text or a String variable written earlier. Speech Wait finishes speaking before the next command; Concurrent lets later automation run while Reader speaks. A later Reader stop can end concurrent speech without ending the script.
Voice Default uses the device default. Select exposes the installed Engine identifier, available Voice name and Language tag, such as en-US. It does not install missing engines or voices. Rate and Pitch accept percentages 50–200, with 100 normal, or earlier Integer variables.
Exclusive Listening silences other media and routes Reader through alarm volume. Its Alarm Volume is 1–100 percent. ScriptTap restores the affected audio settings when the script stops. The overview only exposes this draft control and never changes device audio.
readUI uses Android accessibility labels. Read selects Text, Content Description or Both. Content Description can identify an icon without visible words. Area Filter optionally restricts the read region. Stop If App Changes guards against continuing after another app takes the foreground; it does not select an app. Max Chars limits readUI/readOCR collection to 1–10,000 characters, or an earlier Integer value.
OCR means optical character recognition: converting recognizable words in image pixels into text. readOCR requires a selected area, then speaks the recognized text and can save it for later commands. Use it when accessibility cannot supply the needed words. The separate readOCR guide shows the actual selection.
Test previews the current Reader setup without playing the complete script. It can produce speech and reveal private text; choose a neutral, account-free area before testing. This overview leaves Test unused.
Save Outputs is available in all four modes. Text uses a String destination; Success uses Boolean; Error uses a separate String. Stop has no newly read text, so its Text result is empty. Concurrent success does not mean speech has finished. Supply valid destinations for enabled outputs. Changing mode resets outgoing operation settings while keeping the shared output choices. This tour closes without saving or playing.
Overview
Step-by-step guide
Step 01 Reader turns text into spoken feedback. It can speak a message from your script, read accessible screen labels, or recognize text in an image and read it aloud. This overview explains its four modes and shared options without running speech.
Step 02 Drag TTS Reader from Device into the script, then open the placed row. Reader's settings choose where the text comes from, how speech runs, and which results later commands can use.
Step 03 Use In selects the scope for Reader's output variables. This Script Only keeps results local to this script. Script Thread lets related scripts in the same thread use those results. Match the scope to the commands that need them.
Step 04 Mode offers speakText, readUI, readOCR, and stop. The first three obtain text and speak it. Stop ends Reader speech already in progress. We'll look at each option and leave actual working examples to the separate mode guides.
Step 05 In speakText, Source can be Text entered here or a String variable written earlier. Text suits a fixed announcement. String var speaks a changing result, such as a value prepared by SetVariable or another command. Return to Text for direct entry.
Step 06 Speech controls when the script continues. Wait lets Reader finish before the next command runs. Concurrent allows later commands to run while speech continues. Use Concurrent when you want other automation to proceed, and a later Reader stop when you need to end that speech. Return to Wait for this tour.
Step 07 Voice Default uses the device's default text-to-speech setup. Voice Select reveals Engine, Voice, and Language. These identify an installed engine, an available voice, and a language tag such as en-US. Availability depends on the device; this option does not install missing voices.
Step 08 Return to Voice Default. Rate changes speaking speed, while Pitch changes how high or low the voice sounds. Both use percentages from fifty to two hundred; one hundred is normal. An earlier Integer variable can supply either setting.
Step 09 Exclusive Listening quiets other media and routes Reader speech through the device's alarm volume. Turning it on reveals Alarm Volume, from one to one hundred percent. ScriptTap restores the affected audio settings when the script stops. This changes audio routing during play, not the words being read.
Step 10 Switch Mode to readUI. It reads text that the foreground app exposes through Android accessibility. This is useful for reading labels and controls directly, without recognizing their pixels. Some apps do not expose every label, so choose readOCR when the needed text is only visible as an image.
Step 11 Read offers Text, Content Description, or Both. Text uses the element's written label. Content Description uses its accessibility description, which can identify an icon with no visible words. Both includes the available information from either source.
Step 12 Area Filter is optional for readUI. Turn it on to reveal the area selector and restrict which screen elements are read. Choose a small, relevant region instead of unrelated screen content. The separate readUI guide shows a neutral area selection and its result.
Step 13 Stop If App Changes protects a screen-reading operation from continuing after a different app takes the foreground. Keep it on when the result must belong to the app where reading began. Turning it off removes that safeguard; it does not select or open an app for you. Turn it back on.
Step 14 Max Chars limits how much text readUI and readOCR collect, from one to ten thousand characters. A smaller limit keeps spoken feedback manageable. The value can also come from an earlier Integer variable, so your script can decide the limit.
Step 15 Read OCR uses optical character recognition: it reads the pixels of an image and converts recognizable words into text. Reader then speaks that text, and can save it for other commands. This mode requires a selected read area. Use it for image-based text that accessibility cannot provide. The separate readOCR guide demonstrates the selection.
Step 16 Test previews the current Reader setup without running the whole script. Screen-reading tests can expose private text and produce speech, so choose an account-free area first. We'll leave Test unused in this overview.
Step 17 Stop ends Reader speech already in progress and restores Exclusive Listening's audio changes. It does not stop the entire script. A useful pattern is Reader with Concurrent speech, other commands, then Reader stop. Stop needs no text or voice settings, but still offers optional outputs.
Step 18 Save Outputs is shared by all four modes. Turn it on, then choose which results to save. These destinations let later commands display the collected text, check whether the operation succeeded, or handle an error.
Step 19 Text saves the operation's text into a String variable. This lets a later Display, TextTransform, or other command use what was read. Stop has no new text to read, so its Text result is empty.
Step 20 Success saves a Boolean result. Later conditions can use it to choose what happens next. With Concurrent speech, a successful start does not mean the spoken message has already finished; use Wait when later commands must wait for completion.
Step 21 Error saves diagnostic text into a String variable. Use a separate destination from the text result, so a failure message does not overwrite the words you wanted. Choose only the outputs your script needs and supply valid destinations before saving.
Step 22 Changing Reader mode resets the outgoing operation's settings, while shared output choices remain. Review the fields before using OK. This overview closes without saving or playing. Choose a mode tab for its shortest useful setup and actual result, including safe screen-reading examples.
TTS Reader turns text into speech using Android's installed text-to-speech system. Speak Text reads a message or an earlier String variable; Read UI reads accessible interface text; Read OCR reads text from a selected screen area; Stop stops ScriptTap-owned Reader speech. The guide narration is separate from the Android voice heard in the example.
Create and name a new blank script, open the editor, collapse the extra overlay controls and Recent, and expand Device. Manually drag TTS Reader into the script, then open the inserted row. Choose Speak Text. Use In sets output scope: This Script Only is local, while Script Thread shares outputs within the run's call thread.
Source offers Text or an earlier String variable. Inspect String var, then return to Text and type ScriptTap is ready. Set Max Chars to 80. The limit accepts 1–10000 characters or a prior Integer variable. Rate and Pitch accept 50–200 percent or prior Integer variables; set both to 100.
Speech Concurrent starts or queues speech and returns immediately. Consecutive unchanged wording, after trimming and collapsing whitespace, is skipped without rewriting optional outputs. Different wording may queue while earlier speech is active. Wait waits within the current branch until speech finishes; it can repeat the same message normally. This example uses Wait.
Voice Select exposes an installed engine's package name, voice name, and language tag. Supplied choices must exist on the Android device; unavailable choices report a setup error. Return to Default for this example. Reader uses Android's installed text-to-speech system, not the video's narration voice.
Exclusive Listening is optional. Enable it and set Alarm Volume to 75. It temporarily mutes Media and routes Reader through Alarm at the chosen level. Original Media and Alarm levels return when the run or Test preview ends; it does not pause another app's playback.
Enable Save Outputs, then Text → String s1, Success → Boolean b1, and Error → String s2. Each optional switch retains its destination when turned off. Use the compact header Test to preview without saving or playing the script. The example succeeds and processes 19 characters. Close the result and save Reader.
Manually drag Display after Reader. Keep Once, use variable s1, tap the Area text to enter bounds 100,360–440,520, and set lifespan 8000 ms. Display is not required for speech; it makes the saved words visible for eight seconds.
Under Advanced, manually drag PromptMe after Display. Keep Standard, set Header Complete, add Done → Boolean b2, and leave Toggles & Text off. This supporting prompt acknowledges completion.
Play from the main overlay. Reader speaks first, then Display shows ScriptTap is ready. for the full timed interval, and Complete appears. Press Done to finish naturally. Read UI, Read OCR, and Stop examples reuse this shared script in the other native-mode guide tabs.
Intro & Speak Text
Step-by-step guide
Step 01 TTS Reader turns text into speech using Android's installed text-to-speech system. It can speak a message, read accessible interface text, read a screen area with OCR, or stop speech started by ScriptTap.
Step 02 Let's build a short Speak Text example. Open Scripts and create a new blank script.
Step 03 Find the new blank script, open its menu, and choose Rename. Leave the other scripts unchanged.
Step 04 Give the example a descriptive name, save it, and select the new script so it becomes active.
Step 05 Open the Script Editor. Collapse the extra overlay controls and Recent, then expand the Device category.
Step 06 Manually drag TTS Reader from the palette into the script. Then open the inserted command to configure it.
Step 07 The Mode list contains Speak Text, Read UI, Read OCR, and Stop. We'll use Speak Text here. The other guide tabs show how to reuse this example for reading and stopping speech.
Step 08 Use In controls the scope of Reader's outputs. This Script Only keeps them local; Script Thread shares them within the run's call thread. We'll keep This Script Only.
Step 09 Source can be Text or a String variable created earlier in the script. Choose String var to see its input field. We are not using a variable source in this example.
Step 10 Switch back to Text and type a short message. We'll use: ScriptTap is ready.
Step 11 Max Chars limits how much text Reader processes. It accepts one to ten thousand characters, or a prior Integer variable. Set eighty for our short example.
Step 12 Speech Concurrent starts speech and lets the script continue immediately. Consecutive unchanged wording is skipped; different text can queue while earlier speech is still active.
Step 13 Switch back to Wait. This makes the current branch wait until speech finishes before moving to the next command.
Step 14 Voice Select exposes fields for an installed engine's package name, a voice name, and a language tag. Any choices you supply must be available on this Android device.
Step 15 For this example, switch back to Default to use the device's default text-to-speech voice.
Step 16 Rate and Pitch each accept fifty to two hundred percent, or prior Integer variables. Use one hundred for both to keep normal speed and pitch.
Step 17 Exclusive Listening is optional and starts off. Turn it on for this example, then set Alarm Volume to seventy-five percent.
Step 18 This temporarily mutes Media and routes Reader speech through the Alarm stream at the chosen level. The original Media and Alarm levels return when the script or Test preview ends. It does not pause another app's playback.
Step 19 Enable Save Outputs, then Text. Store the resolved words in s one, a String variable. A later command can use those same words.
Step 20 Success is an optional Boolean output. Enable it and use b one, so later script steps can check whether Reader succeeded.
Step 21 Error is an optional String output for error details. Enable it and use s two. These output switches retain their destinations when turned off.
Step 22 Use the header Test button to preview the device's voice without saving or playing the script. Listen to the example.
Step 23 The preview succeeded and processed nineteen characters. Close the result, then tap OK to save the Reader command.
Step 24 Next, manually drag Display after Reader. It is not required for speech; we're adding it to show the text output on screen.
Step 25 Open Display, keep Once mode, choose a variable source, and enter s one. This uses the words saved by Reader.
Step 26 Display also needs a screen area. Tap the area's text to enter exact bounds, and choose a clear rectangle in the middle of the screen.
Step 27 Set the Once lifespan to eight thousand milliseconds, so the text stays visible for eight seconds. Save Display.
Step 28 Under Advanced, manually drag PromptMe after Display. This gives us a visible confirmation when the script reaches the end.
Step 29 Open PromptMe, keep the regular style, and set its header to Complete. Leave Toggles and Text off.
Step 30 Add a button named Done and assign Boolean b two. The button lets us acknowledge the confirmation. Save the prompt.
Step 31 Our three-command script speaks the message, displays the saved text, and shows a completion prompt. Reader uses Wait, so Display does not start until speech has finished.
Step 32 When the script is complete, simply use the Play button in the main overlay.
Step 33 Reader finishes speaking, then Display shows the words stored in s one. The text remains visible for eight seconds.
Step 34 The completion prompt appears next. Press Done to finish the script naturally. Exclusive Listening restores the original Media and Alarm levels when the run ends.
Step 35 Use Speak Text for spoken messages and variable results. Use Read UI for accessible interface text, Read OCR for text drawn on screen, and Stop for ScriptTap's own speech. Those examples are in the other tabs.
Read UI speaks an app's Android accessibility text and content descriptions; it does not recognize letters in screen pixels. Reuse the Reader Guide created in Intro & Speak Text. Open Google Play, then change its existing Reader to readUI.
Read offers Text, Content Description, or Both. Content descriptions are accessibility labels, often used for icons. This guide tours all three and keeps Both. Area Filter is optional; enable it to focus on the Search navigation label. The icon offers visual area selection; tap the Area text to enter exact bounds 195,928–255,959.
Keep Stop If App Changes on. If the foreground app changes during the read, Reader reports app_changed rather than continuing with the wrong app.
Changing modes resets listening settings. Set Max Chars 80, Speech Wait, Voice Default, Rate 100 and Pitch 100. Enable Exclusive Listening again with Alarm Volume 75. The original Media and Alarm levels return when the Test or run ends. Shared options are covered in the Intro.
Keep This Script Only and the retained outputs: Text → String s1, Success → Boolean b1, Error → String s2. Header Test previews the selected label. The genuine example succeeds with six characters and speaks Search. Close the result and save Reader.
Display remains Once with variable s1, its existing area and lifespan 8000 ms. PromptMe remains Complete with Done → b2. Play while Google Play is active: Reader speaks, Display shows the recognized words for the full timed interval, and Complete appears. Press Done to finish naturally.
Read UI depends on the accessibility information provided by the app. Use Read OCR when the required words are not exposed.
Read UI
Step-by-step guide
Step 01 Read UI speaks text that an app exposes to Android accessibility. Use it to hear interface labels and descriptions without recognizing letters in a screenshot. We'll reuse the Reader script from the Intro tab.
Step 02 Close the editor and open Google Play. In this example, we'll read the Search label in the bottom navigation.
Step 03 Open the editor and its existing Reader command. In the Mode list, choose Read UI.
Step 04 Read offers Text, Content Description, or Both. A content description is an accessibility label, often used for an icon. Both includes the two sources. We'll choose Both.
Step 05 Area Filter is optional. Turn it on to limit which interface elements are read. The icon offers visual selection; tapping the Area text lets you enter exact bounds.
Step 06 Enter a small rectangle around the Search label, then confirm it. This keeps the example focused on one useful label instead of unrelated interface text.
Step 07 Keep Stop If App Changes on. If the foreground app changes while this read is in progress, Reader reports app changed instead of continuing with the wrong app.
Step 08 Changing the Reader mode resets its listening options. Set Max Chars to eighty, keep Wait and the default voice, and use one hundred for Rate and Pitch. The Intro explains these shared options.
Step 09 Turn Exclusive Listening on again and set Alarm Volume to seventy-five. This sends Reader through the Alarm stream and restores the original sound levels after the Test or script ends.
Step 10 The saved output destinations remain available. Keep Text in s one, Success in b one, and Error in s two. Display will use the words saved in s one.
Step 11 Return to the header and use Test to preview the selected label. You should hear Search.
Step 12 The preview succeeds and finds six characters: Search. Close the result and save Reader.
Step 13 Only Reader has changed. Display still shows s one for eight seconds, and PromptMe still confirms that the script reached the end.
Step 14 When the script is complete, simply use the Play button in the main overlay.
Step 15 After Reader finishes speaking, Display shows Search from s one. The text stays visible for eight seconds.
Step 16 When Complete appears, press Done. The script finishes naturally and restores its temporary sound changes.
Step 17 Read UI depends on the app's accessibility information. If an app does not expose the words you need, use Read OCR to read the visible screen pixels instead.
Read OCR speaks text recognized from visible screen pixels. Use it when words are drawn on screen but unavailable through Read UI. Reuse the shared Reader Guide and the neutral Search label in Google Play.
Change the existing Reader to readOCR. An area is required. Tap its text and enter 195,920–260,959, enclosing the visible Search label. If Android asks, allow screen capture. Keep the letters readable, visible and inside the selected region.
Keep Stop If App Changes on. If the foreground app changes during the read, Reader reports app_changed rather than continuing with the wrong app.
Changing modes resets listening settings. Set Max Chars 80, Speech Wait, Voice Default, Rate 100 and Pitch 100. Enable Exclusive Listening again with Alarm Volume 75. The original Media and Alarm levels return when the Test or run ends. Shared options are covered in the Intro.
Keep This Script Only and the retained outputs: Text → String s1, Success → Boolean b1, Error → String s2. Header Test previews the selected label. The genuine example succeeds with six characters and speaks Search. Close the result and save Reader.
Display remains Once with variable s1, its existing area and lifespan 8000 ms. PromptMe remains Complete with Done → b2. Play while Google Play is active: Reader speaks, Display shows the recognized words for the full timed interval, and Complete appears. Press Done to finish naturally.
Read OCR depends on visible, legible pixels. It does not use the app's accessibility labels.
Read OCR
Step-by-step guide
Step 01 Read OCR turns visible letters in a screen area into spoken text. It is useful when an app draws words that Read UI cannot access. We'll reuse the same Reader script and the Search label in Google Play.
Step 02 Open the editor and the existing Reader command, then choose Read OCR in Mode.
Step 03 Read OCR requires a screen area. Tap the Area text and enter a rectangle around the Search label. Use a clear, visible region with enough space for the letters.
Step 04 If Android asks, allow screen capture. OCR reads the pixels inside the selected area, not the app's accessibility labels.
Step 05 Keep Stop If App Changes on. It prevents a foreground-app change from turning this read into speech from the wrong app.
Step 06 Changing modes resets the listening options. Set Max Chars to eighty, keep Wait and the default voice, and use one hundred for Rate and Pitch.
Step 07 Enable Exclusive Listening again and set Alarm Volume to seventy-five. The original Media and Alarm levels return after the Test or script ends.
Step 08 Keep the same outputs: Text to s one, Success to b one, and Error to s two. This lets the rest of the script use the recognized words without changing Display or PromptMe.
Step 09 Use the header Test to check the chosen area. Listen to the recognized word.
Step 10 The preview succeeds and recognizes Search, with six characters. Close the result and save the command.
Step 11 The script now uses Read OCR, then displays the recognized text for eight seconds and shows a completion prompt. No other command needs to change.
Step 12 When the script is complete, simply use the Play button in the main overlay.
Step 13 Reader finishes speaking, then Display shows Search from s one for eight seconds. This is the text recognized from the selected pixels.
Step 14 Press Done when Complete appears. The script finishes naturally. For reliable OCR, keep the target text visible, readable, and inside the selected area.
Reader Stop stops active and queued speech owned by ScriptTap. It does not stop the script or silence speech owned by other apps. This guide continues the Reader Guide created in Intro & Speak Text.
Return Home, show the main overlay, expand with Plus, open the editor and collapse extra controls. Change the first Reader to Speak Text and type a longer neutral message, such as: ScriptTap can read messages while the rest of a script continues. This longer message gives the next Reader command time to stop the speech before the message ends.
Set Max Chars 300 and Speech Concurrent. Wait would keep this branch from reaching Stop until speech had already ended. Keep Default voice, Rate/Pitch 100, enable Exclusive Listening with Alarm Volume 75, and save.
Manually drag Delay from Timing between Reader and Display. Set 1500 ms, allowing speech to begin. Then manually drag a second TTS Reader from Device between Delay and Display.
Open the new Reader and choose stop. Stop has no speech text, voice settings or Test button. Keep This Script Only. Enable Save Outputs and Success → Boolean b3; leave Text and Error off, then save.
Change the existing Display variable from s1 to b3. Keep Once, area 100,360–440,520 and lifespan 8000 ms. PromptMe remains Complete with Done → b2.
The five commands are Reader Concurrent → Delay1500 → Reader Stop → Display b3 → PromptMe. Play from the main overlay. The genuine device voice begins the long message and is interrupted. Display shows True for the full timed interval, then Complete appears. Press Done to finish naturally; the original Media and Alarm levels return.
Stop
Step-by-step guide
Step 01 Reader Stop ends speech started by ScriptTap, including queued Reader messages. It does not stop the script or silence speech owned by other apps. We'll adapt the shared Reader example to make that difference visible.
Step 02 Return to the home screen. Show the main overlay, use Plus to expand its controls, and open the editor. Collapse the extra controls to keep the script clear.
Step 03 Open the existing first Reader command and choose Speak Text from Mode. Display and PromptMe stay in place while we add the commands needed for this example.
Step 04 Use a longer message so there is still speech to stop. This message explains that Reader can speak while the rest of a script continues.
Step 05 Set Speech to Concurrent. The next command can now run while Reader is speaking. With Wait, this branch would not reach Stop until the message had already finished.
Step 06 Keep the default voice and normal Rate and Pitch. Enable Exclusive Listening and set Alarm Volume to seventy-five, then save this Reader.
Step 07 Open Timing and manually drag Delay between Reader and Display. This short pause gives speech time to begin before we stop it.
Step 08 Open Delay and enter fifteen hundred milliseconds, or one and a half seconds. This is just a supporting pause; Reader Stop is what ends the speech. Save Delay.
Step 09 Under Device, manually drag another TTS Reader between Delay and Display. This second Reader will stop the first one's speech.
Step 10 Open the new Reader and choose Stop. Stop has no speech text, voice controls, or Test button because it ends ScriptTap's existing speech instead of starting a preview.
Step 11 Keep This Script Only. Enable Save Outputs and Success, then assign Boolean b three. This gives us a visible result from Stop. Save the command.
Step 12 Open Display and change its variable from s one to b three. Keep its area and eight-second lifespan. We will display Stop's success result instead of the spoken message.
Step 13 The script starts speech, waits one and a half seconds, stops Reader, displays the success result, and shows Complete. PromptMe stays unchanged.
Step 14 When the script is complete, simply use the Play button in the main overlay.
Step 15 Stop cuts the message short. Display shows its success result for eight seconds, proving that the script continues after speech ends.
Step 16 Complete appears next. Press Done to finish naturally. Use Reader Stop when your script no longer needs its spoken message; it leaves other apps' speech alone.