Now I have a software spreadsheet (image tag 1): it is in text format, but it cannot be copied.
I used the AHKSpy tool to get the text of the mouse click range for this table.
How can I get the text content of this AHKSpy through AHK?
For example, I now mouse on row 18 and its "date" column says 2020-05-13.
AHKSpy also recognizes this (but I don't know why it shows 17 lines). How do I write this 2020-05-13 variable "test" in AHK?
How to use AHK direct mouse click at text content?
How to use AHK direct mouse click at text content?
- Attachments
-
- 2022-05-25_15-24-38.png (67.16 KiB) Viewed 176 times
Re: How to use AHK direct mouse click at text content?
https://raw.githubusercontent.com/Drugoy/Autohotkey-scripts-.ahk/master/DevTools/AhkSpy.ahk
The title of AHKSpy "mentions" that clicking the R(ight)Button would copy its content to the clipboard. If that's the case you could parse that content from there.
You could change AHKSpy's code to output/append its content to a file?
OTOH, you could check what code section of AHKSpy is getting that specific value and "borrow" that method to create your own detector, assigned to a hotkey.
HTH
The title of AHKSpy "mentions" that clicking the R(ight)Button would copy its content to the clipboard. If that's the case you could parse that content from there.
You could change AHKSpy's code to output/append its content to a file?
OTOH, you could check what code section of AHKSpy is getting that specific value and "borrow" that method to create your own detector, assigned to a hotkey.
HTH