Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add keyboard hint to .scm plugins
#1
go to scripts folder
find fu-register
example// alexios-duotone.scm
Code:
(script-fu-register
    "script-fu-duotone"
    _"<Image>/FX-Foundry/Photo/Effects/Simple Duotone..."

make change like this w/ underscore (_) before letter
Code:
(script-fu-register
    "script-fu-duotone"
    _"<Image>/F_X-f/_Photo/_Effects/Simple Duotone..."

Some text editor might have option to replace string in all open text document like in Geany ide.

On linux with example above,
Code:
find . -iname '*.scm' -exec sed -i 's#FX-Foundry/Photo/Effects/#F_X-f/_Photo/_#g' {} \;

this only change photo/effect, I failed to use arrays and loop to get it done quicker.

[Image: fx_f_scrot.png]
Reply


Messages In This Thread
Add keyboard hint to .scm plugins - by lumqarz - 11-29-2016, 04:26 PM

Forum Jump: