{"id":11387,"date":"2007-01-31T00:44:40","date_gmt":"2007-01-31T00:44:40","guid":{"rendered":"http:\/\/blogs.adobe.com\/jnackdev\/2007\/01\/useful-photoshop-layer-handling-scripts.html"},"modified":"2007-01-31T00:44:40","modified_gmt":"2007-01-31T00:44:40","slug":"useful_photoshop_layer_handling_scripts","status":"publish","type":"post","link":"https:\/\/jnack.com\/blog\/2007\/01\/31\/useful_photoshop_layer_handling_scripts\/","title":{"rendered":"Useful Photoshop layer-handling scripts"},"content":{"rendered":"<p>Last week Ralf Berger, co-creator of Photoshop&#8217;s Vanishing Point tool (and formerly eng. manager for LiveMotion), asked me whether Photoshop offered a way to clean up files by deleting empty layers.&#160; I knew that the Layers palette fly-out menu contains a command to delete hidden layers, but not one for blowing away those with no pixel content.&#160; After a nudge towards the Photoshop JavaScript guide (installed in the application folder, btw), Ralf whipped up <a href=\"http:\/\/blogs.adobe.com\/jnack\/files\/DeleteEmptyLayers.jsx\">this script<\/a> for deleting blank layers.&#160; I&#8217;m posting it here in case it&#8217;s useful. (You may want to right-click\/Ctrl-click the link to download the script, then put the file into your Photoshop folder under Presets\/Scripts.)<\/p>\n<p>On a related note,<br \/>\nI came across a Trevor Morris&#8217;s trove of <a href=\"http:\/\/user.fundy.net\/morris\/?photoshop28.shtml\">handy-looking little scripts<\/a>.&#160; And for more PS scriptiness, including a good discussion forum, check out <a href=\"http:\/\/www.ps-scripts.com\/bb\">PS-Scripts.com<\/a>. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week Ralf Berger, co-creator of Photoshop&#8217;s Vanishing Point tool (and formerly eng. manager for LiveMotion), asked me whether Photoshop offered a way to clean up files by deleting empty layers.&#160; I knew that the Layers palette fly-out menu contains a command to delete hidden layers, but not one for blowing away those with no [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/jnack.com\/blog\/wp-json\/wp\/v2\/posts\/11387"}],"collection":[{"href":"https:\/\/jnack.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jnack.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jnack.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jnack.com\/blog\/wp-json\/wp\/v2\/comments?post=11387"}],"version-history":[{"count":0,"href":"https:\/\/jnack.com\/blog\/wp-json\/wp\/v2\/posts\/11387\/revisions"}],"wp:attachment":[{"href":"https:\/\/jnack.com\/blog\/wp-json\/wp\/v2\/media?parent=11387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jnack.com\/blog\/wp-json\/wp\/v2\/categories?post=11387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jnack.com\/blog\/wp-json\/wp\/v2\/tags?post=11387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}