I found another solution [Windows only]
Free: Plug-In Switch 1.3
http://www.cybia.co.uk/pluginswitch.htmlof calling PluginSwitch-8bf.py.[edit line 11]
#!/usr/bin/env python
# This plugin requires the installation of the Plug-In Switch 1.3 http://www.cybia.co.uk/pluginswitch.html
# The idea taken from RobA Shellout http://registry.gimp.org/node/24977 and GURM http://registry.gimp.org/node/13473
from gimpfu import *
import shlex
import subprocess
import os, sys
def plugin_main(img, drawable):
command = "\"C:\\Documents and Settings\\MareroQ\\Cybia\\PluginSwitch.exe\" \"" + "\"" #<<--EDIT THIS<<--(Directory, where you place PluginSwitch.exe)
args = shlex.split(command)
child = subprocess.Popen(args, shell=False)
register(
"python_fu_PluginSwitch",
"PluginSwitch",
"PluginSwitch",
"GimpChat",
"GimpChat",
"2011",
"<Image>/Filters/PluginSwitch...",
"*",
[],
[],
plugin_main,
)
main()
For MultiPluginSwitch.py [edit line: 16. 17, ....]
#!/usr/bin/env python
# This plugin requires the installation of the Plug-In Switch 1.3 http://www.cybia.co.uk/pluginswitch.html
# The idea taken from RobA Shellout http://registry.gimp.org/node/24977 and GURM http://registry.gimp.org/node/13473
from gimpfu import *
import shlex
import subprocess
import os, sys
def listcommands(option=None):
#
# Insert additonal shell command into this list. They will show up in the drop menu in this order.
# Use the syntax:
# ["Menu Label", "command", "ext"]
#
# Where what gets executed is command fileame so include and flags needed in the command.
programlist = [
["Plugin PSPI 8bf", "\"C:\\Documents and Settings\\MareroQ\\Cybia\\PluginSwitch.exe\" \"" + "\""], #<<--EDIT THIS<<--(Directory, where you place PluginSwitch.exe)
["Script", "\"C:\\Documents and Settings\\MareroQ\\Cybia\\PluginSwitch-S.exe\" \"" + "\""], #<<--EDIT THIS<<--(Directory, where you place PluginSwitch-S.exe)
["Plugin Python", "\"C:\\Documents and Settings\\MareroQ\\Cybia\\PluginSwitch-P.exe\" \"" + "\""], #<<--EDIT THIS<<--(Directory, where you place PluginSwitch-P.exe)
["Plugin Exe", "\"C:\\Documents and Settings\\MareroQ\\Cybia\\PluginSwitch-E.exe\" \"" + "\""], #<<--EDIT THIS<<--(Directory, where you place PluginSwitch-E.exe)
["Fonts", "\"C:\\Documents and Settings\\MareroQ\\Cybia\\PluginSwitch-F.exe\" \"" + "\""], #<<--EDIT THIS<<--(Directory, where you place PluginSwitch-F.exe)
["","",""]
]
if option == None: # no parameter return menu list, otherwise return the appropaiate array
menulist = []
for i in programlist:
if i[0] != "":
menulist.append(i[0])
return menulist
else:
return programlist[option]
def plugin_main(img, drawable, command):
progtorun = listcommands(command)
command = progtorun[1] + " \"" + "\""
args = shlex.split(command)
child = subprocess.Popen(args, shell=False)
register(
"python_fu_MultiPluginSwitch",
"MultiPluginSwitch",
"MultiPluginSwitch",
"GimpChat",
"GimpChat",
"2011",
"<Image>/Filters/MultiPluginSwitch...",
"*",
[ (PF_OPTION,"command",("Program:"),0,listcommands())
],
[],
plugin_main,
)
main()
File PluginSwitch.exe requires editing in Notepad + + +
Find and replace - [after 3 x]:
8bf -> scm; off -> ofS and save PluginSwitch-S
8bf-> exe; off-> ofE and save PluginSwitch-E ... etc