Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index

Re: [tdf-discuss] Re: Question concerning [Bug 42661 - No associated "Alternatively Open With..." items in EXPLORER context menu available]


Il 08/11/2011 03:08, Tom Hart ha scritto:
Am 07.11.2011 23:19, schrieb Cor Nouws:
Rainer Bielefeld wrote (07-11-11 12:47)
anybody here who can contribute deeper knowledge how WINDOWS adds more
programs to the "Open With" context menu list? That would be useful if
for example) you want to use LibO as an alternative editor for .doc
documents and similar, without fix association between LibO and that
document type.

As far as I remember, that list is dynamically build. It grows ones you
choose to open a certain file type with another program.

Yes, but only if you do it via the "Open With" menu, just opening the file from within another program isn't sufficient.

Hmm, you ask on 'deeper knowledge' ... You would like to know some hack
in the Windows registry to do this?

This is how it looks here:
======== Code doc.reg ========
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.doc]

[HKEY_CLASSES_ROOT\.doc\OpenWithList]

[HKEY_CLASSES_ROOT\.doc\OpenWithList\swriter.exe]
@=""
======== Code doc.reg ========
and:
======== Code swriter.reg ========
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Applications\swriter.exe]

[HKEY_CLASSES_ROOT\Applications\swriter.exe\shell]

[HKEY_CLASSES_ROOT\Applications\swriter.exe\shell\open]

[HKEY_CLASSES_ROOT\Applications\swriter.exe\shell\open\command]
@="\"D:\\LibreOffice 3\\program\\swriter.exe\" \"%1\""
======== Code swriter.reg ========

Notice, the swriter.exe in the doc.reg links to the swriter.exe application key where the correct path has to be set.

This applies for Windows XP and for all users. If you save the code as doc.reg and swriter.reg respectively (actually the filename doesn't matter - only the extension) and you have admin rights you can just double click the files and the keys are added to your registry (with a security query in advance).

HTH
tom

PS: link to bug?



Hi Everyone,

I think that it will be useful if we could also _set/unset_ *after installation* (from Tools -> Options menu -> Load/Save -> ..., of course) the following capabilities:
- LibreOffice file associations (proprietary one, OpenDocument one);
- LibreOffice file "open with" list for each file type.

What do you think about?

Have a nice day,

Carlo

p.s. Link to bug:
https://bugs.freedesktop.org/show_bug.cgi?id=42661

--
Unsubscribe instructions: E-mail to discuss+help@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.