Hi,
I would like to show you how to make the ThinkLight blink when you receive a mail in Thunderbird on Windows.
I had this working before on my T41 with XP using a Thunderbird extension called Yet Another Mail Biff which allows you to run an arbitrary program when an e-mail is received. I have used my own Python script to do the actual blinking.
It also worked on T60/XP. It stopped working when I got Vista. As it turned out, the Python script wasn't able to control the ThinkLight anymore because of a change in Lenovo drivers.
So I had a look at this today and as a result I have a small program, written in C this time, that does the blinking and it works on Vista without problems. It should work on XP too (it has additional code for the older way of doing this) but this is untested as I don't have XP on my ThinkPad anymore to test this.
If anyone with XP could test it, it would be cool.
So, here's how to set it up:
Download the
ThinkLightYamb.exe file (this is the tool I wrote) and save it anywhere you like.
You can test the tool right now just by starting it. It should just blink the ThinkLight six times without opening any windows.
Download the
Yet Another Mail Biff (YAMB) extension and install it.
Go to the YAMB config, open the file dialog and select the ThinkLightYamb.exe. Now if you press the Test button the ThinkLight should blink. You can now customize the blinking. Add a space and a number after the path. This is the number of times the light will blink. You can also add another number which is the speed (number of blinks per second).
The tool requires the Lenovo System Interface Driver to be installed for Vista or Hotkey utility for XP. If you have OSD for volume, brightness and the rest, you got it already.
Let me know what you think.
Cheers,
yak
BTW, if anyone is interested in ThinkLight control code, let me know. I have C source that can check if the ThinkLight is available, get its state (on/off) and set it of course.
-- EDIT --
A command line utility to control the ThinkLight has also been created:
ThinkLight.exePlease note that the test release links found in following posts are dead now as the issued they are created to test were resolved.