Re: Script-fu tutorial

2001-01-14 Thread Michael

Hi!

 Is there a tutorial/documentation for script fu programming available?

A Google search offers some good links to Script-fu tutorials. Just try:
http://www.google.com/search?q=gimp+script-fu+tutorial

There's also a tiny introduction in Scheme (the Script-fu language) at
the Gimp User Group:
http://gug.sunsite.dk/?page=tutorials

Hope it helps.

CU, Michael

---=[[EMAIL PROTECTED]]=---
---=[ http://www.technoid.f2s.com ]=---




Re: Script-fu: Burn-In V1.9 is out

2000-08-28 Thread Roland Berger (EED)

Carl-Johan Sveningsson wrote:
 
 Hi.
 
 It's a great nice plugin,

Thanks!

 but 1.9 won't work at all for me.
 I don't know, is my gimp (1.1.25) weird or what's wrong?

No, but as I have stated, V1.9 is (only) for Gimp 1.0.
The error is typical for Gimp 1.1 (and there are a lot
more "errors" if you correct this one).

I'm working on porting the script to G1.1, so please
stand by. (Will take some days, though...)

Anyway - thanks for your feedback!

Roland



Re: Script-fu: Burn-In V1.9 is out

2000-08-27 Thread Carl-Johan Sveningsson

Hi.

It's a great nice plugin, but 1.9 won't work at all for me.

When I tried to shut off fadeout in the old version, this happened too,
but now it won't work at all.

I don't know, is my gimp (1.1.25) weird or what's wrong?

Anyway, the error I get is:

Script-Fu Error
ERROR: unbound variable (errobj gimp-image-disable-undo)

Could you fix it?

/WoC

On Fri, 25 Aug 2000, Roland Berger (EED) wrote:

 
 First, let me say thanks to all people who gave me feedback
 and sent me bug reports the last days. This helps alot (and
 keeps me on working ;-)
 
 Now for the news:
 I've just released Script-Fu "Burn-In" V1.9 for Gimp 1.0.X.
 You can now use your own background-layer and create
 fascinating text animations for the web.
 Please note that this version is considered as pre2.0 and
 therefore still "beta". It works, but I didn't have the time
 to do extensive testing. :-/
 (Burn-In V1.0 was already announced by Xach some days
  ago (thanks!)
 
 For download  demos please see
 http://fuchur.leute.server.de/burn_in/
 
 Roland
 


"Succumb to natural tendencies. Be hateful and boring."

  ICQ# 2357535
http://come.to/woc/
  http://wlug.westbo.se/

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GSS/CS/P d(++,--)--- s-: a--- C(,!) UL+++ P+++$ L++ E-$ W++(@)
N? o? K? w-- !O M- V? PS++(@) PE- Y? PGP?++ t-++ 5?+++ X+ R-
tv-! b DI++ D+ G e$ h--(+,) r(+++,---) y+** 
--END GEEK CODE BLOCK--




Re: Script-fu crashes - with ICQ

2000-07-20 Thread Rebecca Jean Pedersen

what icq are you using?  i have icqjava and have never had a problem.



Re: Script-fu crashes - with ICQ

2000-07-20 Thread Hago Ziegler

Hi,

 what icq are you using?

I don't know, it's on Win98.

Hago




Re: Script-fu crashes - with ICQ

2000-07-20 Thread Hago Ziegler

Hi, once more,

 what icq are you using?  i have icqjava and have never had a problem.

Do you run it on a Linux machine? I didn't know, that this is possible.

Hago




Re: Script-fu crashes - with ICQ

2000-07-20 Thread Guillermo S. Romero / Familia Romero

Does somebody know about a possibility to separate these two things,
without uninstalling ICQ?

Change the extension association, whatever the way that is done now (my last
Windows is NT with plain Explorer). I suppose (but I dunno) that Gimp will
be able to live with that. I would ask the Win32 developers for help, so
maybe they can do something (like using another extension via mv in the
makefile... well, MS C project config files and ren).

GSR
 




Re: Script-fu crashes

2000-07-20 Thread Alan Buxey

hi,

On Thu, 20 Jul 2000, clemensF wrote:

  Guillermo S. Romero / Familia Romero:
 
  Did you tried the SUBmarine tactic? Alt+SysReq+S (sync disks), wait until
 
 windows?  linux?  frebsd?

this is Linux - but only if the SysReq function has been compiled into the
kernel options (when building the kernel, its practically the last option
to choose)

alan




Re: Script-fu crashes

2000-07-20 Thread Guillermo S. Romero / Familia Romero

 it via /proc, so check you have compiled and enabled). FreeBSD, if not does
 something like that, should too (in the same way that Linux and FreeBSD
 share the idea of virtual consoles, which is great).
FreeBSD doesn't need that, as it doesn't crash nearly as often as linux
;-

I never have used it for for freezes (yet). Always as fast reboot or
experiment (like today playing with RAID... hot reconstruction, cool).

running away...

Why?

GSR
 




Re: Script-fu crashes

2000-07-19 Thread clemensF

 Guillermo S. Romero / Familia Romero:

 Did you tried the SUBmarine tactic? Alt+SysReq+S (sync disks), wait until

windows?  linux?  frebsd?

clemens



Re: Script-fu crashes - with ICQ

2000-07-19 Thread Hago Ziegler

Hi all,

I read several times about script-fu to crash because of "nobody knows".

4 days ago I installed ICQ and since then my script-fus are crashing
too. Not all the time, but sometimes.

The reason:

ICQ uses *.SCM as a fileending. Any music files, but without them, ICQ
doesn't work. I  just shutdown ICQ when I work with gimp, but I'm not
really sure if it doesn't affect script-fu anyway.

Does somebody know about a possibility to separate these two things,
without uninstalling ICQ?

Hago




Re: Script-fu crashes

2000-07-17 Thread Guillermo S. Romero / Familia Romero

Some details to add to what Marc said:
I've had 3 random freezes of the keyboard upon startx, with the monitor
going black and the only way out a hard reboot. I've fiddled about with
fsck (and been yelled at by German geeks for doing that) but something
seems to always work to get it back. Not the same thing every time, tho.

Did you tried the SUBmarine tactic? Alt+SysReq+S (sync disks), wait until
LED and sound stop, Alt+SysReq+U (umount disks, remount read only), wait
until LED and sound stop, Alt+SysReq+B (reboot). The machine goes down quite
fast, and a lot safer than drilling holes in the ships hull (aka hit the
reset button), cos it can come up perfectly. Of course, all this works only
if the kernel is still alive.

GSR
 




Re: Script-fu crashes

2000-07-16 Thread Marc Lehmann

On Sun, Jul 16, 2000 at 09:19:09PM -0600, Kate [EMAIL PROTECTED] wrote:
 I recently began using the gimp - version 1.1.7, as it came with the SuSE
 6.2 distribution (a stripped down, 1 cd version of 6.2, it appears)

Try upgrading to a recent development version of gimp, 1.1.7 is YEARS old.

 Is this version of gimp known for this problem, or could it be the linux
 distro?

Both - the latest stable version of gimp is 1.0.4, but suse put an
unstable development versiob on their distribution - doubtlessly with
large warnings that his is just an unstable development release ;)

 going black and the only way out a hard reboot. I've fiddled about with
 fsck (and been yelled at by German geeks for doing that)

