QUOTE(tombraider @ Mar 2 2006, 01:42 AM)
Wow, Stu, you're such a fountain of information. I might make a section on my web page for this and quote your postings, if I may?
Sure go right ahead. I also did an intro to keyhelper
that covers the basics, and I see that someone has added a section on [Launch] and switching layouts
The "Launch" feature I have not figured out yet. So the "Launch" and "Menu" sections in the keyhelper.conf file are for different purposes? I was just making them exactly alike because I was not sure how it worked. How do I "launch" something?
The launch works almost exactly like the menu option, except it coded for a key combo to start a program. An example from my setup
In the <modifiers> section of keyhelper.xml I set the address key to be "User1" with
<define key="F10" type="User1" mapping="True"/> then in the <extensions> section use User1 as a modifier to All keys for launch, using the following
<define key="All" kind="launch">
Now in keyhelper.conf
T = Applications/translator
Backspace = __9quit
Here the combination of Address + T starts the translator program, while Address + Backspace shutsdown the Z (runs the Suspend) command from the Q menu.
The same rulls for calling applications apply to Launch as they do to Menu, except they don't have a LABEL or Icon section as nothing is ever displayed.
The disadvantage of Launch over Menu is that you have to remember the keycombos where Menu reminds you what you have set.
"Menu1" seems to be shift plus Calendar button and "Menu2" seems to be using something called "yedit" which I don't have...I'll put something else in there and see what happens. (Talking about default settings.)
If you are using Meanie's keyhelper files, he has set up quite a complex file using all of keyhelpers bells and whistles (including the multiple menus, submenus etc)
Next I have to figure out how to change the "forward slash button" to "comma" button without having to hold the shift button. :-)
Thanks for the examples - there's a lot you can do with this.
That was one of the first thisng I used keyhelper for, I'll add some spoiler space if you wish to work it out for yourself, but the follwing code does what you are asking on Cacko and the new version of keyhelper (somewhere around 1.2 the format needed to be changed a little)
<!-- Swap / and , action -->
This needs to go in the <mapping> section of the keyhelper.xml file
Glad I can be of some help