FSDreamTeam forum
Developer's Backdoor => GSX Backdoor => Topic started by: nervures on February 23, 2018, 10:52:25 am
-
Hi Umberto,
here is the code in my "LUA" script to open GSX for Catering:
ipc.keypressplus(123,11,4)ipc.sleep(2000)ext.run(env.."SimConnectCatering.exe")
It's the key press CTRL ALT F12 then the .exe to press the keys for the choices into the menus.
With P3D 4.1 works like a charm but with 4.2 the first windows is the "Select operator at Gate..." for deboarding and of coure deboarding is in progress.
Tested without the .exe ( only the ipc.keypressplus ) and the same.
Tested manually CTRL ALT F12 no problem.
Later in my "LUA" script I call the boarding with the same ipc.keypressplus but (of course ) a different .exe. Works like a charm.
It's the first opening that is problematic
The culprit is P3D 4.2 ? GSX ? Me :-)) ?
In advance thank's for your answer.
Best Regards.
Francis.
-
With P3D 4.1 works like a charm but with 4.2 the first windows is the "Select operator at Gate..." for deboarding and of coure deboarding is in progress.
It's a known 4.2 bug: the first window has been skipped, because if you, your script or some other addon, has first sent a numeric key *before* opening the menu, that key will be transmitted to that menu as soon it will open, auto-selecting the menu option.
Be sure nobody is sending any numeric keys before the menu is open.
-
Hi Umberto,
thank you for your reply.
Until LM fixes this bug I move the catering script to the beginning of my LUA.
Best regards.
Francis.