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

Batch losing values after edit cs3

Hi, We had an automate process with some actions and Batch scripts.As we have changed our folder locations i tried changing the source folder in the batch script.But,the changes are not persistent.It...

View Article


Re: Selecting the brightest pixels

I have posted the code in open form, so I would have hoped you figure out and rectify the mistake yourself. (But the mistake was not a didactic means, it did happen involuntarily.) Yes, there was a...

View Article


Image may be NSFW.
Clik here to view.

Re: layers effects visibility

View Article

Re: layers effects visibility

Thanks for sending the screenshot!

View Article

Image may be NSFW.
Clik here to view.

Re: Packaging an extension for Adobe Exchange?

Hey Davide and thanks for your reply!I attempted going through your guide, but I'm still having the same issue.I'll try to describe what happens, step by step:Done developing & debugging the...

View Article


Re: Dectecting and extracting pictures in a 1-layer image

Have you tried File > Automate > Crop and Straighten Photos?

View Article

Did CC 2014.2 break textItem.size?

Scripts that worked before the update are now broken, and text layers created via script are all 12px. See this simple script:  var docRef = activeDocument; var TextLabel = docRef.artLayers.add();...

View Article

Re: Dectecting and extracting pictures in a 1-layer image

No, I didn't know that feature in Photoshop.Since yesterday, I discovered it (I didn't take the time to update my post here).Still, the result is often disappointing. In my opinion, the best solution...

View Article


Re: Did CC 2014.2 break textItem.size?

This is a problem that I think was previously seen. Here's a slight revision of your test code.  var doc = app.documents.add(); var layer = doc.artLayers.add();  layer.kind = LayerKind.TEXT;...

View Article


Re: Re: Did CC 2014.2 break textItem.size?

Thanks for the adjusted test code! Truthfully I don't know if the UnitValue() method was broken before 2014.2 or not, but I know for sure that this shorthand method was working fine in both CC and CC...

View Article

Watch folder

Hi, I would be grateful if you could help me write javascript script that watch specific folder for new files and add them to photoshop. Thank You,Ivan

View Article

Re: Did CC 2014.2 break textItem.size?

I found the/a problem. When you create a new text layer, the size is getting stuck at 12 pixels. And there is no way using the DOM to change that. Run it in the debugger with a breakpoint and try to...

View Article

Re: Re: Did CC 2014.2 break textItem.size?

OK Using  ActionManager code can work around the problem. Below I have an object called PSCCFontSizeFix with a single method setFontSize that takes a layer and the font size in points. This needs to be...

View Article


Re: Watch folder

What is "add them to photoshop" even supposed to mean?  Check out these threads: Photoshop hotfolder to run action pcps-scripts.com • View topic - Folder Action Script Mac Tip

View Article

Re: Watch folder

Sorry, I meant open them in photoshop.I have seen that script and the problem is that it goes through Bridge. I would like to to work directly in Photoshop so I can use multiple folders to watch.Like...

View Article


Re: Watch folder

My 'sistem' is now working like this:Directory Monitor free software watch folder for change, when file(photo) is added to folder Direct Monitor open it in Photoshop.On file open Script Events Manager...

View Article

Image may be NSFW.
Clik here to view.

Re: Return to Previous Tool

I guess can store that information in the meantime (txt-file, custom namespace, …) and have the second Script evaluate that and then perform the corresponding operation. Maybe you could just use one...

View Article


Re: Layer Comps To Files - Export error: Could not complete this operation....

I had the SAME issue. The reason is SIMPLE, don't know why this has to be like this and its NOT showing on Lynda's tutorials. Open - Photoshop (make sure you are working the original file with all the...

View Article

Re: Re: Return to Previous Tool

I was thinking that when the alert shows up indicating the current tool (brush tool for example), that I would need to immediately store that as a variable, so something like (var toolnow =...

View Article

Re: Return to Previous Tool

I had trouble with your script using CC 2014..   I could not figure out. However it has to do with "currentTool"  as the function name string.  The script worked when I change the function name.  Its...

View Article
Browsing all 27456 articles
Browse latest View live