• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
4

P: Actions do not work properly, while "Open Documents as Tabs" are not selected

LEGEND ,
May 09, 2012 May 09, 2012

Copy link to clipboard

Copied

Photoshop CS6: While the "Preferences" - "Interface" - "Open Documents as Tabs" are not selected, then some commands in the Actions do not work properly! For example: Copy and paste layer from another document (file) recorded as Action. Please help me! I cannot stand the tabbed interface! Used Adobe Photoshop Version: 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00) x64

Bug Fixed
TOPICS
Windows

Views

284

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Feb 03, 2015 Feb 03, 2015
This was fixed in Photoshop CS6 (13.0.1) or later

Votes

Translate

Translate
16 Comments
Adobe Employee ,
May 09, 2012 May 09, 2012

Copy link to clipboard

Copied

I'm able to setup an action to do the following:

My action steps:
Selects all
Copy Merged
Select Next Document
Paste

In my tests in both Win and Mac I'm able to perform this action successfully both with tabbed, and non-tabbed (floating) windows

Could you provide a screenshot of your action steps in the actions panel? or provide some other information that might be causing the issue?

Thanks

Votes

Translate

Translate

Report

Report
LEGEND ,
May 09, 2012 May 09, 2012

Copy link to clipboard

Copied

Dear Peter! I have uploaded ZIPped ATN-file to my web-server, you can get it here: http://www.lepyokhin.com/misc/testset... The file contains ATN-file and tested PSD file, that should be placed to the C:\ drive, at the root-folder. Then you can try the Action with "Open Documents as Tabs" toggled on and off. Hope this can help to understand the problem. With best regards, Sergei.

Votes

Translate

Translate

Report

Report
Adobe Employee ,
May 09, 2012 May 09, 2012

Copy link to clipboard

Copied

Hi Sergei,

Thanks for the downloadable action. That helped us see where the problem lies.
I've been able to reproduce the issue in CS6 in Windows (not on Mac), but not in CS5. Seems it's a new bug, I'll make sure it gets looked at.

It looks like the "Paste" command is happening too fast, and before the first image really comes to focus to be able to paste in.

As a workaround, here's what you can do.
Record these steps in your action AFTER the Close command.
Select the Close command, and click the "Record" button in Actions Panel.
Click the Panel Flyout and choose "Playback Options"
Click "Step by Step" and click OK
Then click Stop recording
THEN
Select the Paste step, click Record again
Click the Panel Flyout and choose "Playback Options"
Click Accelerated, then click OK.

This will cause Photoshop to slow down a bit between the close and paste command in order to wait for the image to become in focus.

Hope this helps!
Pete

Votes

Translate

Translate

Report

Report
Adobe Employee ,
May 09, 2012 May 09, 2012

Copy link to clipboard

Copied

Hi Sergei,

Another thing to try is moving your 'Make' step from the top down to be in-between the 'Close' and 'Paste' steps.

regards,
steve

Votes

Translate

Translate

Report

Report
LEGEND ,
May 10, 2012 May 10, 2012

Copy link to clipboard

Copied

Thank you, guys! But I have a lot of Actions that been created in the PS CS5.1, that do not work now. Hope this bug will be covered in a future updates. Best regards!

Votes

Translate

Translate

Report

Report
Explorer ,
May 19, 2012 May 19, 2012

Copy link to clipboard

Copied

I also have this issue - see http://forums.adobe.com/message/44215... for more details.

Dave

Votes

Translate

Translate

Report

Report
Community Expert ,
May 19, 2012 May 19, 2012

Copy link to clipboard

Copied

Scripts also fail the same way with Photoshop CS6 32bit floating windows script loses or doesn't set or build the current document object.
JJMack

Votes

Translate

Translate

Report

Report
Community Expert ,
May 30, 2012 May 30, 2012

Copy link to clipboard

Copied

Many Scripts and Actions fail when one edits in floating windows photoshop tries to execute some commands before the current document in ready to be worked on.. I would like to use CS6 that I paid for I hate Tabbed editing. CS6 Scripting also has a bug with User Interpolation preference setting when it the new default setting Bicubic Automatic this brakes some of my scripts.

I also paid for CS5 and Adobe deferred fixing the problem that effect many actions. This bug is also in CS6 and CS4. I spent an hour on the Phone with Adobe support before shelling out for CS6 the told me the bug was fixed in CS6.

So CS3 is the stable Photoshop I use. I would like to use ACR 7 but if I do the ACR 7 Smart Object layers will mot be compatible with CS3
JJMack

Votes

Translate

Translate

Report

Report
LEGEND ,
Jun 08, 2012 Jun 08, 2012

Copy link to clipboard

Copied

I'd like to bring to your attention a bug that occurs only in the Windows version of PS CS6:

A. DESCRIPTION:
When the "Open Documents as Tabs" option is unchecked under Preferences > Interface, the execution of certain actions gives errors.

More specifically: if an action opens a second document, copies the content into the clipboard, closes this document and pastes the content onto the first document, the action will halt ("The command paste is not be available").

B. STEPS TO REPRODUCE:
1. Go to the actions panel, hit the Record button to record a new action, and do these steps:
Ctrl-N
Ctrl-N
Ctrl-A
Ctrl-C
Close document without saving
Ctrl-V
Stop recording the action

2. Press Ctrl-K to open the preferences window and uncheck "Open Documents as Tabs" under the Interface tab.

3. Run the action and you will get an error.
Note that this problem doesn't occur on MacOS.
Here's an image that shows the expanded steps of such a basic action:



Thank you
Panos Efstathiadis
www.panosfx.com

Votes

Translate

Translate

Report

Report
Community Expert ,
Jun 08, 2012 Jun 08, 2012

Copy link to clipboard

Copied

Yes what is happening is the command executes before the switch completes so there is no active document ready to be worked on. Any command that requires an open document will fail.at that point.
JJMack

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Jun 08, 2012 Jun 08, 2012

Copy link to clipboard

Copied

Hi John,

I'm sorry you're having to use CS3. Can you point me to a sample script that shows the failure with CS4/5? That sounds different than what we're investigating here (since this the OP is CS6 specific).

Also, can you give more info on how the new Image Interpolation preference is braking your scripts?

regards,
steve

Votes

Translate

Translate

Report

Report
Community Expert ,
Jun 11, 2012 Jun 11, 2012

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community Expert ,
Jun 11, 2012 Jun 11, 2012

Copy link to clipboard

Copied

This script will fail CS6 32Bit preference set to use floating windows,

/* ==========================================================
// 2012 John J. McAssey (JJMack)
// ======================================================= */

// This script is supplied as is. It is provided as freeware.
// The author accepts no liability for any problems arising from its use.

/* Help

$$$/JavaScripts/PasteImageRoll/About=JJMack's PasteImageRoll^r^rCopyright 2012 Mouseprints.^r^rCreate a document for printing on roll paper^rcan also be used as a wall hanging when^rall selected images have the same orientation.^rImages will be rotated to match cell orientation
JJMack's Collage Script

*/

//Set Defaults here
var dfltRes = 300; // default print DPI
var dfltCpys = 1; // default image copies
var dfltPw = 16; // default roll paper width in inches
var dfltPl = ''; // default roll paper length in feet. if set to null script will use 100 ft.
var dfltCw = 4; // default cell width in inches best if it divides paper with evenly.
var dfltCh = 6; // default cell height in inches
//End Defaults

var startRulerUnits = app.preferences.rulerUnits;
app.preferences.rulerUnits = Units.PIXELS; // tell ps to work with pixels

