Triggering custom simconnect events in javascript

the PMDG 73x and LSH md80 aircraft have some custom simconnect events which
can be triggered from external software as a k event. for example K:#83637
will open/close the L1 door on the 737. I tried to use
SimVar.SetSimVarValue(‘K:#86367’, ‘bool’, 1); to trigger the same event using
javascript but it did not work. is it possible to trigger these events using

Hello @theegg52 Unfortunately, it seems that this is not currently possible in
JS. Best regards, Yohan

It would be nice!