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: 21)
.txt  test.txt (Size: 2.01 KB / Downloads: 22)
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
  Request for script chlebna 1 133 Sep 13, 2017 09:35
Last Post: ythgilb
  Request for script - Guillotine + Watermark sunslick 1 195 Sep 4, 2017 08:51
Last Post: ythgilb
  Script-fu: How to create new, addressable layer using gimp-floating-sel-to-layer Bertholom√§us 2 188 Aug 31, 2017 14:32
Last Post: Bertholomäus
  How to modify this script-fu? Zakary81 1 152 Aug 23, 2017 12:48
Last Post: paynekj
  Loading PythonFu Plugin: ImportError for .../python/gimp.so (GIMP 2.8.22/OSX/Py2.7.9) joroek 1 259 Jul 11, 2017 07:26
Last Post: ythgilb

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS