New answers tagged

1

I'm not used to scripting with Photoshop so I'm not sure if there is a way to get PathPointInfo to work in pixels—seems there should be—but I can't find it. One solution is to just change the document resolution to 72PPI. You can save the initial resolution at the beginning of the script, change to 72PPI then change back to the initial resolution once you ...


0

The stop command actually works exactly as you want it to, the only part that doesn't is the actions function key. Assigning a function key to an action plays that action from it's beginning. If you hit the 'play' button on the action panel instead, it would work as you expect. As a workaround you can assign a shortcut key to the Action → Play command. The ...


0

This is usual behaviour for Photoshop. The file has layers and therefor can't be saved as a JPG, you are actually saving a flattened copy of your PSD (notice 'Save: As as Copy' is selected and greyed out). If you flatten the image first you should be able to save the file as a JPG without creating a copy. I'm not sure what your workflow is in this instance ...


0

Thanks to SuperMerlin over at the adobe forums, he has given me the answer. (function (){ var startRulerUnits = app.preferences.rulerUnits; app.preferences.rulerUnits = Units.PIXELS; var bounds = activeDocument.activeLayer.bounds; var width = bounds[2].value - bounds[0].value; if(width > 550){ var newSize = (100 / ...



Top 50 recent answers are included