It is currently Wed Jul 30, 2014 3:13 pm


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 2:26 pm  (#1) 
Offline
Administrator
User avatar

Joined: May 22, 2008
Posts: 5920
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 110 times

_________________
Image
There are two major products to come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

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 2:36 pm  (#2) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1223
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.

_________________
You're never too old to learn a new way of being stupid.


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

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

_________________
Image
There are two major products to come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

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: lylejk and 10 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