Thanks for the info Matt. I just did the first step, and this is the result:
- When double click leo files, Leo opens, asks if I really want to open that file (it says it is already open, but its not true) and then open and instantly (I get to see the tree but in about 1/4th of a second it dissapears/closes Leo). Same thing happens if I have another instance of Leo open. (That instance will still be open and not affected by this process) Did also the second step, with UAC disabled: - It actually works, but as a tip for non expert users like me, it asked me what did I want to associate leo files with, I said launchleo.py, and of course it didnt work. Then I associated them with python.exe (Im talking about Windows -right click- run with) and then it works! finally! Thanks a lot - Still asks if i want to open the file even though the file is already open (and its not) Thanks again, hope this feedback is useful. On Friday, May 10, 2013 3:55:20 AM UTC+2, Matt Wilkie wrote: > > > >> - Im having trouble also linking Leo files to Leo. I have tried this: >> >> >> Associate .leo filetype batch file: >>> ftype LeoFile=C:Python25pythonw.exe “C:Python25Libsite- >>> packagesleolaunchLeo.py” “%1” assoc .leo=LeoFile >> >> >> Which I found >> here<https://groups.google.com/forum/?fromgroups=#!searchin/leo-editor/associate/leo-editor/3Ry5o8gE16E/Ble8B8RCRUsJ>, >> >> but leolaunchleo.py doesnt even exist anymore (the post is old). >> > > Those instructions are sitll more or less relevant, but somehow all the > slashes are missing. In any case, please try downloading > "create-leobat.bat" batch file to the Leo directory and running from an > admin-level command prompt: > > create-leobat c:\path\to\python27\python.exe register > > -- > http://bazaar.launchpad.net/~maphew/leo-editor/pypi-packaging/view/head:/create-leobat.bat > > >> - I guess others have had this idea but It would be great to include >> a small file within the Quickstart guide which would associate files >> automatically. (Or maybe asking for imput, which can be done through a >> Leo >> node and this way the user learns about its functionality). >> >> > I wrote a leo script that creates the file association, which I hope to > include in the next release or on the Leo blog as a sample: > https://groups.google.com/d/msg/leo-editor/ANPuhuEIU9c/GTcpLvVB_WoJ. > > To use it, copy everything between the triple curly braces {{{...}}}, but > not including the braces, and paste into an Leo window, then press [Ctrl-B]. > > It requires that Leo is started from an Admin level command shell (or that > UAC is turned off). > > cheers, > > -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.
