Re: [Gimp-developer] Script-Fu error ... GUI shows different image selection than what script gets

2002-09-05 Thread Roland Roberts
> "Simon" == Simon Budig <[EMAIL PROTECTED]> writes: Simon> [...] There is no real concept of a "active" image. This is Simon> the primary reason, why there is no "save" entry in the Simon> toolbox menu. Simon> If you register your script in the context menu of the Simon>

Re: [Gimp-developer] Script-Fu error ... GUI shows different image selection than what script gets

2002-09-05 Thread Simon Budig
Roland Roberts ([EMAIL PROTECTED]) wrote: > > "Simon" == Simon Budig <[EMAIL PROTECTED]> writes: > > Simon> I can reproduce this behaviour and I think it is a bug. > [...] > > Simon> To work around this: You could use an invalid image ID (for > Simon> example -1) as the defau

Re: [Gimp-developer] Script-Fu error ... GUI shows different image selection than what script gets

2002-09-05 Thread Roland Roberts
> "Simon" == Simon Budig <[EMAIL PROTECTED]> writes: Simon> I can reproduce this behaviour and I think it is a bug. [...] Simon> To work around this: You could use an invalid image ID (for Simon> example -1) as the default value. So you can easily check Simon> if this is

Re: [Gimp-developer] Script-Fu error ... GUI shows different image selection than what script gets

2002-09-05 Thread Simon Budig
Roland Roberts ([EMAIL PROTECTED]) wrote: > I have a script-fu set up which has the following initialization: [... The default value of SF_IMAGE gets returned even if there is just one image open ...] > The problem is that my image is *not* image 0. It is image 5. I > realize I have 0 as a

[Gimp-developer] Script-Fu error ... GUI shows different image selection than what script gets

2002-09-05 Thread Roland Roberts
I have a script-fu set up which has the following initialization: (script-fu-register "script-fu-astro-rescale-for-web" "/Xtns/Script-Fu/Astronomy/Scale for Web" "Rescale current image to \"standard\" sizes for web display" "Roland B. Ro