>> I venture that if Joe Orr had been able to use Leo to create this
>> particular screenbook it would not be so far out of date. Someone else
>> would have regenerated it to match Leo's development pace (assuming
>> the source was shared).
>
> That's the dream.  However, full automation looks infeasible: how
> could one possibly add the callout graphics automatically?

Perhaps:
   import sys
   from PyQt4.QtGui import QPixmap, QApplication
   app = QApplication(sys.argv)
   QPixmap.grabWindow(QApplication.desktop().winId()).save('test.png', 'png')
    # scraped from
http://stackoverflow.com/questions/69645/take-a-screenshot-via-a-python-script-linux/769221#769221

followed by sikuli?
 http://groups.csail.mit.edu/uid/sikuli/
in this context it might not make sense though as something which
needs a new screenshot is likely because the interface has changed,
which means an old sikuli script may not work. (ok I confess, I shared
the link just because it's *cool* and vaguely related)

-matt

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to