The more I think about it, the more I think Leo needs an automated playback 
capability.  I had some initial thoughts in the thread, "PyOhio Leo Video 
up on youtube", 
https://groups.google.com/forum/?fromgroups=#!topic/leo-editor/nmBweM3wI3o.

There as several immediate applications for automated playback:

1. As a helper for those preparing demos of Leo.  It eliminates the need to 
think, talk and type at the same time ;-)  The hope is that the narrator 
would be more comfortable and relaxed during the recording, but perhaps 
that is wishful thinking.

2. As an automated, scripted, demo of what Leo can do.  You could even 
imagine the quickstart.leo would "create itself" when it was opened.  You 
would simply need to start the demo when the file was opened!

As I was thinking about playback, I considered how the playback would draw 
attention to various parts of the screen.  In other words, we need 
something akin to the big red arrows in the Leo slideshows. One easy way to 
do this would be with a DialogWithImage call, that would pop up a dialog 
showing, say, a magnified image of a dirty icon box.  Depending on options, 
the dialog might go away after a few seconds, or remain until the use hits 
any key.

The main question is, how easy will it be to create and edit playbacks?  
I'm not sure.  Any such playback capability would essentially be a 
(detailed!) script.  We can imagine a script that is essentially Python:  
Something like:

goto_sibling_node(<<node name>>)
dialog(<<dialog name>>,<< when dismissed>>)
edit_headline
type_individual_letters('This is the headline',<<delay between letters>>)
type_text('This is the headline')
insert_sibling_node()
insert_child_node()
select_find_tab()
etc! etc!

Leo already has most of the capability go generate this as we use Leo:  
it's the so-called "lossage" history in k.masterKeyHandler.  I'm thinking 
that there is no urgent need to capture the mouse: we might as well 
demonstrate mouseless Leo!

Actually, we might forgo capturing actions altogether, and just write the 
script directly.  We'll have to see whether that makes sense.

Your comments, please, Amigos.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/leo-editor/-/z4IiZO2rTw8J.
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