Add a SharpScript editor in the menu bar
Some things are hard to do without scripting. The SharpScript is meant to remain light and flexible, but not too complicated to use. For most tasks, a graphical user interface is offered (for adding macros, channels, triggers and so on). However, sometimes, you need more flexibility. A SharpScript editor without specific context would allow, for instance, to create triggers with Python. It would also allow some users who are more familiar with scripting to directly type configuration for macros, triggers and aliases.
#3 Updated by Vincent Le Goff about 1 year ago
- Checklist item Add a generic SharpScript editor window, along with a wide text area to write SharpScript. set to Done
- % Done changed from 50 to 80
The SharpScript console was added in commit 0d2dd05f356783773959ba1f9d3b6b558c4784ed. Some things need to change before we close this issue:
- If the TTS is off, the
#sayfunction will not display anything.
#sayfunction displays in the main window, not in the SharpScript console. While this is normal, it might be worth fixing.
- The error handling is still pretty poor. Wrong syntax or wrong function names raise quite ugly errors that might be hard to debug for users.
ui/dialog/sharp_script_console.ymlfile would need to be translated for the Spanish language.
Please register to edit this issue