WinGetText

Recommended Posts

godsstigma 0

godsstigma 0

I have been using AutoHotKey for a while now and never even thought about checking AutoIt out, but I am glad I did. AHK is great for quick Hotkey and HotString automation, but I feel AutoIt has more functions to offer and is even more reminiscent of BASIC.

So of course, I have a question:

I work with an emulator (like PKMS or AS/400) @ work and I need to know if there is a way to get certain values off of the AS\400 GUI using its screen coordinates.

So say I need to get text from coordinates 08/025 thru 08/030 and assign it to a variable.

How would I go about doing this?

Thanks so much!

Share this post

Link to post

Share on other sites

PsaltyDS 27

PsaltyDS 27

I have been using AutoHotKey for a while now and never even thought about checking AutoIt out, but I am glad I did. AHK is great for quick Hotkey and HotString automation, but I feel AutoIt has more functions to offer and is even more reminiscent of BASIC.

So of course, I have a question:

I work with an emulator (like PKMS or AS/400) @ work and I need to know if there is a way to get certain values off of the AS\400 GUI using its screen coordinates.

So say I need to get text from coordinates 08/025 thru 08/030 and assign it to a variable.

How would I go about doing this?

Thanks so much!

You may not be able to. Have you checked out the emulated console window with AU3Info.exe? If it is not a standard Win32 API control, and there is no API provided by emulation solftware, then you could be out of luck.