denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] Creating new scripts from old ones.


From: Richard Shann
Subject: Re: [Denemo-devel] Creating new scripts from old ones.
Date: Wed, 13 May 2009 11:28:06 +0100

On Tue, 2009-05-12 at 11:47 +0100, Richard Shann wrote:
> At the moment to create a new command based on an old script (e.g. to
> create Allegro Assai from the Allegro one), you have to do right-click -
> get script, (edit it) and then the save as new menu item stuff (also on
> on a right click menu).
> It occurs to me that it might be nicer for this sort of derived script
> to edit an actual DenemoDirective and let Denemo write the script for
> you.
> For this the primitive text edit dialog which is invoked if there is no
> editscript could be used - it just needs a button to write the script
> needed to generate the edited directive.
I have checked in code to do this. I have checked in an example with the
guitar fingering script, which now offers "Advanced" as an edit option,
through which you can do the low-level editing. All other editscripts
should now be upgraded to offer this option...

> The advantage is that instead of looking through a scheme script for the
> bits to edit, they are presented in little edit boxes - no chance of
> deleting a "(" by accident, or forgetting to double a backslash.

However, it is only a method of generating a script for the specific
directive you have edited. This makes it good for simple scripts that
just do a single thing. 
For more sophisticated scripts you still need to get the original script
(using the right click on the menu item concerned) and edit that.

Richard






reply via email to

[Prev in Thread] Current Thread [Next in Thread]