Skip to content
/ Flax Public

FlaUI wrapper(UIA3 only), adding Java and OpenCV feature

License

Notifications You must be signed in to change notification settings

teonsen/Flax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flax (This project is in preparation)

FlaUI wrapper(UIA3 only), adding Java and OpenCV feature.

Why the wrapper for FlaUI now?

Because it would be nice to code Windows and Mac in the same framework. The "x" in Flax meant to be x(cross) platform.

using Flax;

    var f = new WindowsAutomation();
    f.Process.Run("calc.exe");

    using (var w = f.GetWindow("Calculator"))
    {
        w.GetElementByName("1")?.Click();
    }

What is the OpenCV feature?

Only CV.Click() is available now. You will need Flax.CV.exe in your app's startup path.

using Flax;

    var f = new WindowsAutomation();
    // Click the center point of matched area, if your template image matched in your screen.
    f.CV.Click($YourTemplateImagePath.bmp);

Releases

No releases published

Packages

No packages published

Languages