{
 "schema_version": 1,
 "generated": "2026-10-31",
 "id": "yu-tao-li-dsh-computer-use-win--search-app-without-accessibility-tree-via-ocr",
 "repo": "Yu-tao-Li/dsh-computer-use-win",
 "repo_url": "https://github.com/Yu-tao-Li/dsh-computer-use-win",
 "repo_slug": "yu-tao-li-dsh-computer-use-win",
 "title": "Search a desktop app and confirm a result with OCR",
 "page_title": "How to search a desktop app and confirm a result with OCR with DSH Computer Use Win",
 "summary": "Run a search in a Windows app whose controls are hidden, and use on-screen text recognition to confirm the result.",
 "who": "A researcher or support worker who needs to run a search in a desktop app that exposes few UI controls, so normal control lookup fails.",
 "problem": "Some 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.",
 "outcome": "The agent locates the search field from the visible text, runs the search, and confirms the expected result appears on screen.",
 "steps": [
  "Install the plugin with `dsh plugin --profile desktop add dsh-computer-use-win` from the DSH terminal.",
  "Quit DSH Desktop from the tray icon and reopen it.",
  "Open Settings → Computer Use and keep the default tool loading, which includes all tools.",
  "Open the target app and make sure the search results page is visible.",
  "Give the agent the search term and the text that must appear, then review the confirmation in its summary."
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "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.",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "javascript",
 "requirements": [
  "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"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "OCR reads everything visible on screen, so keep account details and private messages out of view while the agent runs."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/yu-tao-li-dsh-computer-use-win/search-app-without-accessibility-tree-via-ocr/",
 "md": "https://dedupedai.com/use-cases/yu-tao-li-dsh-computer-use-win/search-app-without-accessibility-tree-via-ocr/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/yu-tao-li-dsh-computer-use-win--search-app-without-accessibility-tree-via-ocr.json",
 "api_version": "v1"
}
