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

Re: Batch Export Separate Layer with the same Background Layer , Please HELP

Hi NoelVestri, many thanks for responding, but do you have the code I need to retain the top layer while outputting the individual layers beneath (now combined with top layer) as JPEG's? Once I have...

View Article


Re: Batch Export Separate Layer with the same Background Layer , Please HELP

Paul's script can now be found at http://www.ps-bridge-scripts.talktalk.net/

View Article


ESTK keeps the entire session in Memory?

Hi,apparently every script that you launch in ESTK is kept in memory - I wonder if this is designed. As an example (there is more in this topic) create two separate script files, and run the first,...

View Article

I need js global vars in PS-64bit CS6, but they aren't staying in memory.

I have read that global vars in Photoshop are only kept in memory if they are defined in a startup script, but I have found that the App Start event 'Ntfy' doesn't seem to qualify as a startup script...

View Article

Re: How to apply random "random seed" value to multiple images

Thanks Michael! You really helped me a lot. I really appreciate it. Thanks again!

View Article


Re: I need js global vars in PS-64bit CS6, but they aren't staying in memory.

Even though you are running the 64bit version of Photoshop the startup files are in the Program Files (x86) tree. Do a search in Windows Explorer for photoshop.jsx to find the exact folder path....

View Article

Re: ESTK keeps the entire session in Memory?

The link you posted is not valid. I have not seen that documented( not surprising ) and I am not sure it is a bug. If you choose the Debug-Reset menu before running you script it seems to clear any...

View Article

Re: ESTK keeps the entire session in Memory?

Apparently I'm unable to edit my own post to fix the link - here it is: http://www.ps-scripts.com/bb/viewtopic.php?f=2&t=5517&sid=21455c36873a b898faf2597a785d08da

View Article


Re: Suspend History State (Undo Once)

thanks alot for your help, been trying it out and just can't get it right. my ignorance for coding is just too much and can't figure it out. thanks for your time and effort in trying to help me anyways.

View Article


Re: I need js global vars in PS-64bit CS6, but they aren't staying in memory.

That made my script run! But it seems to run more than just at App Start. My startup script seems to run at startup, when I access a global var, and whenever one of my scripted events occurs or I open...

View Article

Re: I need js global vars in PS-64bit CS6, but they aren't staying in memory.

Yes that is normal. Most of the time all you want in the startup script is to define properties and methods. The script does not do anything other than maybe some needed setup. For example if you...

View Article

Re: Enable disable layermask of current layer

Michael,thanks for your answer, I wil have to search for an example how to use this functions in an Applescript. I let you know if i succeed.

View Article

load layer as an selection

Is it possible in Applescript or JavaScript to load a layer as an selection, the way you do manually with pressing-and-hold the Command (PC: Ctrl) key and click on thelayer'sthumbnail?

View Article


Re: load layer as an selection

Here is the javascript version.function loadLayerTransparencyToSelection() {    var desc = new ActionDescriptor();        var ref = new ActionReference();        ref.putProperty(...

View Article

how to reduce image witdh without resampling

Hil all, I'm writting a function who resize an image:  function resampling_function(serializedObject){    app.displayDialogs = DialogModes.NO;    var obj = eval(serializedObject);    var file_path =...

View Article


Re: how to reduce image witdh without resampling

It is hard to say without seeing what serializedObject is but one thing I know is wrong is when the resample method is none you can only set the resolution. If you want to change the width you either...

View Article

Re: how to reduce image witdh without resampling

Hi, Thanks for your reply … I'm quite bad in algorithm and I can't find my error…I do this:For example I have an image in 50% in indesign with a resolution of 2000 DPII call my function resizeImage(50,...

View Article


Re: how to reduce image witdh without resampling

I don't do much InDesign scripting but I think that changing the size or resolution of an image after it has been placed in InDesign does not change the size of the placed image. At least that is the...

View Article

Re: Duplicate Layers to new composition? Weird problem with duplicate() command.

Thanks Michael!I am on CC. And you are correct. I had tried to use my varible formed by the getSelected function to duplicate the layers but found when I used this: lay1 =...

View Article

Re: Duplicate Layers to new composition? Weird problem with duplicate() command.

You should not need GetSelectedLayers to dupe the layers. However when there is more than one layer selected when you dupe that method only returns the top most layer so I think you will need to change...

View Article
Browsing all 27456 articles
Browse latest View live