BigDaddyO Posted July 24, 2017 Share Posted July 24, 2017 I have been asked to write a script that will Redact specific information from a UI and then take screenshots of the screen. The field is sorta like a big disabled input box. CLASS:AfxWnd100 I can read the text in, I then do a string replace and use ControlSetText to put the new text back in. The autoIT Spy sees the new visible text, but the UI itself does not seem to refresh so it's still showing the original text. Hitting F5 doesn't do anything, and I tried ControlHide/ControlShow to see if that would kickstart but still shows the old text. Anyone have some other ideas to kickstart a refresh of the UI? oh, and this is Trizetto Facets I'm also going to be looking into trying to find a way to search for the location of text on a screen and do a black overlay to try and cover the text so it will look like those Government blacked out doc's. Thanks for any help you can provide. Mike Link to comment Share on other sites More sharing options...
InunoTaishou Posted July 24, 2017 Share Posted July 24, 2017 Look at _WinAPI_RedrawWindow ( $hWnd [, $tRECT = 0 [, $hRegion = 0 [, $iFlags = 5]]] ) Link to comment Share on other sites More sharing options...
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