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( "...
I'm trying to open a PDF file as a smart object layer in Photoshop (CS5). Croped to the trimbox.  It works when using openDialog() and open().  But in case the property asSmartObject is true the PDFOpenOptions.cropPage = CropToType.TRIMBOX will b...
The bounty expires in 4 days. Answers to this question are eligib...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.