Tag Info

Hot answers tagged

4

There's quite a lot you can do with custom scripting. There's a lot to learn and it's got kind of a steep learning curve at first because they have a lot of their own stuff, but it's pretty powerful and flexible. Adobe's scripts are commonly written in Javascript but can also be written with ActionScript or VB. Here's a list of resources to get you ...


3

Found instructions for exporting just the actions you need. View your actions by going to Window > Actions. If your actions aren't contained in a set, create one by clicking the folder icon at the bottom of the action widget. Drag the actions you need into the new set. Make sure you have the action set selected. From the menu in the Actions widget () ...


2

Check out File > Scripts > Layer Comps to Files. You can export batches of files based on layer comps that way. Layer comps need to be set up first though, but if you are repeating yourself over and over, it is the lesser of 2 evils. If you need more control or a better automated script, you will need to write a custom script to give you that ...


2

I had no idea you could script with JavaScript in Photoshop prior to reading @horatio's answer, so I gave it a go. If you're new to scripting (first do some tutorials, then) I recommend stealing as much as you can from one of the scripts that ships with Photoshop, I made use of Layer Comps To Files.jsx (CS6) so I didn't have to look up how to save files ...


2

Photoshop Supports the EXIF Orientation Value and the Windows Photo Viewer does not! You can ignore the EXIF Profile Tag in Photoshop Preferences - File Handling More info: Beware of Rotating Photos in Windows Picture / Photo Viewer! Another surprising detail is that if you decide to perform lossless image rotation (by using the Rotate Clockwise or ...


2

Photoshop has 'Dynamic Shortcuts' for the Character Panel accessible by selecting text and reopening the Character Panel menu to see the hotkeys. This provides hotkeys like Underline (Shift+Ctrl / CMD+U), however there isn't one for 'No Break'. Here is a work around instead. Create an action called 'Apply No Break' and create a keyboard shortcut for it. ...


2

Eureka! This script will use active document's width and height as the file name and open the save dialog box with the file name preset for you. Choose a folder and save. var saveOptions = new JPEGSaveOptions( ); saveOptions.embedColorProfile = true; saveOptions.formatOptions = FormatOptions.STANDARDBASELINE; saveOptions.matte = MatteType.NONE; ...


2

You should try this script that user Johannes graciously shared: http://graphicdesign.stackexchange.com/a/1962/24301 It's basically an improved version of the built-in PS "Export Layers to Files" script that allows (among other things) for saving the layers by their layer name. This will export all layers in your file as they are positioned keeping their ...


2

The script does work if you mess around with it a bit. And yes, joojaa is correct, it is a JSX. Line 2 needs to be changed to an actual destination using slashes instead of backslashes, plus a semicolon at the end. I.e., var destination = "C:/Users/USERNAME/FOLDER/"; You could also alter line 9 to options.quality = 100; if you aren't actually saving ...


1

The reasoning behind this is that the background layer is a special layer that must be the size of the canvas (i.e. the pixel dimensions). Other layers can have pixel extents that are larger than the defined canvas size. I believe that Adobe calls this "big data." Since you are opting to not delete pixels when cropping, then the background layer needs to ...


1

First off an SVG is a scalable vector graphic. If you have a Photoshop layer that uses vector shapes you can use: File > Export > "Paths to Illustrator" this will save your vector paths as an .AI - THEN, you can export from Illustrator to an svg. Ideally in the future if you're going to create vector graphics you should start in Illustrator.


1

Answering my own question - I found a script that resizes objects to fit the artboard size. It copies them and moves them to 0,0 coordinates by the way. Here's the script: Adobe Illustrator script to resize objects proportionally to fit inside the artboard.


1

From the docs: Adobe provides the ScriptUI component, which works with the ExtendScript JavaScript interpreter to provide JavaScript scripts with the ability to create and interact with user interface elements. See: http://www.adobe.com/devnet/photoshop/scripting.html for further info


1

You can probably use the export script to do what you want, but from your use-case I would judge that mass-renaming is better suited for you. Because renaming, even complex exchange of words, can be automated, for example with app like NameChanger. Examples from the website: Replace First Occurrence Replace Last Occurrence Replace All ...


1

Just make a batch action from a default PS script that deletes all the empty layers. The script can be accessed here: File › Scripts › Delete all empty layers


1

It looks like I can use prompt to get a value: var value = prompt("Type in the name of the file", "filename.png"); If we run the code in Photoshop, http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/photoshop/pdfs/cs6/Photoshop-CS6-JavaScript-Ref.pdf


1

Next time you could set up a grid and let the artboard and all objects snap to it. To use the grid, choose View > Show Grid. To hide the grid, choose View > Hide Grid. To snap objects to gridlines, choose View > Snap To Grid, (Note: When the View > Pixel Preview option is selected, Snap To Grid changes to Snap To Pixel.) To specify the ...


1

I try to wrap my head around the thought processes where someone builds 150 Photoshop files that are destined for print production. If it's a book, manual, catalog, or something similar you sort of created way more work for yourself by not using proper tools from the start. But then again, maybe there's some reason, I'm not considering, in which you had to ...


1

Writing a plugin sounds like a cool project, but before you do that, know that there is the HUD colour picker. You can assign it's keyboard shortcut to a single key on your Wacom. For brush size and hardness you are already aware that you can hold alt and drag left/right for one and up/down for the other. Assign that to a Wacom key too. For opacity, well, ...


1

The javascript command to hide/show a layer is: activeDocument.artLayers[i].visible = true; The rest is academic: set up an array (or just use your combinatorial algorithm), iterate, toggle visibility, "save as copy".



Only top voted, non community-wiki answers of a minimum length are eligible