Feature Improvement Suggestions for Script Editor: Save Shortcut and Closure Confirmation
I recommend adding a Save shortcut (Ctrl+S) to the menu in the Script Editor's dialog buttons. This is crucial as I've experienced complete code loss due to sudden unexpected closure while writing scripts. Additionally, please ensure the main application's close button triggers the Script Editor's confirmation prompt before closing. Currently clicking it directly bypasses the warning dialog, which can also lead to unintentional script data loss. These improvements would significantly enhance workflow reliability.
Ctrl+S should work already I think.
Based on testing the latest version 13.15, the Save (Ctrl+S) menu option still cannot be located. Additionally, attempting to use the Ctrl+S shortcut key to save scripts remains non-functional. This issue persists despite previous feedback, posing a continued risk of data loss during unexpected interruptions.
Buttons scripts are mostly supposed to be short and do not have a save option per say: saving is done when you click OK, and if you modified the content and hit cancel, you get a warning and a confirmation dialog asking if you really want to discard modifications.
For larger scripts, I'd recommend using the scripts add-ins editor (that implements the Ctrl+S shortcut) and make custom commands. With script add-ins you can even configure your own text editor and have all the shortcuts, completion, ... you want.
Thank you for the thorough explanation! I fully understand the design logic of button scripts now and will follow the recommendation to migrate complex scripts to the add-ins editor, leveraging custom commands. Your professional guidance on the workflow greatly helps improve my development efficiency. I appreciate your patient clarification.