ofnuts wrote:
A method that works with all, is to create a short script that calls your favorite one and registers it wherever you want. You can have one single script to relocate all your scripts/plugins (scheme, python or C/C++). This also doesn't require to re-edit the script/plugin each time you download a new version.
...
Old question, which today enters again the game.
I used in the past (and also today) this technique to "move" a script-fu from one menu to another one
My specific question is:
- what to specify in a line referring to a compiled C filter?
not being a "script-fu" I tried to enter the command which is used in the C code, that is:
(gimp-plugin-menu-register... ) instead of (script-fu-menu-register... )
but it's not accepted, neither if entered with underscores (as in C code) nor if entered with dashes
last attempt: (gimp-plugin-menu-register "plug-in-liquify" "<Image>/BestFilters/Distorts")
tried also with additional parenthesys:
(gimp-plugin-menu-register ("plug-in-liquify" "<Image>/BestFilters/Distorts"))it still tries to find the entry in script-fu-menu-register and doesn't find it
For someone who can make the correct line statement work, the plug-in I'd like to move is
liquify ("plug-in-liquify"), as in the attempt shown
note: the command with a script-fu filter works fine (provided it has been defined with a specific separated menu-register command)