Post Reply 

using script fu

Feb 11, 2012, 10:06
Post: #1
using script fu
Am having ago with script fu .Picked one at random
script-fu-basic2-logo
Create a simple logo with a shadow and a highlight
press apply up comes
(script-fu-basic2-logo run-mode string value font color color)
tried
(script-fu-layer-effects-inner-shadow run-mode image drawable color value value value value value option) ret
Error: eval: unbound variable: run-mode

Tried a few variations
> (script-fu-basic2-logo " what a string " 28 " sans " " red " " black " )
Error: car: argument 1 must be: pair

> (script-fu-basic2-logo " what a string " 28 " sans " " red black " )
Error: not enough arguments
Am I way of track in using this is there a correct way to enter these parameters
like using backets for ascii h for hex d decimal etc
Thanks
Find all posts by this user
Quote this message in a reply
Feb 11, 2012, 10:19
Post: #2
RE: using script fu
There are two way to use the script-fu:

1) for humans, by using the various Windows menus (often in "Filters"). The script-fu "registers" itself, which create a menu entry and a dialog box for parameters (some arguments, such as run-mode, image, and active layer are implicit)

2) from other script-fu (this is what run-mode is for). But if you are to th point where you wan tot call other scripts, you have a bare-bones script already working (registration)?

Scheme has an unusual syntax compared to more mainstream programming languages,
you may feel more at ease with Python.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Feb 11, 2012, 11:01
Post: #3
RE: using script fu
Ahh good thanks thats what I needed to know
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Create new images button & Save as override from Script-fu beniman 12 520 Sep 10, 2014 10:57
Last Post: paynekj
  Line Script 2Old 8 626 Feb 6, 2014 21:51
Last Post: ofnuts
  Script Fu Slandingo 1 697 Jun 14, 2013 20:26
Last Post: rich2005
  Gimp script SCM [Scale to/end at borders of] selection HalfNote5 6 988 Mar 15, 2013 00:49
Last Post: HalfNote5
  Script download kjacobs4242 6 953 Jan 3, 2013 21:50
Last Post: kjacobs4242

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS