Skip to main content
Participant
August 30, 2022
Question

Export artboards to files cause Photoshop to crash

  • August 30, 2022
  • 5 replies
  • 923 views

Every time I try to go to File > Export > Artboards to Files, then click okay, is starts to export but I get the following dialogue box below, then another blank dialogue box, before crashing. 
Pop up dialogue box: "The saved printer information is an incompatible version. It has been set to default values"

 

Other designers can export artboards to files from my documents, so it isn't the document.
I can also complete export using File > Export > Export as...  without crashing.

This topic has been closed for replies.

5 replies

CShubert
Community Manager
Community Manager
September 2, 2022

Hi @alicia.jean.photo thank you for sending your email you said you used when Ps crashed. We still do not see any crash reports under that email. What versionn of Ps are you on?

 

It may help if we could see your Photoshop System Info. Launch Photoshop, and select Help >System Info...and copy/paste the text in a reply.  

 

Thank you,

 

 

CShubert
Community Manager
Community Manager
September 1, 2022

Hi @alicia.jean.photo feel free to send me any info on what account you would have filed the crash reports under to: shubert@adobe.com

 

It may help if we could see your Photoshop System Info. Launch Photoshop, and select Help >System Info...and copy/paste the text in a reply.  

 

Thank you,

 

 

Participant
September 1, 2022

Sorry. The issues are with a different account login from my other job. Let me know what info I can send and to where so you can look at the crash reports I have sent. 

Stephen Marsh
Community Expert
Community Expert
August 30, 2022

Not a direct "fix", however, you could try an alternative script:

 

// artboardsToPSD.jsx - Adobe Photoshop Script
// Version: 0.6.0
// Requirements: Adobe Photoshop CC 2015, or higher
// Author: Anton Lyubushkin (nvkz.nemo@gmail.com)
// Website: http://lyubushkin.pro/
// ============================================================================
// Installation:
// 1. Place script in:
//    PC:  C:\Program Files\Adobe\Adobe Photoshop CC#\Presets\Scripts\
//    Mac:     <hard drive>/Applications/Adobe Photoshop CC#/Presets/Scripts/
// 2. Restart Photoshop
// 3. Choose File > Scripts > artboardsToPSD
// ============================================================================

//#target photoshop

app.bringToFront();

var docRef = app.activeDocument,
    allArtboards,
    artboardsCount = 0,
    inputFolder = Folder.selectDialog("Select a folder to process");

if (inputFolder) {
    function getAllArtboards() {
        try {
            var ab = [];
            var theRef = new ActionReference();
            theRef.putProperty(charIDToTypeID('Prpr'), stringIDToTypeID("artboards"));
            theRef.putEnumerated(charIDToTypeID('Dcmn'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt'));
            var getDescriptor = new ActionDescriptor();
            getDescriptor.putReference(stringIDToTypeID("null"), theRef);
            var abDesc = executeAction(charIDToTypeID("getd"), getDescriptor, DialogModes.NO).getObjectValue(stringIDToTypeID("artboards"));
            var abCount = abDesc.getList(stringIDToTypeID('list')).count;
            if (abCount > 0) {
                for (var i = 0; i < abCount; ++i) {
                    var abObj = abDesc.getList(stringIDToTypeID('list')).getObjectValue(i);
                    var abTopIndex = abObj.getInteger(stringIDToTypeID("top"));
                    ab.push(abTopIndex);

                }
            }
            return [abCount, ab];
        } catch (e) {
            alert(e.line + '\n' + e.message);
        }
    }

    function selectLayerByIndex(index, add) {
        add = undefined ? add = false : add
        var ref = new ActionReference();
        ref.putIndex(charIDToTypeID("Lyr "), index + 1);
        var desc = new ActionDescriptor();
        desc.putReference(charIDToTypeID("null"), ref);
        if (add) desc.putEnumerated(stringIDToTypeID("selectionModifier"), stringIDToTypeID("selectionModifierType"), stringIDToTypeID("addToSelection"));
        desc.putBoolean(charIDToTypeID("MkVs"), false);
        executeAction(charIDToTypeID("slct"), desc, DialogModes.NO);
    }

    function ungroupLayers() {
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt'));
        desc1.putReference(charIDToTypeID('null'), ref1);
        executeAction(stringIDToTypeID('ungroupLayersEvent'), desc1, DialogModes.NO);
    }

    function crop() {
        var desc1 = new ActionDescriptor();
        desc1.putBoolean(charIDToTypeID('Dlt '), true);
        executeAction(charIDToTypeID('Crop'), desc1, DialogModes.NO);
    }

    function saveAsPSD(_name) {
        var psd_Opt = new PhotoshopSaveOptions();
        psd_Opt.layers = true; // Preserve layers.
        psd_Opt.embedColorProfile = true; // Preserve color profile.
        psd_Opt.annotations = true; // Preserve annonations.
        psd_Opt.alphaChannels = true; // Preserve alpha channels.
        psd_Opt.spotColors = true; // Preserve spot colors.
        app.activeDocument.saveAs(File(inputFolder + '/' + _name + '.psd'), psd_Opt, true);
    }

    function main(i) {
        selectLayerByIndex(allArtboards[1][i]);
        var artboardName = app.activeDocument.activeLayer.name;
        executeAction(stringIDToTypeID("newPlacedLayer"), undefined, DialogModes.NO);
        executeAction(stringIDToTypeID("placedLayerEditContents"), undefined, DialogModes.NO);
        app.activeDocument.selection.selectAll();
        ungroupLayers();
        crop();
        saveAsPSD(artboardName);
        app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);
    }

    allArtboards = getAllArtboards();

    artboardsCount = allArtboards[0];

    for (var i = 0; i < artboardsCount; i++) {
        docRef.suspendHistory('Save Artboard as PSD', 'main(' + i + ')');
        app.refresh();
        app.activeDocument.activeHistoryState = app.activeDocument.historyStates[app.activeDocument.historyStates.length - 2];
    }
}

 

  1. Copy the code text to the clipboard
  2. Open a new blank file in a plain-text editor (not in a word processor)
  3. Paste the code in
  4. Save the text file as .txt
  5. Rename the file extension from .txt to .jsx
  6. Install or browse to the .jsx file to run:

https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html#Photoshop

 

CShubert
Community Manager
Community Manager
August 30, 2022

Hi @alicia.jean.photo sorry to hear this.

 

I'm not seeing any submitted crash reports from you in our system. If you haven't done so already, please submit all Crash Reports along with your email address: https://helpx.adobe.com/photoshop/kb/submit-crash-reports.html That will help us diagnose the crash. 

 

Let's make sure we're in a default state and there are no stale settings somewhere: 

Restore your preferences using this manual method:  

https://helpx.adobe.com/photoshop/using/preferences.html#Manually 

Does it work correctly? 

If that doesn't solve it, you can quit Photoshop and put the Settings folder back. 

 

 

It may help if we could see your Photoshop System Info. Launch Photoshop, and select Help >System Info...and copy/paste the text in a reply.  

 

Thank you,