fsck is usually save to use in single-user-mode, so just ignore them ;)

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: Script-fu...

2000-07-14 Thread Marc Lehmann

On Fri, Jul 14, 2000 at 06:10:16PM -0300, Debian Linux User [EMAIL PROTECTED] 
wrote:
 Hi,
 
 (http://www.blender.nl), witch saves each frame in a diferent file. All
 frames have the same size. I need to load all N images and (where N is a
 number I don't know) and make, with them, a single one. Each frame needs

Instead of using Gimp, use ImageMagick and a command like this:

convert +append img1.ppm img2.ppm img3.ppm result.ppm

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: Script-fu...

2000-07-14 Thread Debian Linux User

Oh my!
So simple? Linux is the paradise!
Thank you very much

Marc Lehmann wrote:
 Instead of using Gimp, use ImageMagick and a command like this:
 
 convert +append img1.ppm img2.ppm img3.ppm result.ppm
 
 --
   -==- |
   ==-- _   |
   ---==---(_)__  __   __   Marc Lehmann  +--
   --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
   -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
 The choice of a GNU generation   |
  |

-- 
Marcelo Elias Del ValleUIN: 30595143
[EMAIL PROTECTED] http://tilt.8m.com MLinuxer
http://Evolution.sourceforge.net



Re: script-fu-selection-round only with restart?

2000-06-15 Thread Alan Buxey

hi,


 The strange thing here is, that I can call this script once (it just gives me a 
white image with a rounded selection), but when I call this script again, I get the 
error message:
 
 Script-Fu Error
 ERROR: Procedural database execution failed:
 (gimp_selection_bounds 0)
 
 Only when I restart gimp, I can use it again!

this is because you have hardcoded the image/layer as '0'.

if you keep running GIMP, then the next image you process will not be 0,
but 1,2,3 etc etc

I have had to use hardcoded numbers in my script until I can find out why
my variables arent passed through...this means I have to quit after using
my script (which is okay because its a cron batch job anyway!) but
I'd prefer to have it working.

alan




Re: script-fu-selection-round only with restart?

2000-06-15 Thread Thomas Stolt

Alan,

thanks very much!

However, I need a little "fill in" on this:

First, I think you are right, when I let the first picture open, the 
fu-selection-round works still on the first picture.  Only when I close the first one, 
I will get the error.  But how do I get around it?  And which "0" are you referring to?


thanks in advance

Thomas


___
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
[EMAIL PROTECTED], 8MB Speicher, Verschluesselung - http://freemail.web.de




Re: script-fu prog for tutorial

2000-06-07 Thread Mike Markowski

Hi all,

One more quick note on the script-fu function that follows
a tutorial (more info at URL below).  I have been urged to
link to the file from a web page rather than just point to the
file itself.  So, please use

http://udel.edu/~mm/gimp/

to get to my rather measly gimp page...

Thanks!
Mike



Re: script-fu prog for tutorial

2000-06-06 Thread Alan Buxey

Hi,

 I've just finished writing a Scheme script-fu program that mostly
 follows along with the tutorial at
 
   http://www.gimp.org/tut-sum1.html
 
 I discovered that script-fu is easy, but finding documentation isn't.
 To that end, I've tried to thoroughly comment my program at
 
   http://udel.edu/~mm/gimp/framed-glass-text.scm

great! I'm going to have to have a look at that! I've been trying to write 
a Scheme script-fu, but my result works - however I cant use it as a menu
ption, or from a command line (I really want to do shell batch processing)
 
 Also, for those not interested in script-fu (but who probably aren't
 reading this now, anyway!), the program might be interesting enough to 
 use as is.

well, i'll certainly be having a look! You are right about the current
level of script-fu documentation...and getting the current scipt-fu's
and sets under your command can be quite painful :-|

alan




Re: script-fu: applying a mask

2000-06-06 Thread Marc Lehmann

On Tue, Jun 06, 2000 at 11:03:58AM -0400, Mike Markowski [EMAIL PROTECTED] wrote:
 What are the Scheme calls to apply a mask to its layer?

the pdb call you want is gimp_image_remove_layer_mask

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: Script Fu ?

2000-05-10 Thread alex

Hi,

Per Pettersson wrote:

 Hi all!

 I am kinda new to the gimp and I wonder how do I install Script-Fu's, and if
 that is possible. If it is, where can I find them for download?

You can either use 'gimptool' command:
$gimptool --install-script your script name
or simple copy script to "~/.gimp1-1/scripts" directory (on stable version it
"~/.gimp/scripts") :)
To find plugins look at
registry.gimp.org
and for announcements on
www.gimp.org

Good luck!
Alex

--
// Only the fireborn understand blue.



__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com



Re: script-fu developers ?

2000-04-07 Thread Ingo Ruhnke

"Christian Schlange" [EMAIL PROTECTED] writes:

 Is this list the right place for discussions about script-fu-development
 (in scheme and perl) ?

Jupp.

-- 
ICQ: 59461927http://pingus.seul.org | 
Ingo Ruhnke [EMAIL PROTECTED] http://home.pages.de/~grumbel/ |
'



Re: script-fu developers ?

2000-04-06 Thread Marc Lehmann

On Wed, Apr 05, 2000 at 02:27:57PM +0200, Christian Schlange 
[EMAIL PROTECTED] wrote:
 Hello,
 
 Is this list the right place for discussions about script-fu-development
 (in scheme and perl) ?

Yes, although you cannot do script-fu development in perl yet ;)


