rm65453 Posted November 29, 2020 Posted November 29, 2020 (edited) Hi Everyone, I am creating a program that takes a file and updates inventory. I have done all the steps except cannot figure out how to find out the current inventory on hand as the field is inactive. I need to read the current inventory and then minus a value and then enter the result in the new inventory field. I cannot seem to figure out a good way to grabbing this value. Thanks. resolved with WinGetText Edited November 29, 2020 by rm65453 resolved
rm65453 Posted November 29, 2020 Author Posted November 29, 2020 (edited) #include <MsgBoxConstants.au3> Example() Func Example() ; Retrieve the window text of the active window. Local $sText = WinGetText("[ACTIVE]") ; Display the window text. MsgBox($MB_SYSTEMMODAL, "", $sText) EndFunc ;==>Example solution. Edited November 29, 2020 by rm65453
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now