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?
--
Unsubscribe instructions: E-mail to discuss+h...@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