-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: Script-Fu beginner...

2000-03-31 Thread Fábio Sato

Hi Christian,

---
 .
 .
 .
 Then you get a reference to the active layer, called drawable ...
 You simple pass 'drawable' to all the functions then. Was this
 your problem ?
---

Ok, this works if you work interactively, when you open the files by
yourself and right click on the image and select the script. But my
problem is that I want it to work in batch mode, so I have to open the
images in the script.

I can use a script to open the images and call another one to do the
dirty job, passing the references to the images and to the drawables
(like you mentioned). So my problem is this: how can I open a file
(within a script) and get a reference to the background layer ?

Thanks a lot!
-- 
Fábio Sato - [EMAIL PROTECTED]



Re: script-fu dialogs

2000-03-12 Thread [EMAIL PROTECTED]

thanks that would do it.


s@m




Re: script-fu dialogs

2000-03-11 Thread Ingo Ruhnke

"s@m" [EMAIL PROTECTED] writes:

 i made a script that saves an image giving it the filename.
 now i want it to either:
 
 1- remember the last filename i typed
 2- give me the SAVE dialog
 3- have a mecanism to pass a path as a layer name for example.

Something like this will give you at least a file dialog, probably not
exacly what you want, but better than nothing:  
 
(script-fu-register
"script-fu-tuxracer-save-as-rgbs"
"Image/Script-Fu/Tuxracer/Save Image as RGBs"
"Saves a layed image as seperated RGB images using the layer names as filenames + 
.rgb"
"Ingo Ruhnke"
"1999, Ingo Ruhnke"
"Fri Mar  3 16:00:13 2000"
"RGBA"
SF-IMAGE "Image" 0
SF-DRAWABLE "Drawable" 0
SF-FILENAME "Directory:" "/tmp/")
^^^ - This gives you the dialog
-- 
ICQ: 59461927http://pingus.seul.org | 
Ingo Ruhnke [EMAIL PROTECTED] http://home.pages.de/~grumbel/ |
+



