From what I gethered from what yeh wanna do its doable.

Just use PixelGetColor ,MouseMove and then Click yeh also need to sort out the windows so its always in the same location or some other way like using ImageSearch to find the button.

There's a ton of other ways but it depends on knowing the app yeh wanna tweak with.