相关疑难解决方法(0)

Adobe InDesign .jsx脚本执行.jsx脚本

完成执行另一个.jsx脚本后如何获得我的.jsx脚本?

也许这有助于理解我想要做的事情:

// WebCard.jsx file

function mySnippet(){
    //<fragment>
    var myPageName, myFilePath, myFile;
    var myDocument = app.documents.item(0);
    var myBaseName = myDocument.name;
    for(var myCounter = 0; myCounter < myDocument.pages.length; myCounter++){
        myPageName = myDocument.pages.item(myCounter).name;
        app.jpegExportPreferences.jpegExportRange = ExportRangeOrAllPages.exportRange;
        app.jpegExportPreferences.resolution = 96;
       app.jpegExportPreferences.pageString = myPageName;  

          switch(myPageName) {
        case "1" : myPageName = "EN FRONT WebCard";
            docType = "Web/Web Cards" break;
        case "2" : myPageName = "EN BACK WebCard";
            docType = "Web/Web Cards" break;
        case "3" : myPageName = "ES FRONT WebCard";
            docType = "Web/Web Cards" …
Run Code Online (Sandbox Code Playgroud)

adobe extendscript adobe-indesign

5
推荐指数
2
解决办法
5623
查看次数

标签 统计

adobe ×1

adobe-indesign ×1

extendscript ×1