My first post.<br><br>Fun Wine Project -- Configure Some Default Registry Entries<br><br>I've begun working on this to import some native calls into wine. More specifically, OpenOffice.org. I'm trying to get Lotus Notes attachments to display proper icons, and open natively with OOo.<br>
<br>I've come across a dilemma. I can't seem to "easily" open a Windows path, i.e. "C:\Windows\temp\test.doc" with openoffice due to path issues.<br><br>I've implemented a very small fix called "winelaunch", but I'm afraid the name is too close to "winelauncher", and would probably confuse people. Here's it's code:<br>
<br> #!/bin/sh<br> #/usr/bin/winelaunch<br> $1 `winepath $2 $3`;<br> exit 1;<br><br>And here's a sample registry entry:<br><br> REGEDIT4
<br> <br> [HKEY_CLASSES_ROOT\.doc]
<br> @="docfile"
<br> "Content Type"="application/ooowriter"<br> <br> [HKEY_CLASSES_ROOT\docfile]
<br> <br> [HKEY_CLASSES_ROOT\docfile\shell]
<br><div id="1ey7" class="ArwC7c ckChnd"> <br> [HKEY_CLASSES_ROOT\docfile\shell\open]
<br> <br> [HKEY_CLASSES_ROOT\docfile\shell\open\command]<br> @="/usr/bin/winelaunch /usr/bin/openoffice %1"<br><br>Although icons don't display properly, it does open the attachment in Lotus Notes.<br>
<br>Cheers.<br><br>-Tres<br></div>-- <br>- <a href="mailto:Tres.Finocchiaro@gmail.com">Tres.Finocchiaro@gmail.com</a>