On Fri, 16 Jan 2009, Mark Wilkins wrote:

> I did a presentation on Shoes at my local Ruby Brigade meeting last
> night.  For fun, I did the whole slideshow in Shoes.  My Shoes.app was
> just a little engine that stepped through a big array of code
> snippets:
> 
> - Handle :left and :right keypress
> - get the prev/next code snippet
> - eval

Nice idea.
> 
> It worked well, but now I'm wondering...what's the best way to get all
> of those rendered *slides* into something like a PDF for distribution?
> 
> I suppose I could step through each slide and do a screen capture of
> the window, pasting all of images into some document.  But I was

On XP you could probably automate that with AutoIt.
http://www.autoitscript.com/autoit3/index.shtml
I've not tried to use it with Shoes, but ...   Were you on Vista,
this poses an interesting question: the speech recognition engine
allows access to named (or if you can't name it, say "show numbers"
and use the number) objects, so I wonder if theres a way to access
that model directly?  Speech macros are in beta, and until they're
more stable I think I'll avoid them for now, but it would be
interesting to explore what is possible there.

I've not used MacOSX so I don't know what's possible there.

It would be nice if Shoes had some reflection to get it's own images
of its windows, I suppose, though that does open up the fake UI
problem: like those annoying Windows error message images that
nefarious advertisers put on web pages, just to trick people into
clicking them.  Things described here:

http://www.codinghorror.com/blog/archives/001164.html



> hoping there might some shoes-y way to do it?
> 
> If it matters, I'm using Raisins (0.1123) + video on both WinXP and OS X 10.4.
> 
> Thanks,
> 
> Mark
> 
        Hugh

Reply via email to