« "You have new mail": los spookmeldingen op! | Main| Nieuw op Domino-Weblog: "Voor u gevonden" (updated) »

New version of tool for changing the colour of unread mail

Category
Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 

In 2007 I posted a tool that could be used for easily changing the colour of unread documents in the inbox in the Notes 8 Standard Client (link). However as of Notes version 8.0.2 the tool does not work anymore. This is caused by the fact that the file that needs to be modified (notes.css) is no longer a seperate file but is now part of a jar file. So I have created a new version of the tool that works with any Notes 8 Standard client (8.0, 8.0.1,8.0.2, 8.5).

Just download this file and unzip the three files in there to your disk. Start ModNotesCSS-RGB.exe and just pick the colour you want to use for your unread document. As with the old tool, it only works on Windows.

The tool uses two small command-line tools, unzip.exe and zip.exe (included in the zip file), for extracting and updating notes.css from/to the jar file.

Comments

Gravatar Image1 - I ran your tool but unfortunately it destroyed my Lotus Notes (Java version) and I had to uninstall and then reinstall Notes. I have the error logs if you're interested.

Gravatar Image2 - Hi Gary,

that's not good.... Can you please elaborate on 'it destroyed my Lotus Notes'? Did it not start anymore, did it display an error?

I have not seen this happen so far...

The tool deletes the file [NotesDataDir]\workspace\.config\org.eclipse.update\platform.xml to activate the change to the CSS file. The first time you start Notes after running the tool this file is recreated. I assume something went with the creation of platform.xml.

I don't think a complete uninstall/install would have been necessary. I think deleting the corrupt platform.xml would have been sufficient.

Gravatar Image3 - Hi Almar,

After running your software Notes wouldn't start in eclipse mode but would in basic mode. Starting Notes: at the splash screen it would show a dialogue box stating that the errors were written to error-log-0.xml, the progress bar would slowly complete and then the whole lot would bomb out.

I tried removing the workspace directory and to see if it would help but was unsuccessful.

Here's the contents of that xml file:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="Log_Viewer.xml"?>
<CommonBaseEvents>
<CommonBaseEvent creationTime="2009-01-05T08:24:14.519+00:00" globalInstanceId="ELc0a8648000011ea5e461a800000001" msg="Application error" severity="50" version="1.0.1">
<extendedDataElements name="CommonBaseEventLogRecord:level" type="noValue">
<children name="CommonBaseEventLogRecord:name" type="string">
<values>SEVERE</values>
</children>
</extendedDataElements>
<extendedDataElements name="CommonBaseEventLogRecord:Exception" type="string">
<values>java.lang.RuntimeException: No application id has been found.&#xD;&#xA;&#x9;at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Unknown Source)&#xD;&#xA;&#x9;at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)&#xD;&#xA;&#x9;at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)&#xD;&#xA;&#x9;at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)&#xD;&#xA;&#x9;at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)&#xD;&#xA;&#x9;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#xD;&#xA;&#x9;at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&#xD;&#xA;&#x9;at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&#xD;&#xA;&#x9;at java.lang.reflect.Method.invoke(Unknown Source)&#xD;&#xA;&#x9;at org.eclipse.core.launcher.Main.invokeFramework(Unknown Source)&#xD;&#xA;&#x9;at org.eclipse.core.launcher.Main.basicRun(Unknown Source)&#xD;&#xA;&#x9;at org.eclipse.core.launc</values>
<values>her.Main.run(Unknown Source)&#xD;&#xA;&#x9;at com.ibm.rcp.core.internal.launcher.Main.startLaunch(Unknown Source)&#xD;&#xA;&#x9;at com.ibm.rcp.core.internal.launcher.Main.main(Unknown Source)&#xD;&#xA;</values>
</extendedDataElements>
<sourceComponentId component="Expeditor 6.1" componentIdType="ProductName" instanceId="1220352719929" location="192.168.100.128" locationType="IPV4" subComponent="org.eclipse.osgi" threadId="0" componentType="{ Link }
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
</CommonBaseEvents>


Gravatar Image4 - Hi Gary,

there is a bug in Notes 8.0.2 CCH2 that 'kills' the standard client after deleting platform.xml. I have created a PMR with IBM support. Also see this thread { Link }

Sorry for the problem this is causing you.

Gravatar Image5 - I tried this utility but it failed with the following message: "Registry settings for Notes 8.x not found!" I'm running Release 8.0.2 CCH1.

Gravatar Image6 - Hi Matt,

is this a Notes client that was installed using setup or was it copied from another machine?

The tool is checking if the entry HKEY_LOCAL_MACHINE\SOFTWARE\Lotus\Notes\8.0 exists in the registry and if it has to values in there, one for Path and one for DataPath.

Gravatar Image7 - Hi Almar,

The Notes client was pushed to my machine over the corporate network so maybe that's why your utility didn't work. I'd check my registry but it's locked down. I ended up extracting the .css file from the jar and changing it myself. Thanks for trying to help!

Gravatar Image8 - I ran the tool and experienced the same result described above - could not access the client in eclipse mode but was working fine in basic mode. Then I noticed that when I exited Lotus Notes Client, notes2w.exe process stays active in the task manager. It did not prevent the tool from geting loaded but it did corrupt something in the process. I tested it again by ending the process before running the tool. It allowed me to restart the Notes Client without any issues. I did backup the platform.xml by renaming it to platform_old.xml and then back to original name after I ran the tool. Seams to work fine.

Thank you! Emoticon

Gravatar Image9 - Hi

I just ran this application and it works great. I made sure i backed up plaform.xml and had notes completely closed when running it. Thanks for this great tool!!Emoticon Emoticon

Gravatar Image10 - This doesn't seem to be working on my system. 802 FP2. I ran the exe and then went back in, changed the theme, but nothing.

Gravatar Image11 - hi Almar, thanks for this great tool. It works perfect.

Gravatar Image12 - Worked for me.. Thanks

Gravatar Image13 - Great tool,
It obviously works for the unread mail only, is there another tool that allows personalization of other mail "status" colours? Previous Notes versions were allowing to change as well for read mail, etc... Thank you anyway, although it is frustrating, I wish I knew how it works Emoticon

Gravatar Image14 - Great! works fine!

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::lips::rolleyes:;-)

OpenNTF random projects

PlanetLotus