Re: Cannot open Leo files by double-click in Windows Explorer?

2013-05-01 Thread Edward K. Ream
On Thu, Apr 19, 2012 at 3:50 AM, Eoin wrote: > I got the association working on Windows 7 using: > >ftype LeoFile="C:\Python322\pythonw.exe" "C:\Program Files > (x86)\Leo-4.9-final\launchLeo.py" "%1" > >assoc .leo=LeoFile > >regsvr32 /i shell32.dll > Thanks for this report. I've filed it under

Re: Cannot open Leo files by double-click in Windows Explorer?

2012-04-19 Thread Matt Wilkie
I'm glad you got it working. >>regsvr32 /i shell32.dll Just note that this command does a lot more than update file associations, and may undo some other customizations you've done (default program for camera preview, shortcut wizard behaviour, ...) Here are some things it does: http://www.pcworl

Re: Cannot open Leo files by double-click in Windows Explorer?

2012-04-19 Thread Eoin
I got the association working on Windows 7 using: >ftype LeoFile="C:\Python322\pythonw.exe" "C:\Program Files >(x86)\Leo-4.9-final\launchLeo.py" "%1" >assoc .leo=LeoFile >regsvr32 /i shell32.dll On Apr 18, 3:48 pm, "Edward K. Ream" wrote: > On Wed, Apr 18, 2012 at 12:20 AM, Matt Wilkie wrote: >

Re: Cannot open Leo files by double-click in Windows Explorer?

2012-04-18 Thread Edward K. Ream
On Wed, Apr 18, 2012 at 12:20 AM, Matt Wilkie wrote: > the docs have the wrong version, It should match the above: > http://webpages.charter.net/edreamleo/install.html#installing-leo-on-windows Good catch. I think rather than updating this for every release, I'll try to generalize it a bit so p

Re: Cannot open Leo files by double-click in Windows Explorer?

2012-04-17 Thread Matt Wilkie
> > > Set up file type association: > > C:\> ftype LeoFile=C:\Python27\pythonw.exe C:\apps\leo\launchLeo.py “%1″ > C:\> assoc .leo=LeoFile > And put this leo.bat in %PATH%: > > @start /b "Leo" C:\Python27\python.exe C:\apps\leo\launchLeo.py %* > Edward (or anyone else with access to bzr, I don't

Re: Cannot open Leo files by double-click in Windows Explorer?

2012-04-17 Thread HansBKK
On Tuesday, April 17, 2012 1:43:34 AM UTC+7, Matt Wilkie wrote: > > > there's a very cool tool called "PortableFileAssociator" that allows you > to > > create a set of windows file associations, icons etc and enable/disable > > neat, thanks for the tip. > oh, looks like it's problematic with porta

Re: Cannot open Leo files by double-click in Windows Explorer?

2012-04-16 Thread Matt Wilkie
> there's a very cool tool called "PortableFileAssociator" that allows you to > create a set of windows file associations, icons etc and enable/disable neat, thanks for the tip. oh, looks like it's problematic with portableapps.com suite 'cause of high false-positive AV warnings... but maybe the s

Re: Cannot open Leo files by double-click in Windows Explorer?

2012-04-16 Thread HansBKK
This is a bit OT, but: for those like me who work in "portable" mode, there's a very cool tool called "PortableFileAssociator" that allows you to create a set of windows file associations, icons etc and enable/disable the whole profile at one time, without messing with the local system's registr

Re: Cannot open Leo files by double-click in Windows Explorer?

2012-04-16 Thread Nick_H
Many thanks to all for these replies! This is my final "open" string in the Windows file associations: "C:\Tools\Python32\python.exe" "C:\Tools\Leo-4.10-final\launchLeo.py" --gui=qttabs "%1" Note that the brackets are needed round the %1 to cater for file paths containing spaces. Matt, thanks fo

Re: Cannot open Leo files by double-click in Windows Explorer?

2012-04-14 Thread Matt Wilkie
> it's the trailing %*, use "%1" instead. Here is my setup... Set up file type association: C:\> ftype LeoFile=C:\Python27\pythonw.exe C:\apps\leo\launchLeo.py “%1″ C:\> assoc .leo=LeoFile And put this leo.bat in %PATH%: @start /b "Leo" C:\Python27\python.exe C:\apps\leo\launchLeo.py %* --

Re: Cannot open Leo files by double-click in Windows Explorer?

2012-04-14 Thread Matt Wilkie
> The file association contains the following command to execute for the > Open operation: > "C:\Tools\Python32\python.exe" "C:\Tools\Leo-4.10-final\launchLeo.py > %*" it's the trailing %*, use "%1" instead. You want %* in a batch file. It passes all command line arguments to the program being c

Re: Cannot open Leo files by double-click in Windows Explorer?

2012-04-13 Thread HansBKK
Here's my launch batch. Note nothing's actually installed set HOME=E:\aasync\Data\H_HOME cd \aasync\PortableApps\leo-editor start "" "..\CommonFiles\Python27\pythonw.exe" "..\CommonFiles\Python27\Lib\site-packages\leo-editor4\launchLeo.py" %* exit -- You received this message because you are su

Re: Cannot open Leo files by double-click in Windows Explorer?

2012-04-13 Thread Edward K. Ream
On Fri, Apr 13, 2012 at 5:24 AM, Nick_H wrote: > "C:\Tools\Python32\python.exe" "C:\Tools\Leo-4.10-final\launchLeo.py > %*" > > Can you suggest what might be wrong? The last set of double quotes looks wrong. Try: "C:\Tools\Python32\python.exe" "C:\Tools\Leo-4.10-final\launchLeo.py" %* In this

Cannot open Leo files by double-click in Windows Explorer?

2012-04-13 Thread Nick_H
Sorry, this is probably a foolish question, but when I double-click on any Leo file on my desktop to launch Leo, it simply launches with the default workbook.leo file open. I can, of course, open any file via the File|Open dialog, but that's not so convenient. The file association contains the foll