thats cool but i would also like to have
a bit of doc how to do it manually.
Install Python from http://www.python.org/download/releases/
Install either Tk or Qt, as described above.
Install Leo. Get Leo’s .zip file from http://sourceforge.net/projects/leo/ You can unpack the .zip file anywhere, including Python’s site-packages folder, for example, C:\Python26\Lib\site-packages
[optional] Generate/update a junction link from unpacked leo folder to ...\site-packages\leo:
cd C:\Python26\Lib\site-packages\ junction leo leo-4-6-2-final
Create windows shortcut (edit paths as necessary):
Target = C:\Python26\pythonw.exe "C:\Python26\Lib\site-packages\leo\launchLeo.py" Start in = D:\code
Associate .leo filetype batch file:
ftype LeoFile=C:\Python26\pythonw.exe "C:\Python26\Lib\site-packages\leo\launchLeo.py" "%*" assoc .leo=LeoFile
[optional] Put this leo.bat in %PATH%:
@C:\Python26\python.exe "C:\Python26\Lib\site-packages\leo\launchLeo.py" %*
For more information see:
--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To post to this group, send email to leo-e...@googlegroups.com.
To unsubscribe from this group, send email to leo-editor+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
Inspired by the recent problem Nils reported with the 4.10 final installer, I've built a batch file to make running the development snapshots a little easier, attached.
root dir: [snip]
so it seems adding another file, create-leobat.bat, can't hurt, do you
agree?
On the snapshot download page I'll add pointer to the create-leobat.bat
for windows users and I guess it should go in the docs. somewhere also.
Can you review the above to see if it needs any changes and confirm
adding it still makes sense in light of other Leo association things
you've come up with more recently? I'm guessing it could still be
helpful.
create-leobat.bat: change gui Leo launch to Start command (after Jacob Peck); assoc and ftype commands were in inverted order; change ftype name to follow python patter (LeoFile --> Leo.File)
Do you remember why you needed to use `%%1` in place of `%%*` ?The former will only pass the 1st parameter while the 2nd will pass everything. So when using `%%1` the second and further files or parameters will be ignored. I didn't come up with a scenario where that is needed or an improvement, but perhaps I'm missing a use case were it is(?)
L32: Good question why I
did that... no clue, really. It works, though, for my purposes. %%*
is probably correct, and I
will revise this.
L34-35: Google says otherwise: http://www.instructables.com/id/Slightly-More-Advanced-Basic-Batch/step2/ECHO-OFFON-Command/
That being said, I did test this both with and without the @echo off
line... and it only worked with the @echo off
line. At least on my systems (2 win xp, 1 win 7 64).
L21: It was complaining on my WinXP boxes, but that could
be a security setting. Both of my WinXP boxes are the property of
my employer, and they have some pretty crazy security protocols in
place. Not sure if that has anything to do with it, but my WinXP
boxes didn't like the extra slash at all.
-->Jake
--
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 leo-editor+...@googlegroups.com.
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.