DH.Window.UITool is a Windows UI automation scripting tool for inspecting desktop UI elements, building repeatable scripts, and capturing long scrolling content, including full web pages.
Version: 1.0.0.1
Korean version: README.ko.md
DH.Window.UITool helps you:
- browse top-level windows and UI Automation elements
- inspect element properties in a tree + property panel workflow
- build
.dhuiscriptscripts in a tabbed editor - run automation commands such as
FIND,UIAFIND,SET,WINDOW,WAIT,KEY,CAPTURE,LOG, andWHILE - capture long web pages or scrollable document areas into stitched screenshots
- Window picker for selecting a target window directly from the desktop
- Tree view for grouped process/window inspection
- Property panel with copy helpers for values and
name=value - Script editor with autocomplete and command help
- Built-in help documents for supported commands
- Included sample scripts for browser capture with auto-scroll and stitched long-image output
- Recent script history
- Main window size/position restore on restart
- Sample scripts copied to output for quick start
- Launch
DH.Window.UITool.exe. - Pick or browse a target window from the left tree.
- Open a sample script from
DH.Window.UIToolSol/doc/samplesor create a new.dhuiscript. - Run the script and review the result in
Run Log.
The current UI interaction commands include:
SHOW_MSGBOXSHOW_PICKWINDOWSHOW_OPEN_FILESHOW_SAVE_FILESHOW_SELECT_FOLDER
Sample scripts are included under DH.Window.UIToolSol/doc/samples:
capture_web_example.dhuiscriptcapture_web_with_prompt.dhuiscriptlog_checkpoint_example.dhuiscript
The browser capture samples are ready to demonstrate a practical end-to-end workflow:
- prompt for the browser window
- prompt for the output folder
- move the page to the top
- auto-scroll while capturing frames
- save a stitched long screenshot
Requirements:
- Windows 10 or later
- Visual Studio 2022
- .NET Framework 4.6.2
Build with Visual Studio or MSBuild:
MSBuild.exe DH.Window.UIToolSol.sln -t:Build -p:Configuration=Debug -verbosity:minimal
MSBuild.exe DH.Window.UIToolSol.sln -t:Build -p:Configuration=Release -verbosity:minimalRun the commands from DH.Window.UIToolSol/, or provide the solution path explicitly:
MSBuild.exe DH.Window.UIToolSol/DH.Window.UIToolSol.sln -t:Build -p:Configuration=Debug -verbosity:minimal
MSBuild.exe DH.Window.UIToolSol/DH.Window.UIToolSol.sln -t:Build -p:Configuration=Release -verbosity:minimalOutput binaries are generated under:
DH.Window.UIToolSol/output/DebugDH.Window.UIToolSol/output/Release
DH.Window.UIToolSol/doc/help/contains command reference documents used by the built-in help view.DH.Window.UIToolSol/doc/samples/contains example scripts for common workflows such as browser capture and run log checkpoints.
DH.Window.UIToolSol/workspace/DH.Window.UITool.Core/- scripting engine and core logicDH.Window.UIToolSol/workspace/DH.Window.UITool/- WinForms UIDH.Window.UIToolSol/doc/help/- built-in command help markdownDH.Window.UIToolSol/doc/samples/- sample.dhuiscriptfiles
Shows:
- process-grouped window tree
- UI element structure view
- property inspection panel
- script editor with command help
Shows:
- script editing workflow
- capture sample script
- command execution flow in
Run Log
This sample-driven workflow is one of the main release highlights: you can start from the bundled browser capture script and produce a full-page stitched image without writing custom logic first.
Shows:
- script editing with command help and property inspection nearby
- dialog-oriented automation workflow using
SHOW_*commands - the authoring environment included in the first public release
Shows:
- a stitched long screenshot generated from a scrolling web page
- the practical output of the bundled browser capture sample script
- how the tool can capture content beyond a single visible viewport
- Command help markdown is shipped next to the executable so the app can open help without depending on the solution folder layout.
Licensed under the MIT License.



