Re: GNOME 2.8: Scripting



On Llu, 2004-03-29 at 15:00, Rodrigo Moya wrote:
> ok, then excuse my ignorance, but how does scripting with at-spi look
> like? I mean, if I'm not wrong, at-spi allows you to access the
> individual widgets on a given application, to set / get their values, or
> simulate actions (key presses, etc) But, I can't see how this could
> help in doing high-level scripting, like the example of Evolution's
> sendMail method I mentioned before.

In an abstract form something like

	"Give me your menus"
	"Ok now give me the file menu"
	"Ok select new message"
	Wait for the right window to pop up
	...

for that kind of use its messy, and when you try to cope with interface
changes the wonderful world of locales bites you. I agree with Havoc
that its a different kind of scripting at work here. The at-spi layer
layer for scripting is however fantastic for task automation/macro
stuff.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]