Re: Script-fu

2000-02-03 Thread Stephan Skrodzki

 Is it possible to call a bash-script from within a Script-Fu script. I

Don't know, about the scheme Script-Fu, but when you're working with gimp perl,
this should be no problem.

Regards
 Steve





Re: Script-Fu from Perl-Fu?

2000-01-27 Thread Stephan Skrodzki

  GIMP version 1.1.11
 
 ^^^ that version is waay old it already has a long beard! please try a
 slightly newer one, and most probably everything I said becomes more true.

Yeah, now, after upgrading to 1.1.14 ... all you said came true:

Gimp crashes :-)

Does this just happen with gimp-perl or also with the scheme scripts?

Regards
 sTeve



Re: Script-Fu from Perl-Fu?

2000-01-27 Thread Kelly Lynn Martin

On Thu, 27 Jan 2000 11:35:22 +0100, Stephan Skrodzki 
[EMAIL PROTECTED] said:

Yeah, now, after upgrading to 1.1.14 ... all you said came true:

Gimp crashes :-)

Maybe you should try 1.1.15, which is the most recent developer's
release. :)

Kelly



Re: Script-Fu from Perl-Fu?

2000-01-25 Thread Marc Lehmann

On Mon, Jan 24, 2000 at 04:39:01PM +0100, Stephan Skrodzki 
[EMAIL PROTECTED] wrote:
 This is the result I get then:
 
 marly-text-button: function/macro "script_fu_drop_shadow" not found in Gimp at 
/home/skrodzki/.gimp-1.1/plug-ins/marly-text-button line 39 (ERROR)

You need to import the ":auto"-tag from the Gimp module to get all functions
in your current module, or otherwise you have to call it as a static method:

Gimp-script_fu_drop_shadow(...)

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: Script-Fu from Perl-Fu?

2000-01-25 Thread Marc Lehmann

On Tue, Jan 25, 2000 at 04:25:31PM +0100, Stephan Skrodzki 
[EMAIL PROTECTED] wrote:
 Gimp-script_fu_drop_shadow(0,$unsel_lay,8,8,15,"black",60,1);
 
 But still the same result, the script isn't found...

Which version of gimp are you using, btw? If it's 1.0, then it indeed
is named "script-fu-drop-shadow", and then you need to call it either like:

"Gimp::script-fu-drop-shadow"-(args)

or

{"Gimp::script-fu-drop-shadow"}(args)

(see the section on "Calling Gimp Functions" in the manpage)

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: Script-Fu from Perl-Fu?

2000-01-25 Thread Stephan Skrodzki

 On Tue, Jan 25, 2000 at 04:25:31PM +0100, Stephan Skrodzki 