try {
// begin dialog layout
var RollPaperDialog = new Window('dialog');
RollPaperDialog.text = 'Paste Image Roll';
RollPaperDialog.frameLocation = [70, 70];
RollPaperDialog.alignChildren = 'center';

RollPaperDialog.PrintResPnl = RollPaperDialog.add('panel', [2, 2, 200, 56], 'Print Resolution');
RollPaperDialog.PrintResPnl.add('statictext', [10, 16, 50, 48], 'DPI ');
RollPaperDialog.PrintResPnl.docResEdt = RollPaperDialog.PrintResPnl.add('edittext', [50, 13, 90, 34], dfltRes, {name:'prtRes'});
RollPaperDialog.PrintResPnl.docResEdt.helpTip = 'Image Resolution';
RollPaperDialog.PrintResPnl.add('statictext', [96, 16, 140, 48], 'Copies ');
RollPaperDialog.PrintResPnl.imgCpysEdt = RollPaperDialog.PrintResPnl.add('edittext', [140, 13, 175, 34], dfltCpys, {name:'imgCpys'});
RollPaperDialog.PrintResPnl.imgCpysEdt.helpTip = 'Number of copies of selected Images';

RollPaperDialog.PaperSizePnl = RollPaperDialog.add('panel', [2, 2, 200, 56], 'Roll Paper Size');
RollPaperDialog.PaperSizePnl.add('statictext', [10, 16, 50, 48], 'Width ');
RollPaperDialog.PaperSizePnl.aspectWidthEdt = RollPaperDialog.PaperSizePnl.add('edittext', [50, 13, 90, 34], dfltPw, {name:'pprWth'});
RollPaperDialog.PaperSizePnl.aspectWidthEdt.helpTip = 'Roll width in inches';
RollPaperDialog.PaperSizePnl.add('statictext', [96, 16, 140, 48], 'Length ');
RollPaperDialog.PaperSizePnl.aspectHeightEdt = RollPaperDialog.PaperSizePnl.add('edittext', [140, 13, 175, 34], dfltPl, {name:'pprLnth'});
RollPaperDialog.PaperSizePnl.aspectHeightEdt.helpTip = 'Remaing roll length in feet';

RollPaperDialog.CellSizePnl = RollPaperDialog.add('panel', [2, 2, 200, 56], 'Tile Cell Size');
RollPaperDialog.CellSizePnl.add('statictext', [10, 16, 50, 48], 'Width ');
RollPaperDialog.CellSizePnl.aspectWidthEdt = RollPaperDialog.CellSizePnl.add('edittext', [50, 13, 90, 34], dfltCw, {name:'cllWth'});
RollPaperDialog.CellSizePnl.aspectWidthEdt.helpTip = 'Width in inches';
RollPaperDialog.CellSizePnl.add('statictext', [96, 16, 140, 48], 'Height ');
RollPaperDialog.CellSizePnl.aspectHeightEdt = RollPaperDialog.CellSizePnl.add('edittext', [140, 13, 175, 34], dfltCh, {name:'cllHgt'});
RollPaperDialog.CellSizePnl.aspectHeightEdt.helpTip = 'Height in inches';

var buttons = RollPaperDialog.add('group');
buttons.orientation = 'row';
var okBtn = buttons.add('button');
okBtn.text = 'OK';
okBtn.properties = {name: 'ok'};
var cancelBtn = buttons.add('button');
cancelBtn.text = 'Cancel';
cancelBtn.properties = {name: 'cancel'};

// display dialog and only continues on OK button press (OK = 1, Cancel = 2)
if (RollPaperDialog.show() == 1) {
//variables passed from user interface
var res = String(RollPaperDialog.PrintResPnl.prtRes.text);
var copies = String(RollPaperDialog.PrintResPnl.imgCpys.text);
var pprwidth = String(RollPaperDialog.PaperSizePnl.pprWth.text);
var pprlength = String(RollPaperDialog.PaperSizePnl.pprLnth.text); if (pprlength=='') { pprlength= 100; }
var cellwidth = String(RollPaperDialog.CellSizePnl.cllWth.text);
var cellheight = String(RollPaperDialog.CellSizePnl.cllHgt.text);

var maxpaperwidth=pprwidth*res; // Printer Paper width in pixels inches*res
var maxpaperlnth=pprlength*12*res; // Printer Paper Roll length in pixels
var width=cellwidth*res; // Document Cell width in pixels inches*res
var height=cellheight*res; // Document Cell height in pixels inches*res
var cols=0; // Document number of columns will be determined by script using paper width and cell width
var rows=0; // Document rows will be determined by script using columns and # of images selected

if (width>maxpaperwidth) { throw "error1"; }
cols=Math.round((maxpaperwidth/width)-.499); //round down
if (height>maxpaperlnth) { throw "error2"; }
var file = new Array();
file = app.openDialog();//opens dialog,choose images
if (file.lengthmaxpaperlnth) { throw "error4"; }
var doc = app.documents.add(width*cols, height*rows, res);
var currrow=0; var pasted=0;
for (var i=0;iheight ) { backFile.rotateCanvas(-90.0); } // Rotate portraits
if (backFile.height.valuewidth ) { backFile.rotateCanvas(-90.0); } // Rotate landscapes
if (backFile.width.value/backFile.height.value > width/height) { backFile.resizeImage(null, height, null, ResampleMethod.BICUBIC); } // wider
else {backFile.resizeImage(width, null, null, ResampleMethod.BICUBIC);} // same aspect ratio or taller
backFile.selection.selectAll();
backFile.selection.copy(); //copy resized image into clipboard
backFile.close(SaveOptions.DONOTSAVECHANGES); //close image without saving changes

for (var n=0;n ), desc, DialogModes.NO );
}catch(e){}
}

JJMack

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Jun 11, 2012 Jun 11, 2012

Copy link to clipboard

Copied

Thanks John. I'll get these logged so we can investigate.

regards,
steve

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Feb 03, 2015 Feb 03, 2015

Copy link to clipboard

Copied

This was fixed in Photoshop CS6 (13.0.1) or later

Votes

Translate

Translate

Report

Report
LEGEND ,
Feb 24, 2016 Feb 24, 2016

Copy link to clipboard

Copied

LATEST
Whenever i create action and i do save for web to save file into jpeg and gif format in action its record in html format so how i can save my file into jpeg and gif format. 

Votes

Translate

Translate

Report

Report