Prompt
automation for old apps no api
Latest observation
Nov 6, 2026
OpenAI APIWeb search: off
If an app has no API, the usual options for automation are:
-
UI automation / RPA
- Simulate clicks, typing, copy/paste, menu actions.
- Tools:
- Windows: Power Automate Desktop, AutoHotkey, UiPath
- macOS: AppleScript, Shortcuts, Keyboard Maestro
- Linux: xdotool, ydotool, SikuliX
- Cross-platform: Selenium only if it’s browser-based; otherwise UiPath / SikuliX
-
Screen-based automation
- Use image matching / OCR to locate buttons and fields.
- Useful when the app is old, custom, or inaccessible by normal UI selectors.
- Tools: SikuliX, Power Automate Desktop OCR, Tesseract-based scripts
-
Accessibility tree automation
- If the app exposes accessibility objects, you can automate through them even without an API.
- Often more reliable than pure image-clicking.
- Tools:
- Windows UI Automation
- Apple Accessibility API
- Linux AT-SPI
-
File / database / integration-layer automation
- Sometimes the app doesn’t have an API, but it can be driven by:
- Import/export files
- Shared folders / watched directories
- Direct database access
- Email parsing
- Command-line switches
- This is usually more stable than UI automation.
- Sometimes the app doesn’t have an API, but it can be driven by:
-
Legacy scripting / macros
- Some older apps support built-in macros or script engines:
- VBA
- VBA-like macro languages
- embedded Python/Lua/etc.
- Some older apps support built-in macros or script engines:
Best approach
- If the app has a normal UI: start with accessibility/UI automation
- If it’s visually inconsistent: use image/OCR automation
- If it exchanges files: prefer file-based automation
- If it’s truly old/fragile: consider RPA tools rather than custom code
Practical warning
UI automation for old apps can be brittle:
- window focus changes
- timing issues
- popups
- screen resolution changes
- localization
If you want, I can suggest the best tool for your OS and app type or outline a step-by-step automation setup.