I just pushed rev5785, which contains 2 leo scripts: register-leo and
unregister-leo
register-leo.leox: Creates the necessary Windows registry keys for
integration with Explorer and friends. After running this script .leo and
.leox files are shown with the Leo icon, and 2x-clicking on them will open
them in Leo.
This has the added benefit of removing the need for most to create a batch
file and then figure out where in PATH to store it in order to use Leo. As
a matter of fact, any .leo file becomes the equivalent of launchLeo.py,
just try this:
%homedrive%\homepath%\workbook.leo x:\path\to\some\other\leofile.leo
To install: open a command shell with administrative rights, and run:
d:\path\to\python.exe d:\path\to\leo\launchLeo.py
e:\path\to\register-leo.leox
...make "@file register-leo" the active node and press [Ctrl-B]
(execute-script). You may need to log out and back in again for the icons
to show up, but the double-click behaviour is effective immediately.
Eventually I'd like to see this activated from a
Settings/Options/Preferences menu. Then we can distribute daily and
portable builds of Leo and still have easy (dis)integration with the host
(on Windows) and not rely so heavily on stable builds and installers, which
are few and long between 'cause of the pain in building them.
feedback and testing welcome,
-matt
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.