Tag Info

Hot answers tagged

3

In Photoshop go to File → Automate → Batch and you can select the action to use and the file naming of the output files


3

Keyboard shortcuts are your friend. http://www.shortcutworld.com/en/mac/Photoshop_CS5.html Remember, if you're on a PC, basically any command button in a short cut will be your Ctrl button. I have a very similar job editing photos for an ecommerce company, and shortcuts cut down the amount of time the job would've taken exponentially. Here's how I'd ...


3

As I mentioned in the comments, you should give some more clarity in your question to get a truly tailored answer. But, from what you stated above, I can help you break down your seemingly 6 steps into 3: 1) Copy a layer/layers 2) Make a new Document 3) place/drag them into the new document Step 1: Duplicate Do you know about the Duplicate ...


3

Although it's not automatic (you need to adjust it manually for each text), you can use Baseline Shift to 'imitate' a vertical centering:


2

This should be a lot faster. Instead of copy and pasting into a new file hundreds of times, it does this: Makes the Background into a Layer. Reduces the Canvas size down to the cell size. Slides the Layer around 'under' the Canvas to the correct location. Does a "Save For Web" essentially the same as your script. Go to 3 and repeat, then stop when it runs ...


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

As long as the clipped art is vector (as opposed to a raster image), you could use Object > Expand appearance on it to actually delete the parts that are clipped away. Thus, the script will no longer see the original art and work properly.


2

For positioning text you don't need a bounding box. I never use bounding boxes for text in PS. I click the text tool without dragging and set the text cursor without a box. Once the text is entered, I can center it vertically or horizontally just like any other shape using the align buttons--assuming I have something to align it to. I do the same ...


2

I would recommend Imagemagick as the appropriate tool here. It has a high learning curve, but is much faster than Photoshop for this sort of batch processing.. The following command should work: convert inputFolder/* +append output.png where inputFolder is a folder containing only the images you're interested in. They should be named in sequence (001, 002, ...


2

I know this is an old question, but for people just finding this question, you can automate this without saving separate files for each layer. Select all layers except the background Ctrl + Alt + A (Win) Cmd + Opt + A (Mac) Layer → Rasterize → Layer Style This rasterizes layer styles, vector layers, smart objects, etc. It works for CC and at least as far ...


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

A quick and dirty way is to run this script on the document: for (var i = app.activeDocument.layerSets.length - 1; i >= 0; i--) { app.activeDocument.layerSets[i].merge(); }; ...and then use the export_layers_to_files.jsx script you already talked about. This will take the top most Layer Groups, and merge them into a Layer named whatever the group ...


2

I am not sure if I understood what you are trying to do. How I don't have enough reputation to comment, I will write this step-by-step answer. Have you tried using an action to do the work? Open any image on photoshop, then create a new action. All you have to do is open the window Actions (option + F9), and click the blank paper icon to create a new ...


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 ...


1

The easiest method is to place all the individual images into a folder on your desktop then use File > Automate > Contact Sheet II... within Photoshop to select the folder of images and have them arranged into a grid for a single document. I believe the Contact Sheet script may be part of Adobe Bridge for CS6. If you already have everything loaded ...


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".


1

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 () ...


1

If you're using CS6 (cloud version) or CC, the Layers panel allows you to filter the visibility of layers by name. At the moment, filtering isn't something you can record in an action, although it's probably been added to what's scriptable (I've not checked). It does, however, make selective hide/unhide very quick and easy. Change the filter from Kind to ...


1

I don't think it can be done with actions, and I'm not aware of a plug-in that would do what you want, but you should be able accomplish that with scripting. It would help if you knew some javascript. You can find more information here: http://www.adobe.com/devnet/photoshop/scripting.html


1

I don't believe so. Scripting tells the application to do something, and does not control events outside the application environment (such as database input). What you are seeking is something like a key logger or screen recorder. Photoshop does offer a history log in its preferences. It will spit out things like this, which still isn't what you are ...


1

I'd love to be proven wrong on this, but you can't vertically center text in Photoshop automatically. Just like you can't do it in Illustrator. You're stuck with manually adjusting the baseline shift. Here is the inevitable... but you can do this is InDesign. Yes, and it's awesome. But PS and AI are stuck without it. :( EDIT: Dang! I thought ...


1

Here's a script I wrote that might work. I've not tested it yet however. centerTextVertically( app.activeDocument.artLayers.getByName( 'Text-Layer-Name' ) ); /** * @param {ArtLayer} textLayer The text layer to apply the vertical centering. */ function centerTextVertically( textLayer ) { if ( textLayer.kind !== LayerKind.TEXT ) { return; // ...


1

To grab the bounding box of the currently selected paragraph text layer: var t = activeDocument.activeLayer.textItem; alert(t.width + ", " + t.height); This is documented in the JavaScript Scripting Reference (TextItem properties are listed starting on page 179)


1

Since I don't have a working copy of your script this is a little difficult for me, but I wrote a script before and here's a function that goes throw and hides all layers: function hideLayers(ref) { var len = ref.layers.length; for (var i = 0; i < len; i++) { var layer = ref.layers[i]; if (layer.typename == 'LayerSet') ...


1

There are lots of reasons a script may stop prematurely. Often times it depends on the document. In this case, it could be a bad character in a layer name. Try killing layer 14 and see what happens. To debug, run your script from Adobe's ExtendScript Tool Kit. You can just let it get stuck or you can set specific breaks to inspect particular points in the ...



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