Code: Select all
I'm trying to figure out a way to copy the IP address to the clipboard or as a variable and then paste that into PuTTY for the serialization process, rather than manually typing the IP in. The hostname and IP address are all visible text, according to window spy. The text I'd like to copy is about 12 pixels down and 12 pixels to the right of the hostname. Does anyone have any ideas on how to do this? I'd appreciate it very much. Here is a screenshot of the software I'm using:
On a side note, I'm also trying to figure out how to use ControlClick to right click one of the hostnames. I tried using it to right click "bedroom-dec-0426" with the following code to no avail.
Code: Select all
!d::
WinActivate, ahk_class WindowsForms10.Window.8.app.0.141b42a_r6_ad1
WinWaitActive, ahk_class WindowsForms10.Window.8.app.0.141b42a_r6_ad1
ControlClick,,, bedroom-dec-0426, right
return