Skip to main content
February 19, 2011
Question

Tile vertically but a bit different

  • February 19, 2011
  • 2 replies
  • 2672 views

I run an action which zooms out two times then goes to a previous document, ror 4 documents the last step is a Insert Menu Item (Tile Vertically) and what I get is this:

http://www.pixentral.com/show.php?picture=1HkD8HTcb54umwVOUCLoUpWC4hVY1

but I would like to have it like this:

http://www.pixentral.com/show.php?picture=1STF2vUiQX4zIhrZ4glWEjPRe0LxG

This was done by manually dragging the borders inwards and up and down.

My question is: Can this be automated?

This topic has been closed for replies.

2 replies

Inspiring
February 20, 2011

I think the best you will be able to do with actions or scripts is to make sure 'Zoom Resizes Windows' is checked in preferences. At the end of you current action add a zoom out then zoom in step. Select the next doc( ctrl-tab) and repeat the zoom steps. Repeat next and zoom twice more. Now your four documents will be in windows without extra space. But they will be aligned to the left instead of centered as they where.

As far as I know the only way have full control over where the image are on the screen is to use Mark's suggestion and combine them in one document where you can contorl the placement in the document then show that doc full screen.

Known Participant
February 20, 2011

I have the action now running very well. Two Zoom outs-Previous Document again Zoom outs finally tile and then again Zoom out then Zoom In.

Works fine sofar even when mixed with documents in portrait and Landscape mode.

The reason I am doing all this is to give the customer a choice and hopefully to upsell and sell two or more prints.

Will give it a try with Mark's Suggestion.

Thanks for your help.

JJMack
Community Expert
Community Expert
February 20, 2011

You should put this in the Photoshop Windows or Mac  forum where actions are discussed.  Did you set your CS3 General Preference to zoom changes windows size? That may get you what you want... However when you upgrade from CS3 you'll find that Adob changed Photoshop User interface remove at least one view user interface and added tabed editing which changes the whole tile aranging feature in a way you can not do what you want.

JJMack
February 20, 2011

Thanks for answering. Yes I have the preferences set to Zoom Resizes Window. I guess that you are right in that it can not be done since I also tried it on another machine with CS4.

I am very good with writing actions but was thinking that a script could do it. As I sayd it tiles the only problem it shows that gray area around the document.

Muppet_Mark-QAl63s
Inspiring
February 20, 2011

Just a suggestion… Why not create a new temp doc (black bg)… Tile all 4 images in that then view full screen… No frames at all much nicer…

And just for fun an open documents viewer…

#target photoshop function softProofDocs(delay) {           if (app.documents.length == 0) {                     alert('NO document open?');           return;      } else {                     app.bringToFront();                     var allDocs = app.documents;                     var docRef = app.activeDocument;                     screenMode('FullScreen');                     // Can't run menu item here (No menu)…                     if (isMac()) {                          app.system("osascript -e 'tell application \"System Events\" to keystroke \"0\" using command down'");                          }                               $.sleep(delay);                               for (var i = 0; i < allDocs.length; i++) {                               if (allDocs != docRef) {                                    app.activeDocument = allDocs;                                         // Ditto here…                                         if (isMac()) {                                              app.system("osascript -e 'tell application \"System Events\" to keystroke \"0\" using command down'");                                              }                                         $.sleep(delay);                                    }                          }                screenMode('Standard');                     app.activeDocument = docRef;                }      } softProofDocs(3000); // In milliseconds function screenMode(viewMode) {      var desc = new ActionDescriptor();      var ref = new ActionReference();           var menuID = stringIDToTypeID( 'screenMode' + viewMode );           ref.putEnumerated(charIDToTypeID( 'Mn  ' ), charIDToTypeID( 'MnIt' ), menuID);           desc.putReference(charIDToTypeID( 'null' ), ref) ;      executeAction(charIDToTypeID( 'slct' ), desc, DialogModes.NO); } function isMac() {   return /Macintosh/i.test($.os); }

Doing it this way looks nicer on the mac (sizing after fullscreen) I suppose for windows you could alter the sizes first then fullscreen loop…