Re: Script-Fu beginner...

2000-04-01 Thread Ingo Ruhnke
Fábio Sato <[EMAIL PROTECTED]> writes: > 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

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 s

Re: Script-Fu beginner...

2000-03-30 Thread Christian Schlange
Hi Fabio, > I'm wondering how do I know which is the reference to the background > layer of a image that I've just opened. I think that my error is > occurring when I try to pass the drawable references to the > gimp-edit-copy/paste functions. I simple passed "0" (I don't know any > referenc

Script-Fu beginner...

2000-03-30 Thread Fábio Sato
Hi people, I'm beginning to work with script-fu and I'm having a little difficulty to load two images and paste one into other. I'm wondering how do I know which is the reference to the background layer of a image that I've just opened. I think that my error is occurring when I try to pass the d