• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MSFS Toolbar Javascript Interoperability

Messages
128
Good day all,

A lot of us want to run javascript in a general fashion without running on aircraft avionics. One of the ways of doing this is running code in the toolbar by overriding Toolbar.html/.js files. This prevents multiple addons from doing the same simultaneously.

We have worked on a solution that should enable interoperability of the toolbar across multiple addons, but this requires everyone to be on-board with it. We have made this project open source with a well-documented Readme file.


Any feedback is appreciated, we want to strike when the iron is hot and solidify the code before everyone starts using it.

Hopefully this can spark ideas and enable concepts that haven't been seen yet!

Regards,
Keven
Technical Director at //42
 
Hello Keven,

Being in the process of developing an "EFB like" (https://www.fsdeveloper.com/forum/t...tion-xml-gauge-or-html-js-ingamepanel.457162/) but available via the toolbar, I read with great interest your post and I looked carefully at the link you indicate.

PS: Using this bias to develop my application seems more interesting to me than to go through a simulated instrument to the extent that it can be called when you want and especially to have it available permanently on the screen.

If I understood correctly by reading the instructions provided in the README, it is possible to develop a tool/ interface that can be called via an icon of the tool-bar and to make this icon and this application visible only if the add-onon which it refers is loaded so as not to overload the toolbar and avoid conflicts with other similar tools.
If you had any other information to share about this development, I would be very interested.
Despite many years spent developing in several languages, the javascript used by Microsoft/ Asobo cruelly lacks documentation despite a very high scalability potential.
 
Back
Top