Project

Profile

Help

Feature #138

closed

Add a SharpScript editor in the menu bar

Added by Vincent Le Goff over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Customization
Sprint/Milestone:
% Done:

100%

Company:
-
Contact person:
-
Additional contact persons:
-

Description

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.


Checklist

Actions #1

Updated by Vincent Le Goff over 5 years ago

  • Status changed from Open to In Progress
Actions #2

Updated by Vincent Le Goff over 5 years ago

  • Checklist item Add the tool menu and place the Python console in it set to Done
Actions #3

Updated by Vincent Le Goff over 5 years 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 #say function will not display anything.
  • The #say function 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.
  • The ui/dialog/sharp_script_console.yml file would need to be translated for the Spanish language.
Actions #4

Updated by Vincent Le Goff over 5 years ago

  • Status changed from In Progress to Closed

Mostly done in commit e48771da383ca74f606e2b8411c15694c09d01da, closing this.

Please register to edit this issue

Also available in: Atom PDF Tracking page