Re: unwanted effect of new "more responsive" feature
| Newsgroups | gmane.comp.windows.power-pro |
|---|---|
| Message-ID | <[email protected]> |
If you have a looking for a window which matches some text in a script loop which also sends wheel scrolls, then possibly this may be the source of the issue. If so, try moving the search for the text outside the loop, eg save search results as window handle and then use it to send scrolls. The technical background: the enhancements are meant to deal with non-responsive windows. When you look for a window matching some text, PPro has to loop through all active windows to see if any match the given text. This is done with a system api which asks the window itself to return its text. If the window is non-responsive, PPro will hang. The feature uses a different windows api call which aborts after a given time. Now it is not clear to me why that would matter, but this is all I could think of that would affect the situation you describe as I understand it. BTW, this feature was always there, but the recent versions optimized it and extended it to apply to any PPro request for window text. Setting wait to zero means the old method is used; ie send request and wait indefinitely for it to return.