DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to search a desktop app and confirm a result with OCR with DSH Computer Use Win

Run a search in a Windows app whose controls are hidden, and use on-screen text recognition to confirm the result.

Short answer: Install the plugin with dsh plugin --profile desktop add dsh-computer-use-win from the DSH terminal; then Quit DSH Desktop from the tray icon and reopen it; open Settings → Computer Use and keep the default tool loading, which includes all tools. All steps.

Credentials. OCR reads everything visible on screen, so keep account details and private messages out of view while the agent runs.

Who it is forA researcher or support worker who needs to run a search in a desktop app that exposes few UI controls, so normal control lookup fails.

The problemSome apps, including custom-drawn interfaces, do not expose their search box or results to UI Automation, so an agent cannot find them by control name alone.

The outcomeThe agent locates the search field from the visible text, runs the search, and confirms the expected result appears on screen.

What you need first

  • A Windows computer with DSH Desktop installed
  • Windows PowerShell 5.1 (included with Windows)
  • For DSH Web or a standalone MCP client: Node.js 22 or later
  • A logged-in desktop session that the plugin can use

Steps

  1. Install the plugin with dsh plugin --profile desktop add dsh-computer-use-win from the DSH terminal.
  2. Quit DSH Desktop from the tray icon and reopen it.
  3. Open Settings → Computer Use and keep the default tool loading, which includes all tools.
  4. Open the target app and make sure the search results page is visible.
  5. Give the agent the search term and the text that must appear, then review the confirmation in its summary.

Prompt for your agent

With the dsh-computer-use-win tools, open <app name>, search for <search term>, and confirm that <expected text> appears. If the accessibility tree does not show the search box, use the ocr tool to locate visible text. Report the confirmed text and its location, and state clearly if it was not found.

Caveat. OCR only returns text and screen coordinates and does not invent control IDs, so results depend on what is visible and can shift when the window moves.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for Yu-tao-Li/dsh-computer-use-win and "Search a desktop app and confirm a result with OCR"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer