FlaUI / FlaUInspect

Inspect tool to inspect UIs from an automation perspective
MIT License
410 stars 97 forks source link

Json configuration #19

Open Gwergilius opened 2 years ago

Gwergilius commented 2 years ago

Optional appsettings.json file is added for controlling the AutomationType used by the application. If appsettings,json exists in the application folder AND it contains an entry for AutomationType, then it will be used for initializing the MainWindow instead of displaying a dialog. If appsetting.json cannot be used to determine the AutomationType, then the Choose Version dialog is still displayed as in the previous versions.

An example for the appsettings.json is:

{
  "FlaUInspect": {
    "AutomationType": "UIA3"
  }
}