RetouchPRO

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


Photoshop Scripting Learning and sharing for all platforms

Reply
 
Thread Tools
  #1  
Old 08-16-2011, 01:58 AM
Junior Member
 
Join Date: Jan 2010
Posts: 23
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
  #2  
Old 08-16-2011, 02:30 AM
Der_W's Avatar
Senior Member
 
Join Date: Jul 2009
Location: Germany
Posts: 528
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
  #3  
Old 08-21-2011, 03:09 PM
Junior Member
 
Join Date: Jan 2010
Posts: 23
Re: Droplet to clear channels/paths

Works perfectly, thank you sir!
Reply With Quote
Reply

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 01:31 PM
clear photo of lens moisture suji Photo Retouching 4 12-23-2007 04:17 AM
help with making a droplet domromer Photoshop Help 11 04-29-2007 04:29 PM
Photographing clear glass jars Dakota Input/Output/Workflow 5 12-01-2004 12:26 PM
How to create clear thumbnails? Mona RP Tutorials 3 09-06-2004 02:29 AM


All times are GMT -6. The time now is 10:21 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 2008 Doug Nelson. All Rights Reserved