Tordex Community
How to remotely refresh a toolbar ? - Printable Version

+- Tordex Community (http://forum.tordex.com)
+-- Forum: True Launch Bar (http://forum.tordex.com/forum-3.html)
+--- Forum: Features Discussion (http://forum.tordex.com/forum-9.html)
+--- Thread: How to remotely refresh a toolbar ? (/thread-4211.html)



How to remotely refresh a toolbar ? - Shield - 05-01-2012

Hi!

The hotkey Ctrl+F5 which is displayed on a toolbars 'Refresh' context menu item does not seem to work. That's too bad, because I'm desperately looking for a way to remotely force a toolbar refresh. Something like an API call, a command line utility, or a working hotkey which can be called by some scripting language - anything will do.

Please help! Sad


RE: How to remotely refresh a toolbar ? - mls - 05-02-2012

You have to activate the toolbar first for ctrl-f5 to work - TLB Settings/Toolbar/Activate Toolbar hotkey

You can then use vbscript sendkeys to do the refresh:

dim gws
set gws = CreateObject("Wscript.Shell")

gws.sendkeys ActivateToolbarHotkey
wscript.sleep 20
gws.sendkeys ""^{F5}"

- paul



RE: How to remotely refresh a toolbar ? - Shield - 05-02-2012

So, how cool is that ??? Big Grin

Paul, you saved my day! I wouldn't have figured that one out in a million years!

Thank you very much! Smile


RE: How to remotely refresh a toolbar ? - mls - 05-02-2012

No problem!