Page 2 of 2

Re: Easy Auto Cross-Fade implementation

Posted: Fri Mar 05, 2010 5:32 pm
by Edgar
medoomi wrote: What I would love, is not even to have to press enter, or "OK"
This (and adding a shortcut key) are possible but not for the faint of heart! If you look at the code for "Repeat Last Effect" you will see that it uses a flag to tell the effect to skip the dialog and use the previous data.

As for adding a shortcut key that gets quite complicated; one must add a new function to be called from the menu, add a new menu item with the shortcut, and write the code which goes in the new function most of which can be cut and pasted from the code which already exists to create a "new" effect.

I did this a while back with Generate Silence. If you would like to Private Message me with your @dress I could send you the relevant files. It has been a long time since I did this code, I just glanced through it and it was not something I could easily summarize.