I'm going to take your example at face value...
The general idea is to make a
Mapped Key with "Q" as the
Hotkey. It will contain a single step with two
Keystroke Actions: one which has a Key Combination of "Q" and a
Target of Character Slot 1, the other which has a Key Combination of "F" and a Target of Character Slot 2.
Where, i.e. in which Key Map, you should place the Mapped Key depends upon its purpose (which you haven't mentioned). Either FTL DPS Keys or General should be fine. Do not place it in Control or you will be unable to turn it off and therefore unable to type Q without also sending F to Slot 2.
Detailed steps (see
User Manual for a more detailed explanation of the UI) :
1. Expand Key Maps in the upper pane and select General.
2. In the left pane, expand General and right click Mapped Keys, select New Mapped Key.
3. Type a short descriptive name for your New Mapped Key (do not leave it as the default).
4. Still in the left pane, click the number 1 under Steps.
5. In the right pane, right click on Actions and select Keystroke Actions, New Keystroke Action.
6. Choose Character Slot 1 as the Target.
7. Press the < button under Key Combination. Type Q in the Hotkey Picker and click the OK button.
8. In the right pane, right click on Actions again and select Keystroke Actions, New Keystroke Action.
9. Choose Character Slot 2 as the Target.
10. Press the < button under Key Combination. Type F in the Hotkey Picker and click the OK button.
11. Do File, Export ... from the ISBoxer menu and test in game by pressing Q.