> A shortcut using pythonw.exe does not open a cmd window. > > A shortcut using python.exe does open a cmd window.*
test tk script: from tkinter import * root = Tk() w = Label(root, text='Hello World!') w.pack() root.mainloop() i create a *.lnk to this script, target: C:\run\Python\python.exe "C:\test\helloworld.py" opens a command window target: C:\run\Python\pythonw.exe "C:\test\helloworld.py" does not open a command window. but if i take launchLeo.py instead it alays opens a command window. But that window has no contents if opened with pythonw. > > > The existing Step 6 of the Installing Leo On Windows link you noted is > > > simpler. I don't see what this longer procedure corrects. it documents. > > there is no step 6 on > > >http://webpages.charter.net/edreamleo/installing.html#installing-leo-... > > just step 1 to 3. > > Oh, how about that! we have a version/doc/mismatch problem. This is the one > I was referring to: > > http://webpages.charter.net/edreamleo/install.html#installing-leo-on-... cool, why is this missing in the latest doc? in this i would replace ... '4. [optional]:' ... with ... '4. [optional] to be able to import leo from python:' '5.' ... with ... '5. [optional] to be able to start Leo using a shortcut:' '6.' ... with ... '6. [optional] to be able to open *.leo files by doubleclicking them:' '7. [optional]' ... with ... '7. [optional] to be able to start leo by typing "leo" in a commandline': and i would add: '8. [optional] to give *.leo files the leo icon: create/add registry entries (take what you want for LeoFile but the second key must match): HKEY_CLASSES_ROOT\.leo @="LeoFile" HKEY_CLASSES_ROOT\LeoFile\DefaultIcon @="path\to\Leo\leo\Icons\LeoApp.ico,0" maybe some batch expert adds a folder 'config helper batches' and adds some smart batches there for each of these optional points 4 to 8 containing (active)/(deactive) in their filenames and renaming themselves when clicked, but in general this seems like a hack replacing a valid installer. Regards, Nils -- 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.
