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 ArticleCombine 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 ArticleEasiest 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 Articlewindows 10 login time
Hi, does anyone know how to get windows 10 login time in jsx script?
View ArticlePlacing 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 ArticleInvoke function through Key Press Event
In Photoshop, it is possible to assign up to about 44 actions and 34 scripts to shortcuts. Once they have shortcuts, they can be acessed through AutoHotkey easily, but those without shortcuts cannot....
View ArticleAuto-saving works on Windows but not on a Mac
I followed the code provided in this thread (Saving without dialog window) to overwrite/save image as PNG without the 'Save as..' dialog. It works fine on my Windows PC. But I passed the script file to...
View ArticleHow to delete an XML element?
Hello, A XML newbie question... Following the example here : https://estk.aenhancers.com/9%20-%20Integrating%20XML%20into%20JavaScript/the-xml-object.h tml#accessing-xml-elements <bookstore>...
View Articlebatch 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 ArticleClean SL error
Window 10 ProPhotoshop CC 2019 First time using Clean SL (Bitbucket)When I click into File > Scripts > Clean SL, I get the following message: Error 48: File or folder does not exit.Line: 52->...
View ArticleImage clearcutting - using Javascript to analyse selected pixels for white...
Is there any way with Javascript to analyse a selected area of a layer and determine what percentage of the pixels are white? I regularly have to take large batches of product images from different...
View ArticleException 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 ArticleInvoke function through Key Press Event
In Photoshop, it is possible to assign up to about 44 actions and 34 scripts to shortcuts. Once they have shortcuts, they can be acessed through AutoHotkey easily, but those without shortcuts cannot....
View ArticleonUninstall event?
Hi everybody.I checked the docs but couldn't find anything. Are there any events on:- when user uninstalls my panel from Adobe Photoshop? - when user uninstalls Adobe Photoshop? Thanks
View ArticleClean SL error
Window 10 ProPhotoshop CC 2019 First time using Clean SL (Bitbucket)When I click into File > Scripts > Clean SL, I get the following message: Error 48: File or folder does not exit.Line: 52->...
View ArticleBasic 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 Articlebasic 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 ArticletextItem.justification cannot be accessed for all text layers
I am trying to access the justification and kind of all text layers using below sample script in Photoshop CC 2019. doc = app.activeDocument.duplicate(); for(var i = 0; i < doc.layers.length;...
View ArticleSyntax error: unterminated string constant
hi , When I receive XMPMetadataAsUTF8 value with an object,Syntax error: unterminated string constant,as follow eval("ret." + name +"='"+val+"'"); There is something wrong with this sentence,How...
View ArticleHow to get the correct width and size of a image that is on a layer
Hi! I'm trying to make a script that needs the original size of an image that's on a layer.For example, I've a smart object as a layer and I need the bounds of it.I've tryed to get the image bounds,...
View Article