A certain program's control ClassnameNN was identified by AutoIt Window Information Tool as:
WindowsForms10.BUTTON.app.0.24f4a7c_r27_ad19
in a previous version. In the current version it changed to:
WindowsForms10.BUTTON.app.0.24f4a7c_r13_ad19
(notice the changes after r
).
How to use a regular expression to solve this problem for future versions? Any workaround too is highly appreciable.