[EMAIL PROTECTED] wrote:
  Gimp-script_fu_drop_shadow(0,$unsel_lay,8,8,15,"black",60,1);
  
  But still the same result, the script isn't found...
 
 Which version of gimp are you using, btw? If it's 1.0, then it indeed
 is named "script-fu-drop-shadow", and then you need to call it either like:

nope, as I wrote in the very beginning of this threat:

function/macro "shadow" not found in Gimp at 
/home/skrodzki/.gimp-1.1/plug-ins/marly-text-button line 39 (ERROR)
-
stevekist:~/mac/dokumente/Evi  gimp -v

Gdk-WARNING **: locale not supported by C library
Message: Passed serialization test

GIMP version 1.1.11
-

Regards
 Steve


 
| Stephan Skrodzki Phone: +49-621-1565435 "Nobody expects the| 
| Mannheim, Germany  Fax: +49-621-1565083  Spanish Inquisition!" |
| Mobile: +49-173-2003491|
 




Re: Script-Fu from Perl-Fu?

2000-01-25 Thread Marc Lehmann

On Wed, Jan 26, 2000 at 12:27:20AM +0100, Stephan Skrodzki 
[EMAIL PROTECTED] wrote:
 GIMP version 1.1.11

^^^ that version is waay old it already has a long beard! please try a
slightly newer one, and most probably everything I said becomes more true.

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: Script-Fu from Perl-Fu?

2000-01-24 Thread Stephan Skrodzki

  I'd like to use a Script-Fu script from within gimp-perl a Gimp tells me:
 
  script-fu-drop-shadow(0,$unsel_lay,8,8,15,"black",60,1);
 
 You are trying to subtract "shadow" from "drop" from "fu" from
 "script". If you use a recent gimp version, then just use underscores
 (script_fu_drop_shadow) and everything will be fine.
 
 Well, almost. You will find that gimp and/or script-fu will happily crash
 when you try this. It might even work, but script-fu is broken in that
 respect since over a year now, and I don't expect that to change soon.

This is the result I get then:

marly-text-button: function/macro "script_fu_drop_shadow" not found in Gimp at 
/home/skrodzki/.gimp-1.1/plug-ins/marly-text-button line 39 (ERROR)

so I can't even check, if gimp could crash :-)

Regards
 Steve



Re: Script-Fu from Perl-Fu?

2000-01-24 Thread Kelly Lynn Martin

On Sun, 23 Jan 2000 18:43:03 +0100, [EMAIL PROTECTED] (Stephan 
Skrodzki) said:

Howdy,
I'd like to use a Script-Fu script from within gimp-perl a Gimp tells me:

function/macro "shadow" not found in Gimp at 
/home/skrodzki/.gimp-1.1/plug-ins/marly-text-button line 39 (ERROR)

And excerpt of the script:

use Gimp qw(:auto __);
use Gimp::Fu;

$unsel_lay = gimp_layer_new($img, $img-width, $img-height,
 RGB, "Unsel Shadow", 100, NORMAL_MODE);
$unsel_lay-add_layer(-1);
gimp_layer_add_alpha($unsel_lay);
gimp_edit_clear($unsel_lay);
script-fu-drop-shadow(0,$unsel_lay,8,8,15,"black",60,1);
 ^

Try using script_fu_drop_shadow (underlines, not dashes).

Perl parses this as script - fu - drop - shadow ().  The first
three evaluate to zero, and the last to a call to the (undefined)
subroutine shadow.

return $img;
}

Kelly



Re: Script-Fu from Perl-Fu?

2000-01-23 Thread Marc Lehmann

On Sun, Jan 23, 2000 at 06:43:03PM +0100, Stephan Skrodzki 
[EMAIL PROTECTED] wrote:
 Howdy,
 
 I'd like to use a Script-Fu script from within gimp-perl a Gimp tells me:

 script-fu-drop-shadow(0,$unsel_lay,8,8,15,"black",60,1);

You are trying to subtract "shadow" from "drop" from "fu" from
"script". If you use a recent gimp version, then just use underscores
(script_fu_drop_shadow) and everything will be fine.

Well, almost. You will find that gimp and/or script-fu will happily crash
when you try this. It might even work, but script-fu is broken in that
respect since over a year now, and I don't expect that to change soon.

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: script-fu

2000-01-20 Thread Guillermo S. Romero / Familia Romero

