I have a script for photoshop which outputs the name of a text layer and layer content into Excel CSV file. It works fine if the text is english but if the text is Arabic/Thai it was displayed like this "??????". How can I display these texts...
So, I'm trying to think of the best way to solve a problem I have.  The problem is that I produce many websites for my job and as CSS3 and HTML5 introduce themselves powerful I want to eliminate almost all images from my websites. For button icon...
I want to save my image as a transparent PNG and wrote a script which suddenly stopped working. I get this error message:   docExportOptions = new ExportOptionsSaveForWeb   docExportOptions.format = SaveDocumentType.PNG //-24 //JPEG, COMPUSERVEGIF, P...
I've been googling all day to find a way to align a layer which is converted to Smart Object center to the canvas proceeded by scripting, but haven't found a solution so far. I ended up with the code below, but it doesn't do the job. Coul...
I'm having intermittent success with trying to create a dialogue box. The code is valid.  try {     // Create an empty dialog window near the upper left of the screen     var dlg = new Window("dialog", "Alert Box Builder");     dl...
I have an active ArtLayer referenced by the variable NewLayer that I want to move to the absolute position x,y in the canvas.  I have been googling for a couple of hours now without any results. Can some one please give an example?  // Thanks....
In JavaScript I can adjust the image's color balance with a function like  colorBalanceLayer(-50,0,0)  function colourBalanceLayer(cya, mag, yel) {   // cyan, magenta, yellow values are between -100 & +100     var id713 = charIDToTypeID( "...
It appears that in order to resize the layer it has to be selected(from UI perspective) and active from API perspective. Otherwise I get error on any function call that this function is not supported.  So before resizing I do  var a = doc.artLayers.g...
I'm trying to figure out if it is something wrong with me or the CS5 JavaScript engine. My Photoshop document have one layer called "A" and a Layer Group called "Group 1".  Consider this example:  var Mess = ""; var Layers...
Is there a way to hide all prompts and warnings in Photoshop, when running a javascript?  Apparently, this can be done with applescript, but is there a solution for javascript?  Applescript code:  tell application "Adobe Photoshop CS5" set di...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.