RetouchPRO

Go Back   RetouchPRO > Tools > Software > Photoshop Scripting
Register Blogs FAQ Site Nav Search Today's Posts Mark Forums Read


Photoshop Scripting Learning and sharing for all platforms

Droplet to clear channels/paths

Reply
 
Thread Tools
  #1  
Old 08-16-2011, 02:58 AM
Adrianr Adrianr is offline
Junior Member
 
Join Date: Jan 2010
Posts: 26
Droplet to clear channels/paths

Hi guys,

I'm looking to create a droplet that clears excess channels and paths left in a PSD or Tiff file. Doesn't need to remove masks, just duplicate colour channels used to make masks originally, or paths. Where on earth do I start trying to achieve this?

Cheers.
Reply With Quote top
  #2  
Old 08-16-2011, 03:30 AM
Der_W's Avatar
Der_W Der_W is offline
Senior Member
 
Join Date: Jul 2009
Location: Germany
Posts: 558
Re: Droplet to clear channels/paths

First of all you'll need a script to remove both channels and paths.

Something like this:
Code:
#target photoshop
app.bringToFront();
var theImage = app.activeDocument;

theImage.pathItems.removeAll();
theImage.channels.removeAll();
(save as RemoveChannelsPaths.jsx)

Now create a new action, run the script while recording and stop the action.
Chose "File"-"Automate"-"Create Droplet" and chose your settings.
That should work :-).
Reply With Quote top
  #3  
Old 08-21-2011, 04:09 PM
Adrianr Adrianr is offline
Junior Member
 
Join Date: Jan 2010
Posts: 26
Re: Droplet to clear channels/paths

Works perfectly, thank you sir!
Reply With Quote top
  #4  
Old 12-22-2013, 10:26 AM
shinebabu.r's Avatar
shinebabu.r shinebabu.r is offline
Junior Member
 
Join Date: Dec 2013
Posts: 1
Re: Droplet to clear channels/paths

Hay, Your actions are awesome, is there any way to remove particular channels. eg: if a channel contains the name "great" and we need to del only this layer with the name "great". Is it possible, if yes kindly help
Reply With Quote top
Reply

  RetouchPRO > Tools > Software > Photoshop Scripting


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing clear tape htown Photo Restoration 2 11-21-2009 02:31 PM
clear photo of lens moisture suji Photo Retouching 4 12-23-2007 05:17 AM
help with making a droplet domromer Photoshop Help 11 04-29-2007 05:29 PM
Photographing clear glass jars Dakota Input/Output/Workflow 5 12-01-2004 01:26 PM
How to create clear thumbnails? Mona RP Tutorials 3 09-06-2004 03:29 AM


All times are GMT -6. The time now is 05:02 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Copyright © 2016 Doug Nelson. All Rights Reserved