There's also https://github.com/go-vgo/robotgo for the Go world.
Curious if you have tried the other method (I have not): https://stackoverflow.com/a/9371563
There are other projects which attempt to do similar things but I sincerely believe Simba is the best program for desktop automation to date.
I helped write it.
If the logic grows and automation becomes complex, AutoIt is more suitable.