in chapter 38 of the "Gimp User Manual" I found an example for how to do a
Script-fu. For the beginning I copied the example-script to
/root/.gimp-1.1/scripts/ , made "refresh" and tried to find it in the DB
Browser. But there was nothing. I copied it also to
/usr/local/share/gimp/scripts/, with the same result.

Have you checked the source of the script? Maybe it is wrongly typed or is
not compatible with Gimp 1.1.

What am I doing wrong. 
The "Gimp User Manual" relates to Gimp1.0.4. I run Gimp 1.1.15.

Maybe that is the problem. I would try to copy a script that works to
$HOME/.gimpdir/scripts/ (and remove it from original place, well, better
rename it, so you do not lose it) and then see if it appears or not.

Also check that your config knows where to search. But I doubt that is the
problem, cos if you place them with files that load but it does not... btw,
is the file readable?

BTW, does anybody want to provide a destructive script so you can learn that
the root account is only to install things and other administrative tasks,
never to run them? After watching how all your data (entire HDs) goes away I
guess you will get why you should use an user account.

GSR
 



Re: script-fu examples

2000-01-18 Thread Carl-Johan Sveningsson

 I've followed the various links from gimp.org to the various script-fu
 sites.  Many are non-existent or broken.  I'm trying to find out how I
 can create a simple batch script.  All I need to do is rotate some
 images 90 degrees.  But, it's about 150 images and for obvious reasons,
 a non-interactive solution will same much time.
 
 Anyone have any pointers as to where I can at least find a listing of
 the available commands for script-fu scripts?

Eh, how about using ImageMagick and do a simple:

for i in *.jpg
do
convert -rotate 90 "$i"
done

And you should be done with it! :-)
It's great, I simply love IM for scripting...
No real reason that I can see to start up gimp for that...

/WoC

 "fast det e klart.. lira rysk roulette
  med en haubitz vore rätt tufft..."
-- hört från Steamshark

--o--o-oOo-o--o--

  Carl-Johan Sveningsson
  HHGTTG researcher 96339 
[EMAIL PROTECTED]
 +46 370 99112
  ICQ# 2357535
http://come.to/woc/
  http://wlug.westbo.se/



Re: script-fu examples

2000-01-18 Thread Wandered Inn

Thanks, worked like a charm.

Carl-Johan Sveningsson wrote:
 
  I've followed the various links from gimp.org to the various script-fu
  sites.  Many are non-existent or broken.  I'm trying to find out how I
  can create a simple batch script.  All I need to do is rotate some
  images 90 degrees.  But, it's about 150 images and for obvious reasons,
  a non-interactive solution will same much time.
 
  Anyone have any pointers as to where I can at least find a listing of
  the available commands for script-fu scripts?
 
 Eh, how about using ImageMagick and do a simple:
 
 for i in *.jpg
 do
 convert -rotate 90 "$i"
 done
 
 And you should be done with it! :-)
 It's great, I simply love IM for scripting...
 No real reason that I can see to start up gimp for that...
 
 /WoC
 
  "fast det e klart.. lira rysk roulette
   med en haubitz vore rätt tufft..."
 -- hört från Steamshark
 
 --o--o-oOo-o--o--
 
   Carl-Johan Sveningsson
   HHGTTG researcher 96339
 [EMAIL PROTECTED]
  +46 370 99112
   ICQ# 2357535
 http://come.to/woc/
   http://wlug.westbo.se/

--
Until later: Geoffrey   [EMAIL PROTECTED]

I'm afraid there will be more problems with W2K then there were with
Y2K...



Re: script-fu examples

2000-01-18 Thread Wandered Inn

Actually, I mis-spoke.  It did not work.  convert complains:

convert: Missing an image file name [No such file or directory]

Using 'convert -rotate 90 14.jpeg'

and 14.jpeg is in the current directory.

Suggestions??


Carl-Johan Sveningsson wrote:
 
  I've followed the various links from gimp.org to the various script-fu
  sites.  Many are non-existent or broken.  I'm trying to find out how I
  can create a simple batch script.  All I need to do is rotate some
  images 90 degrees.  But, it's about 150 images and for obvious reasons,
  a non-interactive solution will same much time.
 
  Anyone have any pointers as to where I can at least find a listing of
  the available commands for script-fu scripts?
 
 Eh, how about using ImageMagick and do a simple:
 
 for i in *.jpg
 do
 convert -rotate 90 "$i"
 done
 
 And you should be done with it! :-)
 It's great, I simply love IM for scripting...
 No real reason that I can see to start up gimp for that...
 
 /WoC
 
  "fast det e klart.. lira rysk roulette
   med en haubitz vore rätt tufft..."
 -- hört från Steamshark
 
 --o--o-oOo-o--o--
 
   Carl-Johan Sveningsson
   HHGTTG researcher 96339
 [EMAIL PROTECTED]
  +46 370 99112
   ICQ# 2357535
 http://come.to/woc/
   http://wlug.westbo.se/

