Photoshop CC 2018 - extended script - View mode issue
Dear Photoshop forum, I’m noticing an issue with Photoshop CC 2018 and the extended script “.jsx” file I developed for Photoshop CC 2017. My script works perfectly in Photoshop CC 2017 and both it's...
View Articlecreate selection with color sampler
Hello everybody I would like to create a selection using the selected points of the color samplerI tried ScriptingListenerJS but I could not I know I could use the color rangebut I would like to do it...
View ArticleColouring buttons
Via a button I n a dialog box, I invoke the colorPicker. I want to have the button background recoloured to match the selected colour (a la the foreground/background colours tool icon in PS). Over on...
View Articlemultiple fonts in a textItem using jsx
Hi, I am saving currentLayer.textItem.contents to a text file. That part is working. But I would also like to save attributes about the textItem, specifically the fonts being used and style attributes...
View ArticleDebounce w/o setTimeout()?
Hi,I'm looking for a way to implement a Debounce function (see here), like this one: // Returns a function, that, as long as it continues to be invoked, will not // be triggered. The function will be...
View Articlescale layer to current canvas size photoshop
I've been googling, and reading, but I have not been able to find an action, or method to select a layer, and have it scale to the canvas size? This seems to be something that should be built in?...
View ArticleWatermark Script
Hi! I am in Photoshop now and would like to make an script for placing watermarks so that they take up 10% of the width of the image and are placed so that they are 3% in from the left and 3% from the...
View ArticleFor animated gifs: gifsicle sets Photoshops SaveForWeb parameter "lossy" to...
To batch save animated gifs I am using the great script written by SuperMerlin . Here it is: #target photoshop; try{ var Path= activeDocument.path; }catch(e){var Path = "~/desktop";} var Name =...
View ArticleDid 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 ArticleLoad different image after 3 seconds on a palette
Hello everyone, a good week for everyone! Is there any way to load a sequence of 4 images.png "one at a time" every 3 seconds in the same coordinate in a palette. Each image would have 3 seconds of...
View Articleconverting actions into script
Hello Guys, Might be a quick answer for you or maybe not.I have never scripted anything in my life (except a few macro files in excel) and I am green to this. Simple question - I have a few "actions"...
View ArticleClosing a document within Javascript.
I'm new here and new to javascripting in photoshop (though not new to javascript).I've been trying to figure out how to do the equivalent of either the "File>Close" or the "File>Close All" menu...
View Article$.getenv('Path')
$.getenv('Path') - when you launch Photoshop and and run a script with above code or target Photoshop from Extendscript the first path from all displayed will be to Photoshop - when you launch Bridge...
View ArticleIs there any way to get interpolation type in Photoshop animation using JSX...
I want to get the interpolation type of an animation using JSX script.Is it possible?If yes, How do we do it?
View ArticleRunning multiples scripts as sequence
Hi, I'm using 4 scripts to manage all my website dev, to exports images, slice, etc.. It's an amazing way to work with scripting, god I love it ! I wonder if I can link all my script together so I...
View ArticleImage Processor Pro not available in Bridge CC 2018
After updating to Photoshop CC 2018 and Bridge CC 2018 the Image Processor Pro (IPP) does not display under the Bridge > Tools > Photoshop menu.The IPP dependencies were copied from the Photoshop...
View ArticleHelp With Ps Script: Copy Group to a New PSD
Hi, I'm trying to create a script that does the following: Checks for any open PSDs; if so, creates a new document named "Clipped Group."Iterates through all open PSDs.Checks for a group located at...
View Articlebatch odd dimension images to square
Hi I have lots of images that are all different sizes and more coming. I need to create an action that makes these images square in px dimensions, with the new side dim. the dim. of the longest side. I...
View ArticleGet histogram of current layer (not the whole's document) by javascript, CC 2017
After searching for a few hours I am trying to get help here.I can see it manually in Histogram panel and selecting "Selected layer" (I translated this name from my polish Photoshop so english may...
View ArticleHow to script photoshop using C# .net 3.5
According to this: http://www.pcpix.com/Photoshop/ And this: http://lonerobot.net/?p=374 Script photoshop from .net code is an option. But, in .net 3.5 I can't find any COM assembly with the name:...
View Article