I'm using a program (Comsol) that computes a formula entered into one cell in a table, and places the result into another cell. The first cell is editable, and I can copy from it to clipboard with Ctrl+C, but the second cell is non-editable and Ctrl+C does nothing. Which means that I either have to re-implement the computation myself, or type the digits of the numerical answer manually.
I used the Window Spy utility from AutoHotkey (from context menu on an AHK running script in the system tray) to see that the control implementing the table is a ListView control (called SysListView3217 or SysListView3218 or similar), so is a standard Windows control, just the same as used in Windows Explorer to display files and folders. This is not surprising because Comsol GUI is obviously built with SWT, which uses native Windows controls.
This is half-way there. What would be an elegant way to use AutoHotkey to grab the text from the SysListView?