--
Until later: Geoffrey   [EMAIL PROTECTED]

I'm afraid there will be more problems with W2K then there were with
Y2K...



Re: Script-fu and gimp-1.1.11

1999-11-28 Thread Carl-Johan Sveningsson

It's not just you. I have it too, at least with my own scripts...
Someone know what it's about?

/WoC

On Mon, 22 Nov 1999, alex wrote:

 Hi all,
 Is it just me, or does gimp-1.1.13 break some parts of script-fu? Things
 like the excellent wax-text and wax-seal scripts don't work any more, with
 errors like:
  
  Script-Fu Error
  ERROR: unbound variable (errobj gimp-image-disable-undo)
 
 I assume the script tries to diable undos [why would it do that?], but
 the gimp isn't too happy with that. Here are my vital statistics:
 gimp-1.1.13, GNU/Linux 2.2.10 [Intel], SuSE 6.2. Made with './configure
 --with-included-gettext  make  make install'
 
 Also, can someone tell me, did something break between 1.1.7 and 1.1.12
 that made the SOTA Chrome script not work properly? It produced really
 flat looking logos.
 
 
 --
 ||
 |See my website at http://www.linux66.freeserve.co.uk|
 ||
 
 
 


 "fast det e klart.. lira rysk roulette
  med en haubitz vore rätt tufft..."
-- hört från Steamshark

--o--o-oOo-o--o--

  Carl-Johan Sveningsson
  HHGTTG researcher 96339 
[EMAIL PROTECTED]
 +46 370 99112
  ICQ# 2357535
http://come.to/woc/
  http://wlug.westbo.se/



Re: Script-fu and gimp-1.1.11

1999-11-28 Thread nigel

There was some discussion on the developers list about undo that you may
want to take a look at. However I dont know if it answers your question
as Im not a programmer and therefor dont understand what there on about.

http://www.mail-archive.com/gimp-developer%40scam.xcf.berkeley.edu/

As for things being broken past and present, well thats just part and
parcel of the developers version isnt it? ;)

Carl-Johan Sveningsson wrote:
 
 It's not just you. I have it too, at least with my own scripts...
 Someone know what it's about?
 
 /WoC
 
 On Mon, 22 Nov 1999, alex wrote:
 
  Hi all,
  Is it just me, or does gimp-1.1.13 break some parts of script-fu? Things
  like the excellent wax-text and wax-seal scripts don't work any more, with
  errors like:
 
   Script-Fu Error
   ERROR: unbound variable (errobj gimp-image-disable-undo)
 
  I assume the script tries to diable undos [why would it do that?], but
  the gimp isn't too happy with that. Here are my vital statistics:
  gimp-1.1.13, GNU/Linux 2.2.10 [Intel], SuSE 6.2. Made with './configure
  --with-included-gettext  make  make install'
 
  Also, can someone tell me, did something break between 1.1.7 and 1.1.12
  that made the SOTA Chrome script not work properly? It produced really
  flat looking logos.
 
 
  --
  ||
  |See my website at http://www.linux66.freeserve.co.uk|
  ||
 
 
 
 
  "fast det e klart.. lira rysk roulette
   med en haubitz vore rätt tufft..."
 -- hört från Steamshark
 
 --o--o-oOo-o--o--
 
   Carl-Johan Sveningsson
   HHGTTG researcher 96339
 [EMAIL PROTECTED]
  +46 370 99112
   ICQ# 2357535
 http://come.to/woc/
   http://wlug.westbo.se/



Re: Script-fu and gimp-1.1.11

1999-11-28 Thread Marc Lehmann

On Sun, Nov 28, 1999 at 09:04:18PM +0100, Carl-Johan Sveningsson [EMAIL PROTECTED] 
wrote:
 It's not just you. I have it too, at least with my own scripts...
 Someone know what it's about?

Yes, many functions have been renamed to be more consistent (e.g.
gimp_image_disable_undo is now gimp_image_undo_disable).

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |