Switch to full style
Post all Gimp scripts and script writing questions here
Post a reply

Somebody installed and use gimpscripter ?

Mon Sep 17, 2012 5:35 pm

that is described http://www.registry.gimp.org/node/25305 and has a page on http://www.github.com/bootchk/gimpscripter

I try to install in gimp 2,.8.2 (win) and apparently is installed but doesn't do nothing not even show a gui

But i believe to have read that use glade..maybe is needed some glade libraries or binary.?

Re: Somebody installed and use gimpscripter ?

Mon Sep 17, 2012 7:51 pm

PC,

What issue are you having?

To install, do the following:
1. Copy the main plugin-gimpscripter.py to your plug-ins folder.
2. Copy the folder gimpscripter into the plug-ins folder.

That's it. It will be available under Filters -> Gimpscripter

Something like this:
gimpscripter.jpg
Gimpscripter Window
gimpscripter.jpg (128.77 KiB) Viewed 4878 times

PS: I have not used it, just installed it.

Re: Somebody installed and use gimpscripter ?

Mon Sep 17, 2012 8:42 pm

i did the same..more or less i put gimpscripter.py and the gimpscript folder in a subfolder of plugin (and added a path in preference)
The plugin is listed in the menu but doesn't show any gui, neither give error messages

I imagine that somehow can't find its folders...

Re: Somebody installed and use gimpscripter ?

Mon Sep 17, 2012 9:03 pm

Sort of solved but not as i like

to make it work i had to move in lib/gimp/2.0/plug-ins on samj portable doesn't accept to work from any other place

Re: Somebody installed and use gimpscripter ?

Mon Sep 17, 2012 9:56 pm

Gimpscripter is awesome!
I never knew it existed until PC mentioned it.

Re: Somebody installed and use gimpscripter ?

Mon Sep 17, 2012 10:23 pm

Sounds like it has the potential to be a nice tool. Thanks for the heads up. Code generators are notorious for generating inefficient code but as long as the code works reasonably well, that's all that matters. A GIMP macro recorder/playback tool would be really nice. :hehe

Re: Somebody installed and use gimpscripter ?

Tue Sep 18, 2012 1:57 am

I've been wanting to play with this for a long time. I might even take up script writing for real sometime.

Re: Somebody installed and use gimpscripter ?

Tue Sep 18, 2012 4:52 am

no joy yet to install it i had to install globally but the worse is that even so doesn't seems to work:
now i may see the gui, chose procedures,set the values, chain...but at the last step nothing happens, no shortcut is create click ok has no effect (and doesn't even close the plugin )

I am looking to the doc to see if i goofed something but i had the impression that still some component is not properly loaded

Now what i wished to do was very easy i may do also with gmic , i wanted do with gimpscripter just to test it and because even if the name suggest the contrary gimpscripter didn't require any scripting knowledge

the steps were to "polish" 3d fractals ,original to edit are supposed to between 4800x3200 and 3200x2400
1)gaussian blur 1px
2)scale down to 2400x1800
3)unsharpmask2 ( set to do a soft "dark halo" sharpening )

a limit is for 2) it is no possible use a % but only hardcoded values

anyway doesn't work for me and just at the last step, to create and save the routine (the new shortcut)

Re: Somebody installed and use gimpscripter ?

Tue Sep 18, 2012 4:56 am

partha wrote:PC,

What issue are you having?

To install, do the following:
1. Copy the main plugin-gimpscripter.py to your plug-ins folder.
2. Copy the folder gimpscripter into the plug-ins folder.

That's it. It will be available under Filters -> Gimpscripter

Something like this:
gimpscripter.jpg

PS: I have not used it, just installed it.


@partha
could you check if for you works ?

just chose from the left panel 2 or 3 procedure to call sequentially and see if you can apply create and store a new shortcut

i get now problem in the very last step, for me OK does nothing at all

Re: Somebody installed and use gimpscripter ?

Tue Sep 18, 2012 5:05 am

PhotoComix wrote:i did the same..more or less i put gimpscripter.py and the gimpscript folder in a subfolder of plugin (and added a path in preference)
The plugin is listed in the menu but doesn't show any gui, neither give error messages

I imagine that somehow can't find its folders...

It's not the gimp path you need, you need PYTHONPATH. If you want to put gimpscripter in some other place, modify the source (for both the main py script and the gui scripts) to point to the location of gimpscripter module. You can probably get away with simply doing the following:

import sys
sys.path.append("name")

where name is the new location. There are other ways to search for modules. Look at http://docs.python.org/install/index.html#search-path

You may be able to simply put a wrapper around the whole thing so that you don't need to modify the source.

None of this is tested and you will have to do trial and error. :)

Re: Somebody installed and use gimpscripter ?

Tue Sep 18, 2012 5:08 am

PhotoComix wrote:no joy yet to install it i had to install globally but the worse is that even so doesn't seems to work:

anyway doesn't work for me and just at the last step, to create and save the routine (the new shortcut)

Are you using the Shortcut name box on the bottom and re-starting Gimp?

Re: Somebody installed and use gimpscripter ?

Tue Sep 18, 2012 5:09 am

PhotoComix wrote:
partha wrote:PC,

What issue are you having?

To install, do the following:
1. Copy the main plugin-gimpscripter.py to your plug-ins folder.
2. Copy the folder gimpscripter into the plug-ins folder.

That's it. It will be available under Filters -> Gimpscripter

Something like this:
The attachment gimpscripter.jpg is no longer available

PS: I have not used it, just installed it.


@partha
could you check if for you works ?

just chose from the left panel 2 or 3 procedure to call sequentially and see if you can apply create and store a new shortcut

i get now problem in the very last step, for me OK does nothing at all

Here you go.
gimpscripter-1.jpg
Scripter output
gimpscripter-1.jpg (165.43 KiB) Viewed 1223 times

PS: Again, just playing and not really using it. :)

Re: Somebody installed and use gimpscripter ?

Tue Sep 18, 2012 5:55 am

trying again now i will let you know

Re: Somebody installed and use gimpscripter ?

Tue Sep 18, 2012 6:48 am

i see, clearly the script can't work if was supposed to be installed in .gimp-2.8/plug-ins because i have not a .gimp folder,
but i was expecting working at least if installed globally (in the main plugin folder)

instead i am still stuck here ,

Image


... sure i should edit the path but i don't understand what components are not loaded

Re: Somebody installed and use gimpscripter ?

Tue Sep 18, 2012 10:22 am

I do not think the pdb calls within Gimpscripter are completely correct though.
I created a shortcut that was supposed to take a selection, and invert it and run "Lizard Breath" on the selected area.Instead it selected the entire image and filled it with green scales and then turned it black. :)

Could be because the "Lizard Breath" script works only on a transparent layer without a selection i suppose.
Post a reply