> I'm having trouble with the directions at
> http://webpages.charter.net/edreamleo/install.html#installing-leo-on-windows.
>
> For step 5 I'm not sure what it means by setting up a short-cut
> “Target = C:Python25pythonw.exe “C:Python25Libsite-
> packagesleolaunchLeo.py” Start in = D:code ”.  Target isn't a dos
> command.  I don't understand how to do this.

...looks like I erred on the side of brevity when penned those
instructions up, and then line-breaks and backslashes were discarded
when converted to Sphinx docs. Step 5 is GUI interactive, not command
line:

Create a desktop shortcut (or wherever):
   r-click on desktop > New > Shortcut > Target:
c:\Python25\pythonw.exe > Name: Leo Editor > ok, ok
   Select shortcut > Properties:
         change Target to: C:Python25\pythonw.exe
"C:Python25\Lib\site-packages\leo\launchLeo.py"
         set Start in to: D:\code (or My Documents or wherever you
want the default location to be)


> I skipped step 5 and moved on to step 6 with ftype and assoc.
> ... It took me a while
> to figure out ftype and assoc were 2 separate commands.  I tried these
> dos commands:
> --------------------------------------------------------------
> ftype LeoFile="C:\Program Files\Python26\python.exe" "C:\Program 
> Files\leo\Leo-4-6-2-final\launchLeo.py" "%1"
>
> assoc .leo=LeoFile
> --------------------------------------------------------------

This looks correct to me. Perhaps it is a Vista specific issue. This
page says to open a command prompt with elevated priviliges before
running ftype and assoc:
http://www.mydigitallife.info/2008/06/20/how-to-unassociate-file-types-and-remove-file-extension-associations-in-windows-vista/


> note:  I changed pythonw.exe to python.exe.  When I double click
> a .leo file, I get a flash of the python console and leo never pops
> up.

Python.exe (no w) starts a console window, and thus possibly some
messages, before starting the main .py app. I don't know how to grab
those console messages for later inspection. Pythonw.exe goes straight
to the windowed app.

Try activating via the association from the command prompt and see if
there are any errors:

   C:\> Start "\path\to\some\foobar.leo"

And if that doesn't illuminate perhaps the ftype parameter from the prompt:

   "C:\Program Files\Python26\python.exe" "C:\Program
Files\leo\Leo-4-6-2-final\launchLeo.py" "\path\to\myleodoc.leo"

cheers

-- 
-matt

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to leo-editor@googlegroups.com
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to