Thank you Timo! ... I'm currently finishing up a project started with 6.50 and when I get that done I'll be switching up to ver 7.00 for keeps so this will be very handy.
If you're looking to expand this to include F1 searches take a look at the AddInHelp callback in the SDK... It bumps each time you press F1, so if you install a callback for it you can invoke it either before or after searching the local help files... (I use it in my C++ Addin, if you want to see an example.)