Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Browsing all 27456 articles
Browse latest View live

Re: Shadow with .jsx

here it is with adding 300 to the canvas app.activeDocument.suspendHistory("bcm_addShadow", "main()");function main(){   makeShadow( 15, 4.5, 2.49, 25.49, 70);// these values are procents   //arg1: the...

View Article


Script Event Manager: Save Document: how do I know if Image is saved with "As...

I wish to handle the case where if user saves the Image with "As a Copy" option checked. How do I know in Script (triggered through Script Event Manager) if user has saved the Document with "As a Copy"...

View Article


Image may be NSFW.
Clik here to view.

Re: Automate LZW Tiff saving problem

This is the Photoshop Action that doesn´t work: 

View Article

Re: Script Event Manager: Save Document: how do I know if Image is saved with...

Compare the full path of the activeDocument with the path that's in the ActionDescriptor. If they're not the same, it's an "As Copy" save.

View Article

Re: Automate LZW Tiff saving problem

See dropbox link for the same file working (manual) and not working (automatic)I can’t locate the link. This is the Photoshop Action that doesn´t work:You have previously claimed you used "Macintosh".

View Article


Image may be NSFW.
Clik here to view.

Re: Automate LZW Tiff saving problem

Here is the link again: https://www.dropbox.com/sh/33htpzcv11w6uws/AAAsvelGSL9utSzLzblpk3IIa Yes, I´m on macintosh, I´ve been trying back and forth on all the settings, so I´ve tried both Mac and IBM...

View Article

Re: call save for web and devices dialog

What are you using for scripting?

View Article

Re: call save for web and devices dialog

Hi rajaramasami,You can find examples e.g. in JavaScript for Save for Web here in forum. Here is one, written by Paul Riggott: Paul Riggott wrote: Here you are... function main(){ if(!documents.length)...

View Article


Re: Shadow with .jsx

thank you very much. You saved my life

View Article


Remove not active layer

i have a psd with a lot of layers. I'd like to remove all layer but not the first or the active one. Someone cuold help me to do this?

View Article

Re: Automate LZW Tiff saving problem

I had hoped it would be something in the metadata – but I can’t discern anything relevant. Maybe you should contact the makers of your server software.

View Article

Re: Automate LZW Tiff saving problem

Yeah, I´ve gone through the metadata too. Unfortunatly Erez Image server is a old program and is no longer supported. This used to work in CS4, so there is someting about the way photoshop handles the...

View Article

Image may be NSFW.
Clik here to view.

Re: Remove not active layer

This hardly seems worth the effort of creating a Script, ctrl-shift clicking the visibility icon and selecting "Hide all other layers" then "Delete Hidden Layers" from the Layers Panel’s fly-out menu...

View Article


Re: Remove not active layer

ues but beacuse i have a lot of images i would like to do this with a script .jsx

View Article

Re: Remove not active layer

Sorry, my mistake, "Hide all other layers" does not seem to record properly.

View Article


Re: Remove not active layer

You should be able to use ScriptingListener.plugin to record the aforementioned steps, actually even an Action should work.Sorry, did a test, this is apparently not the case.

View Article

Re: Remove not active layer

Would it be acceptable to leave Groups alone? Because while one can fairly easily identify the "selected Layers" the Groups they are contained in are harder to identify.

View Article


Image may be NSFW.
Clik here to view.

Re: Remove not active layer

yes i have only layer not grouped.

View Article

Re: Remove not active layer

Could you give this a try? // based on code by paul mr; removes unselected layers but leaves layersets untouched;// 2014, use at your own risk;#target "photoshop-70.032"if (app.documents.length > 0)...

View Article

Re: Remove not active layer

I get an error : Linea: 95->  var hasBackground = docDesc.getBoolean(stringIDToTypeID("hasBackgroundLayer"));

View Article
Browsing all 27456 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>