It is currently Tue Mar 03, 2015 2:18 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: 6479
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 117 times

_________________
Image
The densest objects in the universe, in increasing order, are white dwarfs, neutron stars, black holes and spammers.
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) 
Online
Script Coder
User avatar

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

_________________
If a man dwells on the past, then he robs the present. But if a man ignores the past, he may rob the future.


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: 6479
Location: Somewhere in GIMP
:wh It's working now. Thanks so much!!!

_________________
Image
The densest objects in the universe, in increasing order, are white dwarfs, neutron stars, black holes and spammers.
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: Majestic-12 [Bot] 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