Here is a Leo script which attempts to tell Windows how to handle .leo
files, enabling 2x-click "some-workbook.leo" to start. On win7+ it requires
Leo be started with elevated admin privileges.
{{{
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by Leo (http://webpages.charter.net/edreamleo/front.html) -->
<?xml-stylesheet ekr_test?>
<leo_file xmlns:leo="http://www.leo-editor.org/2011/leo" >
<leo_header file_format="2"/>
<vnodes>
<v t="maphew.20130429234409.2286"><vh>assoc leo</vh></v>
</vnodes>
<tnodes>
<t tx="maphew.20130429234409.2286">pyexe = g.sys.executable
tmp = g.os.environ['TEMP']
assoc_cmd = 'assoc .leo=Leo.File'
ftype_cmd = 'ftype Leo.File="{0}" "%1" %*'.format(pyexe)
#g.es(pyexe)
#g.es(tmp)
g.es(assoc_cmd)
g.es(ftype_cmd)
from subprocess import Popen
Popen('start "Shell from Leo" cmd.exe /k %s && %s' % (assoc_cmd,
ftype_cmd),
cwd=tmp, shell=True)
</t>
</tnodes>
</leo_file>
}}}
On Mon, Apr 29, 2013 at 5:21 AM, Edward K. Ream <[email protected]> wrote:
> On Sun, Apr 28, 2013 at 4:11 AM, <[email protected]> wrote:
>
>>
>> I just discovered Leo, installed
>> LeoSetup-4.10-final.exe<http://sourceforge.net/projects/leo/files/Leo/4.10%20final/LeoSetup-4.10-final.exe/download>on
>> Windows 7, 64-bit, had a few issues (not finding python 2.7, no Qt
>> installed) which I managed to solve, so now I can launch it. However, there
>> are no icons anywhere (just a blank rectangle with the corner folded), in
>> the Desktop shortcut, in the Start menu, and in the task bar.
>>
>
> This is a problem with the installer. You can set the icon by hand, by
> selecting, say, the Desktop shortcut, right-click it, select properties,
> then icon, etc.
>
> Edward
>
> --
> 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.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
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.
For more options, visit https://groups.google.com/groups/opt_out.