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: 52)
.txt  test.txt (Size: 2.01 KB / Downloads: 60)
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
  Run script on action rchav 2 784 Aug 13, 2018 14:57
Last Post: rchav
  Script Fu Errors Gimp 2.10.4 lightsaber jd3481 1 507 Aug 2, 2018 05:13
Last Post: paynekj
  Script-fu script to conversion pdf to image 4ever 12 10,742 Jul 17, 2018 16:01
Last Post: paynekj
  Problems with a bat script :( ThaUnknown_ 1 503 Mar 26, 2018 21:14
Last Post: paynekj
  Script-fu ordered file list vnicent 1 324 Mar 19, 2018 17:33
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS