Quantcast
Channel: Adobe Community : Unanswered Discussions - Photoshop Scripting

Image may be NSFW.
Clik here to view.

About the Adobe Extendscript Toolkit startup photoshop

Hello, everybody!     i knew that  throughing the Adobe Extendscript Toolkit to startup photoshop,if not,What does it have to do with Photoshop,i was wondering It depends on which component of PS?...

View Article


Json Scripting for Photoshop Color books

Not sure where to post this. Trying to create custom color libraries for photoshop using ase. values for a custom foil library in Photoshop CC 2018.I found a json and plug in to created color books by...

View Article


Image may be NSFW.
Clik here to view.

Calling a vbscript from a jscript and returning a value

Hi, i've been a longtime lurker here and thank you guys so much for everything so far! I have very limited JS knowledge and no VBS knowledge at all. Anyways here's my problem: I have already written a...

View Article

Image may be NSFW.
Clik here to view.

• Convert to sRGB profile all the smart objects embed into a PSD file, possible?

Hello - We recently received an huge file from another company.We have to apply some "free transform" on some "smart objects".These smart objects don't have any profile.The problem is that when we...

View Article

Save as PSB in Background

Hi, I'm using the savePSB() function that SuperMerlin posted in the thread .PSB file type, 'save as' cannot be done in Photoshop script? which works fine for me but I was wondering if it'd be possible...

View Article


Image may be NSFW.
Clik here to view.

Image cropping and saving actionscript help.

I have as that I want to save individual sections of each image in a numerical format...For example:Image = 256 x 2048 (4 sections of 256x512 to be saved individually) End result should be 4 .tga files...

View Article

Image may be NSFW.
Clik here to view.

Saving Problem in Photoshop.

I have been trying to generate mockup for mobile back case.I am trying to this using action.Action Steps are(Currently)I have opened template/mock for particular phone model lets say iPhone 6.1. Select...

View Article

Image may be NSFW.
Clik here to view.

recommended obfuscator for jsx & js code

Hi,Is there a recommended obfuscator for jsx & js code. (free perhaps?)Is there a good plugin for visula studio? Dan

View Article


Image may be NSFW.
Clik here to view.

ESTK -Application missing from target list

hi  friends,      my ExtendScript Toolkit can't target to any PS ,I knew that reinstall photoshop can restore it,I don't want to do that,so how to Fix the link?i thank the part of the registry may be...

View Article


Image may be NSFW.
Clik here to view.

Code javascript check licence extensions

Hello friends!!!I can write an extension, I want to share the extension, it must have a new keycode to useCurrently I don't know how to do it, please give me the sample code so I can develop for my...

View Article

Image may be NSFW.
Clik here to view.

User TEMP folder. Mac & PC

Hi,In my script i write some data to:File($.getenv("TEMP")This is working for PC.Is this the correct variable for user tempo dir on MAC?  Dan

View Article

Looking for a starting path to create C++ Photoshop plugins

Hi guys! I want to go further than Javascript because I want speed and I've been looking all over the internet and I can't find any how to's to get started on C++ plugins for Photoshop, some kind of...

View Article

Quick Export then Close Doc Script help

Hey guys, fist time posting  - i got a script that opens a doc full of artboard it then updates the smart object on the artboards then exports all the artboard to a folderi then need it to close the...

View Article


Image may be NSFW.
Clik here to view.

How can I get layers data in realation to their group name?

Hello everyone!!! I am making a Photoshop script which gets every layer with Bevel and Emboss effect and then doing some actions. I have make this function so to get layers data... function...

View Article

Save to PNG options

Hi there, Can anyone help with the script options to save PNG file? Basically I tired to replace a JPG save options to PNG save options but all I've got as a result is a blank PNG file and no image: //...

View Article


Image may be NSFW.
Clik here to view.

Command "Delete" is not currently available

Hi,I'm trying to figure out why i suddenly get this error when i run my script.I verify, in VSCode thatactiveDocument.layers.getByName("split_2") [ArtLayer split_2]But when i try to remove...

View Article

Image may be NSFW.
Clik here to view.

SerialNumber

`app.systemInformation` returns lots of Adobe Photoshop properties.One of them is SerialNumber. I checked, and for multiple copies of Photoshop on the same Adobe CC account Serial Number looks to be...

View Article


Image may be NSFW.
Clik here to view.

Specific Color Replacement Script

I need to replace a specific RGB value with another specific RGB value multiple times in Photoshop. I know this can be accomplished with an action but due to the volume of color adjustments (1000+), I...

View Article

Simulate line drawing without releasing left mouse button

Hello. I'm attending a course in perspective and we use Photoshop as our digital tool. I know how to create my vanishing points, but it's very tedious to always have to draw a line from them, to...

View Article

Image may be NSFW.
Clik here to view.

Not all actions generated by (scriptlistener plug-in) are work for Adobe 2019

Hi, I try to execute some actions, but an ERRORgenerated, indicate that the function am trying to use, is no longer available on the latest version of adobe Photoshop 2019!, "This functionality may not...

View Article

Image may be NSFW.
Clik here to view.

No saved jpgs

Hello, I am trying a script on Photoshop which does "something" but no saved jpgs after the action: // select folder of mock-ups, if they contain exactly one smart object replace its content with...

View Article


Image may be NSFW.
Clik here to view.

Is there any way to not display the prompt or dialog in code?

When the picture has no subject, it will be prompted.I don't want to display it, because i want to run in silent mode.I try to use "app.displayDialogs = DialogModes.NO;",but it didn't work,the code is...

View Article


Image may be NSFW.
Clik here to view.

Adobe 2019 not all executeAction(s) are work

Hi, I try to execute some actions, but an ERRORgenerated, indicate that the function am trying to use, is no longer available on the latest version of adobe Photoshop 2019!, "This functionality may not...

View Article

Image may be NSFW.
Clik here to view.

Losing focus on created UI new Window

Hi,In my script I use two dialog windows and both of them are worked fine but when I hide the first dialog and show the next one, I lose the focus on the last one; so I have to click on it to bring it...

View Article

Image may be NSFW.
Clik here to view.

Export different groups to PNG files

Hi all, I have this folder structure in Photoshop:Each group is a social media platform, within each of this groups I have other groups with the name of the resolution.In each of these resolution...

View Article


Image may be NSFW.
Clik here to view.

If the document exists reopen window

I have created this small dialog box which inserts a new name in the document and saves the jpg filesunfortunately if the file exists it is overwritten(this is not good for me) I would like if possible...

View Article

Change color of some parts of the text in text layer with Photoshop script.

Hello everyone.I have some problem with my script.I want to change color of some text in text layer.for example:     I am going to Adobehere I want to change color of "Adobe" to red or anyone I...

View Article

Why does readFile on a PNG larger than 64kb fail?

The problem:When I use either the CEP readfile or the NodeJS readstream functions to read a large (above 64kb) PNG file from the local file system, both methods return no data as if the file contained...

View Article

To get the original layer which was duplicated in Photoshop.

Whenever a layer gets duplicated to make a new layer in Photoshop, is it possible to get the reference or ID of the original layer ?

View Article



Image may be NSFW.
Clik here to view.

How to import excel file in Photoshop script

Hello every one now I should import excel file in photoshop scriptand then insert the text of excel to text layer.I have already find the way to import csv file but can't import excel fileif anyone...

View Article

Layer Comps to Files - Changing Prefix to File Name

I'm looking for a way to modify the Layer Comps to Files script (or a new separate script) so that it uses the file name as the Prefix. I think I have a workaround which involves creating a layer named...

View Article

Image may be NSFW.
Clik here to view.

Scripted bulk crop based in content?

Hey So I know little about code or Photoshop but until now I have been hand cropping a variety of images to a given size for my website. Now I am scaling and this process takes to long. So I found a...

View Article

Image may be NSFW.
Clik here to view.

Query layer Contrast brightness value

HI:   I want to read the value of the contrast and brightness of the adjustment layer! var ref = new ActionReference();  ref.putEnumerated(charIDToTypeID("Lyr "), charIDToTypeID("Ordn"),...

View Article


Automatization Scripting Issue

Hi, We created a small script for automatize our mock up.Unfortunatly we have some issues :/Some results are not correct. We do not understand what is this issue because if we run the sript several...

View Article

Merge to HDR Pro from Bridge not working

I'm using Photoshop CC 2019 and Bridge CC 2019 on a mac running Mojave. None of the Photoshop scripts under Tools>Photoshop are working, The message is that "Merge to HRD Pro.jsx cannot be found. A...

View Article

Merging transparent image and backgrounds in batch

I'm amazed at the talent in this forum. Hope someone can help me out I have one folder with thousands of transparent png files. I have a second folder with hundreds of background images. I'm looking...

View Article


Image may be NSFW.
Clik here to view.

PS 20.0.6 - Javascript - Render to Video not working

Hi Guys I've looked at the scripting refs here:Adobe Photoshop Scripting ..but that doesnt show any export functions for "render video". Closest thing is export ot web or export path to illustrator....

View Article


Image may be NSFW.
Clik here to view.

Unique layer identifier when using app.activeDocument.layers

Hi,Is there a unique layer identifier when referring to a layer.layer number changes as you add layers, layer name may be the same for several layers. Is there a unique identifier for a layer,...

View Article

Photoshop ScriptUI Sprites: -36 Not implemented error

Hi!I'm trying to find a workaround for Error Code# -36: Not implemented with Photoshop CC2018/CC2019 (Visual Studio Code + ExtendScript extension) This script was provided to me my Davide Barranca...

View Article

Filename of a (linked) smart object.

Hello, I need to script (AS) getting the filename of a (linked) smart object in photoshop. Anyone please . Thanks! Jhon

View Article

Image may be NSFW.
Clik here to view.

vscode exportToJSX error 16

Hi,I've been using exportToJSX to convert jsx to jsxbin for some time and suddenly i started getting there errors when i try to export as binary:I uninstalled the extension from VS code and restarted...

View Article


Batch Replace Script for PS for Sports Memory Mate Help needed

HI, I really need some help with a script for Batch Replace for Sports memory mates,, I was wondering if someone might be able to help me. I know nothing about script writing, but we have a sports team...

View Article

basic function to resize active document

Hello community,  I’m new to scripting and I am looking for an example of a simple function to resize the active document. Can anyone point me in the right direction? Any suggestions are greatly...

View Article


Image may be NSFW.
Clik here to view.

Exception open(file);

Hello!I trying to process a lot of files by a script.Is there any way to add Exceprion to function?open(file); When photoshop find bad file - it fall down and stop processing. Is any way to skip bad...

View Article

Image may be NSFW.
Clik here to view.

batch place jpg in two smart objects and save jpg;

Hi, i have following script, but it works only with one smart object (the selected one). It opens the selected smart object, put the first image, resize it, saves, closes, and saves the main psd as...

View Article


Image may be NSFW.
Clik here to view.

Placing Image based off CSV inside a Smart Object

I have a script working that reads a CSV file and makes multiple variations for multiple people. Part of it though is placing an image (/xxx/filename-lastname.jpg) inside a smart object. I can not...

View Article

Image may be NSFW.
Clik here to view.

windows 10 login time

Hi, does anyone know how to get windows 10 login time in jsx script?

View Article

Image may be NSFW.
Clik here to view.

Easiest way to create a shadow inside a t-shirt neck

Hi everyone,  wondering what would be the easiest way to create a shadow inside a t-shirt. See the image bellow. Maybe possible to automate somehow using a script ? That would be a huge time saver for...

View Article

Combine two PSD files into one and keep the filename of the 1'st psd file

Me again.  I have 2 psd files named : test-me-1.psd and test-me-5.psd I want to combine them together and save it as the first original, so : test-me-1.psd Is this possible ? Thank you very much !...

View Article


Image may be NSFW.
Clik here to view.

Stop Slider Updating History

I have a slider which changes the current layer opacity when changed. Every time I change the slider, the History panel get updated with "master Opacity Changed" which is filling up the history log. Is...

View Article



Latest Images

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