July 18, 20241 yr I am trying to set up a couple of Streamdeck buttons for the analog clock on the PMDG 777. I have downloaded three simple scripts that interact with the clock. If I run these scripts from the AAO script editor all is fine. The controls on the clock work as expected, However, if I copy either the script name (MISC_CLOCK_START_STOP_TOGGLE) or the actual script ( 17101·(>K:ROTOR_BRAKE) ) to the event in the screendeck button nothing happens with the button push. And yes, I submit the Streamdeck changes. The action does not appear in Watch Actions from the streamdeck button test, but it does appear when I test directly from the AAO script editor. AAO is version 4.30 B 12 and the streamdeck plugin is updated to the latest on Flightsim.TO I know that this is probably something stupid on my part, but any ideas? Parker Freeman - KTPAi7 [email protected], Asus Maximus X, Nvidia 1080TI, Win 10 , Saitek X65
July 18, 20241 yr Commercial Member On 7/18/2024 at 12:32 PM, gypsyczar said: I copy either the script name (MISC_CLOCK_START_STOP_TOGGLE) That is not the script ID. On the StreamDeck you select K: and then type scriptgroup-scripttitle into the box. Make sure to include the dash. Do not leave the value box empty, at least set it to 0 or the Action will not send the event. Likewise, when using K-Events Select K: Enter ROTOR_BRAKE into the box Enter 17101 into the value box Edit: be mindful that PMDG is sending an additional 17104 when the mouse button is released. (in most cases ....1 is left mouse button click ....4 is left mouse button release) Also, when you copy and paste acutal RPN code to the StreamDeck (Type "S:"), make sure to copy it from the gray box at the bottom of the editor, that holds the compiled code. If you copy it from the editor itself, it will contain the "dots" that stand for the space characters. These must be removed, which happes automatically when you copy the compiled code instead. Edited December 23, 20241 yr by Lorby_SI LORBY-SI
December 23, 20241 yr Hi Lorby, Today I tried the copy from the grey box, as you state above, and spaces still keep dots in them. I think it's since v 4.50?
December 23, 20241 yr Commercial Member 1 hour ago, pegeka said: Hi Lorby, Today I tried the copy from the grey box, as you state above, and spaces still keep dots in them. I think it's since v 4.50? You're right, it is the other way around now. You can copy the code directly from the white box, dots will be removed. I just realized that this was a bad idea, because the editor can contain line comments which won't work anywhere else. I will undo this in the next version Edited December 23, 20241 yr by Lorby_SI LORBY-SI
Create an account or sign in to comment