20 hours ago20 hr I have been trying to use a button on my Stream Deck to modify ATC ID in MSFS 2024 without success.I have been testing in the Script Editor with a simple scriptA35·(>A:ATC·ID,·String)The Script Editor does not like any non numeric characters being sent to the variable so the indicator is red but the Debug Window shows the script executing but there is no change to ATC ID.In an attempt to validate what I am trying to achieve I ran SimVar Watcher from the SDK and was able to change the ATC ID. On a side note SimVar Watcher did not accept non numeric characters either but I was able to modify the program to allow me to paste in non numeric characters. Edited 20 hours ago20 hr by Netman189
19 hours ago19 hr Commercial Member 29 minutes ago, Netman189 said:The Script Editor does not like any non numeric characters being sent to the variable so the indicator is red but the Debug Window shows the script executing but there is no change to ATC ID.String literals must be enclosed in single quotes'A35'·(>A:ATC·ID,·String)Spec is here: AAO manual -> "RPN Operators in AAO" -> "String operators" -> first line after that header. Edited 19 hours ago19 hr by Lorby_SI LORBY-SI
16 hours ago16 hr Author Thanks, I thought that I must have made at least one silly mistake!The addition of single quotes does turn the light green but there is still no change to the value of ATC ID.
3 hours ago3 hr Commercial Member 13 hours ago, Netman189 said:Thanks, I thought that I must have made at least one silly mistake!The addition of single quotes does turn the light green but there is still no change to the value of ATC ID.You're right, it doesn't. Strange, that used to work. Must be a bug of some kind, I will look into it. LORBY-SI
Create an account or sign in to comment