Author Topic: P3D V4.2  (Read 3181 times)

nervures

  • Newbie
  • *
  • Posts: 2
P3D V4.2
« 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.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50653
    • VIRTUALI Sagl
Re: P3D V4.2
« Reply #1 on: February 23, 2018, 12:49:26 pm »
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.

nervures

  • Newbie
  • *
  • Posts: 2
Re: P3D V4.2
« Reply #2 on: February 23, 2018, 06:32:10 pm »
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.