Quick Option button for FAYT scripts

As you can see in this FAYT command that I made, the fact of having easy access to modify those flags is quite useful. For that, I've added a dialog that emulates the flags configuration menu in Preferences, and that can be invoked by entering in the FAYT field the character chosen by the user. The drawback, is that when this option is used, the value gets "separated" from the flags value set in Preferences (the script starts reading and saving its own flags in a variable) and there is no way to synchronize those values (I have tried writing directly in prefs.osd but as those values are kept in memory at the end they are rewritten). Thinking more about this, while not adding what I proposed in the title of the post, I suggest to take into consideration some of the following ideas.

  1. Make ScriptFAYTCommandData.flags a read/write property (it can receive and return the value).
  2. Allow the script to be able to set and save the value (in a variable or file). DOpus would then have to read and save the value from the same source.