问题
Can a GNOME application be automated? I.e., can I programatically interact with its user inteface?
How?
回答1:
While specifically designed to test GUIs, dogtail provides the functionality you are looking for.
回答2:
While I don't know much about it, try looking into ATK. I know there was a project a while back called facade (part of FVWM?) that used ATK to figure out the logical elements of an application and interact with and modify them.
回答3:
You should take a look at DBus.
来源:https://stackoverflow.com/questions/1006193/can-a-gnome-application-be-automated-how