Re: automated screenshots



On Fri, 2006-08-04 at 23:00 +0200, karderio wrote:

[snip]

> > BTW, dogtail has its own screenshot method; you may want to use that
> > (caveat: I haven't used it much myself though)
> 
> >From what I understood from the documentation, DogTail only let's you
> take shots of the whole screen and not an individual window.

Patches welcome! :-)

> 
> > Dogtail has some automatic i18n facilities; if you write a script in the
> > C locale you may well be able to have it run in other locales by
> > leveraging the software's own translations. See dogtail.i18n and the
> > loadTranslationsFromPackageMoFiles function.
> 
> I tried this function, while it seemed that it may work for gedit, it
> halted the script when I tried to use it with gataxx saying
> "dogtail.distro.PackageNotFoundError: gataxx". I don't know if this is a
> bug, or simply a figment of my lack of understanding of dogtail.
Possibly a bug; the implementation of that function varies between
distributions - maybe we broke Ubuntu support?   I'd suggest having a
look at the dogtail.distro module and see if you can call the methods
within it.

Hope this helps
Dave




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