RSS/Atom feed Twitter
Site is read-only, email is disabled

Newbie trying to learn the proper way to specify arguments to script-fu scripts...

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

Newbie trying to learn the proper way to specify arguments to script-fu scripts... Ken Warner 08 Jan 19:19
Ken Warner
2009-01-08 19:19:24 UTC (about 16 years ago)

Newbie trying to learn the proper way to specify arguments to script-fu scripts...

Hi,

Just trying to learn how to specify arguments to script-fu scripts. There's a lot of useful scripts there.

I was first trying to get script-fu-text-circle to work and the Procedure Browser brings up the documentation that indicates that the first argument is run-mode INT32 Interactive, non-interactive And the command line is:

(script-fu-text-circle run-mode string value value value value toggle font)

Well, if you specify run-mode, the script won't work. Leaving out the run mode argument so that the command line is:

(script-fu-text-circle string value value value value toggle font)

The script runs beautifully.

Now all the scripts seem to have this run-mode argument which I suppose that you all know to ignore. It took me a couple of hours to figure that out.

So now I'm on to explore other scripts. And looking at some, I see that there is an "image"; "drawable" and "color" arguments in some.

(script-fu-t-o-p-logo-alpha run-mode image drawable value value value toggle color color)

So my question (finally) is:

How does one specify arguments like "image"; "drawable" and "color"?

Could some kind person email me a step by step guide to specifying the more complicated arguments to a script-fu script?

DemonDuck