Once you get the CH Control Manager installed, click on the "CM Editor" button.
You will now get another tabbed window.
One tab will be for your CMC file ... this is where you can create reserved and meaningful words for "commands" that you want to assign to buttons.
My CMC file for Aces High covers most of the generic "commands" in Aces High, along with a few custom commands.
One "command" that I have is not exactly what you want to do, but by looking at what I did ... you should have no problem creating your own.
Mine is ...
Salvo_10 / . s a l v o SPC 1 0 ENT ... note: there is a blank space between each character, with the exception of the SPC and ENT.
SPC is a reserved word for "space" and ENT is a reserved word for "enter"
So if I assign to a button ... Salvo_10 ...when the button is pressed, it will execute ... / . s a l v o SPC 1 0 ENT
So you would probably want to create ...
End_Flight / . e f ENT
Here is the contents of my CMC file ... you can copy/paste it if you want and then make the appropriate changes/additions.
///
/// Global Keys for Aces High
///
Clipboard ESC
Message_Window_Size `
Radio_1 /
Radio_2 SHF /
Radio_3 CTL /
Radio_4 ALT /
Radio_5 SHF \
Tuneable_Mic t
Toggle_Film_Record ALT r
Zoom_Map_In KBINS
Zoom_Map_Out KBDEL
Toggle_Screen_Info CTL i
Toggle_Icons ALT i
Toggle_Ground_Clutter CTL c
Save_Screenshot ALT s
Toggle_Highlight_Squad CTL s
Range_Mic F12
Check_6 '
///
/// Engine Controls
///
Start_Engine e
Select_Engine_1 SHF 1
Select_Engine_2 SHF 2
Select_Engine_3 SHF 3
Select_Engine_4 SHF 4
Start_All_Engines SHF e
Select_All_Engines CTL e
Decrease_RPM KP-
Increase_RPM KP+
Toggle_WEP p
///
/// Flight Controls
///
Lower_Flaps q
Raise_Flaps w
Autopilot_Level x
Autopilot_Angle SHF x
Autopilot_Climb ALT x
Toggle_Combat_Trim CTL x
Trim_Elev_Up k
Trim_Elev_Down i
Trim_Rudder_Left j
Trim_Rudder_Right l
Trim_Aileron_Left m
Trim_Aileron_Right ,
Dive_Brake SHF c
Landing_Gear g
Tail_Hook SHF g
///
/// Brake Controls
///
Left_Wheel_Brake c
Right_Wheel_Brake v
Wheel_Brakes SPC
///
/// Bail Out Controls
///
Bail_Out ENT ENT ENT
Open_Chute o
///
/// Weapon Controls
///
Fire_Primary_Weapon f
Fire_Secondary_Weapon b
Fire_Both n
Select_Primary_Weapon \
Select_Secondary_Weapon BKSPC
Open_Bomb_Doors o
Bombsight_Calibration u
Calibration_Mark y
Calibration_Lock KEYS +y
Calibration_Unlock KEYS -y
Salvo_1 / . s a l v o SPC 1 ENT
Salvo_2 / . s a l v o SPC 2 ENT
Salvo_3 / . s a l v o SPC 3 ENT
Salvo_4 / . s a l v o SPC 4 ENT
Salvo_5 / . s a l v o SPC 5 ENT
Salvo_6 / . s a l v o SPC 6 ENT
Salvo_7 / . s a l v o SPC 7 ENT
Salvo_8 / . s a l v o SPC 8 ENT
Salvo_10 / . s a l v o SPC 1 0 ENT
///
/// Damage Controls
///
Display_Damage CTL d
Select_Fuel_Tank SHF f
///
/// Jump Keys
///
Position_1 1
Position_2 2
Position_3 3
Position_4 4
Position_5 5
Position_6 6
Position_7 7
Position_8 8
Position_9 9
///
/// Gunnery Modes
///
Land_Mode w
Sea_Mode e
Direct_Mode q
///
/// View Control
///
Default_View F1
View_Mode_Internal F2
View_Mode_External F3
View_Mode_Chase F4
View_Mode_Fixed F5
View_Mode_Bombsight F6
View_Mode_Snap F7
View_Mode_Pan F8
View_Mode_Instant F9
Save_Head_Position F10
Padlock F11
Padlock_Centre_Target SHF TAB
Padlock_Next_Target TAB
Padlock_Toggle_Friendly CTL TAB
Zoom_In ]
Zoom_Out [
Toggle_Zoom z
Default_Zoom SHF z
Look_Forward_Left KP7
Look_Forward KP8
Look_Forward_Right KP9
Look_Left KP4
Look_Up KP5
Look_Right KP6
Look_Back_Left KP1
Look_Back KP2
Look_Back_Right KP3
Look_Down KP0
///
/// Head/View Movement
///
Move_Up KBPGUP
Move_Home KBHOME
Move_Down KBPGDN
Move_Forward KBUP
Move_Left KBLEFT
Move_Right KBRIGHT
Move_Back KBDOWN
///
/// TrackIR commands
///
TIR_Centre F12
TIR_Pause F9
TIR_Mode F8