Tordex Community
Shortcut to send a hotkey combination? - Printable Version

+- Tordex Community (http://forum.tordex.com)
+-- Forum: True Launch Bar (http://forum.tordex.com/forum-3.html)
+--- Forum: General Discussion (http://forum.tordex.com/forum-8.html)
+--- Thread: Shortcut to send a hotkey combination? (/thread-4107.html)



Shortcut to send a hotkey combination? - Blue Proteus - 01-21-2012

Is it possible to create a shortcut on the toolbar that would send a hotkey combination when clicked?

Thanks


Re: Shortcut to send a hotkey combination? - Yuri Kobets - 01-21-2012

TLB itself cant to do this. But you can use the windows scripting or something like autohotkey


Re: Shortcut to send a hotkey combination? - Blue Proteus - 01-21-2012

Yuri Kobets Wrote:TLB itself cant to do this. But you can use the windows scripting or something like autohotkey

I was just looking at Autohotkey, I think I'll give it a try.
I'm assuming a shortcut created with Autohotkey could be run from the toolbar?

Also, thanks for making the Tordex Wheel free to those that bought True Launch Bar. I just stumbled onto it on your site, and it's always annoyed me that you have to activate a window before you can scroll in it!


Re: Shortcut to send a hotkey combination? - alfatone - 01-21-2012

Hello!
For these purposes I use this VBS-script:
Code:
set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.SendKeys "(^%+1)"  
rem Hotkey combination CTRL + ALT + SHIFT + 1
rem Shift     +
rem Ctrl     ^
rem Alt     %
Past this code into the new text-format programm (like Notepad, Notepad ++) and save to any_name.vbs.
Try Google WshShell.SendKeys.