Hi Cam,
I have created a LUA script which creates ON and OFF commands for the short list you have shown.
Just unzip and put the 'A340Tog.lua' script into your LUA scripts folder, default location is \X-Plane 11\Resources\plugins\FlyWithLua\Scripts
Hope this helps
Switches Commands
-----------------------------------------------------------------------------------------
Stby Pitot heat - FlyWithLua/SF34/STBY_Pitot_On
FlyWithLua/SF34/STBY_Pitot_Off
R Front Window - FlyWithLua/SF34/R_Front_Window_On
FlyWithLua/SF34/R_Front_Window_Off
L Front Window - FlyWithLua/SF34/L_Front_Window_On
FlyWithLua/SF34/L_Front_Window_Off
Eng, Prop and airframe deicing
Boot IND - FlyWithLua/SF34/Boot_IND_On
FlyWithLua/SF34/Boot_IND_Off
R Eng Anti Ice - FlyWithLua/SF34/R_Eng_Antiice_On
FlyWithLua/SF34/R_Eng_Antiice_On
L Eng Anti Ice - FlyWithLua/SF34/L_Eng_Antiice_On
FlyWithLua/SF34/L_Eng_Antiice_On
External light switches
Nav - FlyWithLua/SF34/Nav_Lgt_On
FlyWithLua/SF34/Nav_Lgt_Off
Beacon - FlyWithLua/SF34/Beacon_Lgt_On
FlyWithLua/SF34/Beacon_Lgt_Off
Strobe - FlyWithLua/SF34/Strobe_Lgt_On
FlyWithLua/SF34/Strobe_Lgt_Off
R Landing Light - FlyWithLua/SF34/R_Landing_Lgt_On
FlyWithLua/SF34/R_Landing_Lgt_Off
L Landing Light - FlyWithLua/SF34/L_Landing_Lgt_On
FlyWithLua/SF34/L_Landing_Lgt_Off
Taxi - FlyWithLua/SF34/Taxi_Lgt_On
FlyWithLua/SF34/Taxi_Lgt_Off
Wing - FlyWithLua/SF34/Wing_Lgt_On
FlyWithLua/SF34/Wing_Lgt_Off
Prop Sync - FlyWithLua/SF34/Prop_Sync_On
FlyWithLua/SF34/Prop_Sync_Off
R CTOT - FlyWithLua/SF34/R_CTOT_On
FlyWithLua/SF34/R_CTOT_Off
L CTOT - FlyWithLua/SF34/L_CTOT_On
FlyWithLua/SF34/L_CTOT_Off
A340Tog.zip