It is currently Fri Dec 19, 2014 5:43 am


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: [SOLVED] Saulgoode -Alpha lock script I have that you wrote
PostPosted: Tue Jun 01, 2010 1:26 pm  (#1) 
Offline
Administrator
User avatar

Joined: May 22, 2008
Posts: 6348
Location: Somewhere in GIMP
It locks the alpha channel on all visible layers. May I have one that unlocks all visible layers? Is it possible to have a choice to lock or unlock in one script?

I tried messing with the script to see if I could get one to unlock alpha but it didn't work.

Attaching your original script.


Attachments:
sg-lock-layers.scm [1.21 KiB]
Downloaded 113 times

_________________
Image
... Eye of newt, toe of frog ... Believed to be the first recipe for an explosive mixture ... the forerunner of gunpowder.

Image
Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Profile  
 
 Post subject: Re: Saulgoode - An alpha lock script I have that you wrote
PostPosted: Tue Jun 01, 2010 1:36 pm  (#2) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1331
Location: not from Guildford after all
Change the TRUE to FALSE in the following line:

(gimp-layer-set-lock-alpha (car layer's) TRUE)


and change the names of the function and menu command.

_________________
GIMP doesn’t have a high learning curve. Photoshop has a high unlearning curve. Observe the difference in those familiar with neither.


Top
 Profile  
 
 Post subject: Re: Saulgoode - An alpha lock script I have that you wrote
PostPosted: Tue Jun 01, 2010 1:41 pm  (#3) 
Offline
Administrator
User avatar

Joined: May 22, 2008
Posts: 6348
Location: Somewhere in GIMP
:wh It's working now. Thanks so much!!!

_________________
Image
... Eye of newt, toe of frog ... Believed to be the first recipe for an explosive mixture ... the forerunner of gunpowder.

Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

* Login  

* Subscribe to Gimp Chat's RSS Feed    * Subscribe to Gimp Chat's Tutorial Feed    * Subscribe to Gimp Chat's G'MIC Feed


Powered by phpBB3 © phpBB Group