Post Reply 

Help with python script and drawables

Aug 27, 2014, 02:32 (This post was last modified: Aug 27, 2014 11:53 by nmiltner.)
Post: #1
Help with python script and drawables
Hi all,
I have a python script (attached), that I want to basically scroll through the layers noted in the script as noted, and fill the with a color that I have coded. The problem is, the "drawable". When I am toggling the active layer, I assume that the drawable is changed, but that isn't the case. What am I missing? any help is appreciated.

Also, any guidance on exporting the newly created image as jpg is also appreciated as that doesn't work either.

Thanks in advance. A sample .xcf and the python script are attached.

****EDIT****
Oops, here is a link to my python script: https://copy.com/ET734VpjosKCWxBl
I have also attached it as a text file.


Attached File(s)
.xcf  apps_plex.xcf (Size: 31.06 KB / Downloads: 17)
.txt  test.txt (Size: 2.01 KB / Downloads: 19)
Find all posts by this user
Quote this message in a reply
Aug 27, 2014, 11:55
Post: #2
RE: Help with python script and drawables
Oops, I didn't notice that the script wasn't attached. I have edited the OP with it attached as a text file and also included a link to the .py.

Thanks for helping with this.
Find all posts by this user
Quote this message in a reply
Aug 27, 2014, 16:38
Post: #3
RE: Help with python script and drawables
Thank you!
I will try this out when I get home tonight.
Find all posts by this user
Quote this message in a reply
Aug 28, 2014, 16:09
Post: #4
RE: Help with python script and drawables
Thank you for your help Ofnuts. Everything seems to be working with the script now.

Last thing I need to figure out is running it from the command line, and saving the png. I'll work that out over the next couple days. thanks again for your help on this!!
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Loading PythonFu Plugin: ImportError for .../python/gimp.so (GIMP 2.8.22/OSX/Py2.7.9) joroek 1 117 Jul 11, 2017 07:26
Last Post: ythgilb
  Need help in running a gui script-fu via command line eyalzek 2 221 Oct 4, 2014 14:05
Last Post: eyalzek
  Color menuitems in script or plugin Barbie 4 373 Sep 29, 2014 09:51
Last Post: paynekj
  script-fu ok in gimp, not in commad line dominique 1 256 Sep 28, 2014 03:18
Last Post: dominique
  Script fu and Color to alpha john 4 379 Sep 20, 2014 08:46
Last Post: rich2005

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS