Scripts not working not

Hi all

Work on a Mac OS10.7 using indd CC and CC 2014 indd.

For some reason any 2 scripts are no longer works.

MultipageInporter-2 - 5.jsx and imagesToCSV104.jsx

These are my 2 favorite! So thank you 1 million to their creation!

And 1 million more thanks if you can help me to the do

work again!

Double click on one or the other does absolutely nothing.

As always, your help is very appreciated.

Not familiar with the other, but the importer multipage is one of my favorites, too. It should work if you put it in a subfolder named "Version 8.0 scripts" or "Version 7.0" (sensitive to case-sensitive, but without the quotation marks), and the same must be true for the other script so you can identify the latest version where you had it running.

Tags: InDesign

Similar Questions

  • Mac Labs: ARD login script not working only off 10.11

    I run the laboratory of computer science at the State University.  5 laboratories w / 100 + machines.  We have been a Mac shop all since switching to Intel chips.

    I use the following login for the years script:

    name = "user";

    password = "pword";

    osascript<>

    Tell application "system events".

    hit tab

    strike (character ASCII 8)

    hit tab

    strike (character ASCII 8)

    strike back

    delay 0.5

    hit tab

    combination of keys '$name '.

    hit tab

    delay 0.5

    combination of keys '$password '.

    delay 0.5

    strike back

    strike back

    tell the end

    EXPRESSIONS OF FOLKLORE

    When I send to a machine (with and without SIP) 10.11, I get the following message is displayed in the status field of the task:

    osascript [261:2199] CFPasteboardRef CFPasteboardCreate (CFAllocatorRef, CFStringRef): failed to create aggregate data

    I don't know if the problem lies with ARD admin being 3.8 and 10.11 being 3.8.5 client.  I had similar problems with disparity admin/customer a while back who disappeared when ARD admin has been updated.

    Not being able to connect on my machines 100 + is a deal breaker.  I can't deploy 10.11 nor I can recommend that we buy new machines this year (we replace generally 1/3 each year).

    Someone at - it a script that works in 10.11?

    Hi, solves this problem already? I would be interested in the solution because I have the same problem with my El Cap clients...

    Thanks in advance for your help.

  • Why the tableStyle script not working, when the other two are

    Hi, please can you help and thank you in advance. I'm puzzled. As you can see, I am new to scripting - a glance through the 15 pages on the forum showed me how the news - and I want a workflow in which I put the styles and then use in this case, "appliedTableStyle" to connect to the appropriate table.
    My question is why this style of table script not work and appear in the palette? (when the two scripts below paragraphs and cells are) I tried the doc.tableStyles.add and the doc.tableStyle.add. Please show me where I'm wrong, or a better alternative. Thank you.
    docTest = app.documents.add)
    table_styles (docTest)
    cell_styles (docTest)
    para_styles (docTest)
    function table_styles (doc)
    {
    with (doc)
    {
    //try {doc.tableStyles.add
    try {doc.tableStyle.add
    ({
    name: "tableGLOBAL."
    bodyRegionCellStyle: doc.cellStyles.item ('cellGLOBAL'),
    headerRegionSameAsBodyRegion: true,
    bodyRowCount: 10.
    headerRowCount: 1.
    })
    }
    catch {} (_)
    }
    }
    function cell_styles (doc)
    {
    with (doc)
    {
    try {doc.cellStyles.add
    ({
    name: "cellGLOBAL."
    appliedParagraphStyle: doc.paragraphStyles.item ('paraBodyGLOBAL'),
    topInset: 0,
    leftInset: 0,
    bottomInset: 0,
    rightInset: 0,
    verticalJustification: VerticalJustification.CENTER_ALIGN,
    firstBaselineOffset: FirstBaseline.LEADING_OFFSET,.
      })
    }
      catch (_){}
    }
    }
    function para_styles (doc)
    {
    with (doc)
    {
    try {doc.paragraphStyles.add
    ({
    name: "paraBodyGLOBAL."
    appliedFont: "Arial,"
    firstLineIndent: 0,
    justification: Justification.LEFT_JUSTIFIED,.
    pointSize: "6 pt."
    main: '8 '.
    })
    }
    catch {} (_)
    }
    }

    Your trial... construction of capture hides the real error - during the development of a script, you can not use.

    When I removed it, ID has reported only with the message quite without value

    "Error string: this attribute is not defined for the table styles.

    Source: ts = doc.tableStyles.add({")

    without saying what attribute... Try one by one, I found this particular result: you cannot initialize 'headerRegionSameAsBodyRegion '... Probably because you cannot initialize without a header first, and you don't "do" again because you always initialize the entire style.

    But this workaround works:

    ts = doc.tableStyles.add({
     name: 'tableGLOBAL'
     , bodyRegionCellStyle: doc.cellStyles.item( 'cellGLOBAL' )
     , headerRowCount: 1
     , bodyRowCount: 10
    });
    ts.headerRegionSameAsBodyRegion = true;
    
  • Script assist works like javascript, but not Photoshop

    I'm trying to get these 2 scripts to work together.

    This works fine in Photoshop.

    #target photoshop
    if (app.documents.length > 0) {
        var myDocument = activeDocument;
        var fileNameNoExtension = myDocument.name;
        
      fileNameNoExtension = fileNameNoExtension.split( "." );
        
      if ( fileNameNoExtension.length > 1 ) {
           fileNameNoExtension.length--;
        }
    
        fileNameNoExtension = fileNameNoExtension.join(".");
        
        var BrandID = fileNameNoExtension.substr(0,4);
        var ItemType = fileNameNoExtension.substr(4,2);
        alert(ItemType)
    }
    

    The alert is just for a test, a file named EM10NW021231.jpg returns the "ItemType" as "NW".

    This part of the script runs as javascript

    var itemTable = [ 
    {itemType: "RI", BorderIncrease:"180"}, 
    {itemType: "NW", BorderIncrease:"115"}, 
    {itemType: "CL", BorderIncrease:"115"}, 
    {itemType: "BW", BorderIncrease:"120"}, 
    {itemType: "SC", BorderIncrease:"120"}, 
    {itemType: "ER", BorderIncrease:"150"}, 
    {itemType: "WW", BorderIncrease:"140"}, 
    {itemType: "WA", BorderIncrease:"140"}, 
    {itemType: "HR", BorderIncrease:"140"}, 
    {itemType: "JM", BorderIncrease:"100"}, 
    {itemType: "NA", BorderIncrease:"100"} 
    ];
    
    var BorderIncrease = itemTable.filter(function ( obj ) { 
        return obj.itemType === "BW"; //BW is to be replaced with ItemType
    })[0];
    
    alert(BorderIncrease.BorderIncrease);
    

    How can I combine these together where line 16 is to replace the "BW" with the ItemType since the first script?

    Thank you very much

    Matt

    Please try this.

    #target photoshop
    if (app.documents.length > 0) {
        var myDocument = activeDocument;
        var fileNameNoExtension = myDocument.name;  
    
      fileNameNoExtension = fileNameNoExtension.split( "." );  
    
      if ( fileNameNoExtension.length > 1 ) {
           fileNameNoExtension.length--;
        }  
    
        fileNameNoExtension = fileNameNoExtension.join(".");  
    
        var BrandID = fileNameNoExtension.substr(0,4);
        var ItemType = fileNameNoExtension.substr(4,2);
        alert(ItemType)  
    
    var itemTable = [
    {itemType: "RI", BorderIncrease:"180"},
    {itemType: "NW", BorderIncrease:"115"},
    {itemType: "CL", BorderIncrease:"115"},
    {itemType: "BW", BorderIncrease:"120"},
    {itemType: "SC", BorderIncrease:"120"},
    {itemType: "ER", BorderIncrease:"150"},
    {itemType: "WW", BorderIncrease:"140"},
    {itemType: "WA", BorderIncrease:"140"},
    {itemType: "HR", BorderIncrease:"140"},
    {itemType: "JM", BorderIncrease:"100"},
    {itemType: "NA", BorderIncrease:"100"}
    ];  
    
    var BI = BorderIncrease(itemTable, ItemType );
    alert(BI);
    
    function BorderIncrease(Arr, Item){
    for(var z in Arr){
    if(Arr[z].itemType === Item){
       return Arr[z].BorderIncrease;
        }
     }
    return 0;
    };
    };
    
  • How can I get rid of the follow-up? {Attribute Java Script] = not in XMI. Now I have to click ok which is a nuisance

    How can I get rid of the follow-up? {Attribute Java Script] = not in XMI. Now I have to click ok so he can disappear, that is a montage of nuisance. How can I get the missing part?

    Thank you. Then I disabled all extensions one both enabled and found that productivity Community Toolbar 3 seems to be the culprit. I will be a while before I close the file. Thank you.

  • Scripts not working is not in Facebook since the upgrade to v25.0

    No problem using Facebook until the upgrade to v25.0 this morning. Now, I can't read my PM, post anything or register a "like." Nothing is based on a script works. No problem in Internet Explorer if. I'm alone with this problem?

    I have problems with 25.0.1 on facebook and some discussion forums.

    I do not have DNTM and, in all, I still have problems in Mode safe and also after resetting Firefox.

    I think I restore windows as well... at the moment, it does seem like if someone sees this as a problem of Firefox (I don't average just this thread, but also the comments I've seen elsewhere.

  • ACROBAT STARTUP SCRIPT NOT WORK (with extendscript Tooklkit CS6)

    Hello

    I lived in programming, but beginning in the JS script in CS6.

    I developed some scripts in the Acrobat XI Pro console, now I wan't to install this global script that can be called by a menu.

    I'm working on Windows 7, with 64-bit:

    The path of the script is:

    C:\Program Files (x 86) \Adobe\Acrobat 11.0\Acrobat\Javascripts

    the script name is Confg.js

    The script is created with editor Extendscript Tooklkit CS6

    only contains this line:

    App.Alert ("Hey, since a script running in the world");

    I expect that an alert is poping up, when I opened Acrobat Pro XI with any PDF file:

    for a change

    app.addMenuItem ({cName: 'Test Menu', cParent: 'Help', cExec: "app.alert ('Menu Item Test'); '" "});

    does not work either

    After the opening of PDF Pro XI with an arbitry PDF, I get an error in the console:

    Acrobat Version mit integrierten EScript-Funktionen 11.0

    Acrobat SOAP 11.0

    SyntaxError: illegal character

    1:folder - Level: App:Config.js

    If I created the file with a text editor, things work perfectly, as expected.

    If I change this own file with Extendscript Tooklkit CS6 editor , even after the file is corrupted. This is Jean-Claude clumsy. Any solution, so I can work with Extendscript Tooklkit CS6 editor?



    Without seeing the file 'text' produced by Extendscript Toolkit in a hex editor, it is rather difficult to say. If there is a code of control buried in the text file.

    Acrobat supports all UI development because most of the scripts are quite small.

    Another problem may be that Extendccript does not add tags suitable scripts when editing Acrobat JS in Acrobat.

    Acrobat is not one of the programs listed, which is accompanied by Extendscript.

  • How to fix some scripts not working not just in CC?

    Tried to use a well known script IDCC:

    TurnGrepStyles2CharStyles.jsx

    and not worked; but in CS6 it is running.

    How to fix?

    Boy, I really can't type this morning... clearly says that it was written for CS4 and is not surprising.

  • Scripts not working not properly

    Hi All,
     I have written the below code, and placed it on the exit event of a drop down list on a form that I am working on. The script works some times, and sometimes, it does'nt work right.
    I do not know why it is not working right all the times. I need help with possibly what I may be missing.
     
     if(ReasubdrpdwnList1.rawValue=="Annual"){
       ReasonFor.rawValue="2";
       }
    if(ReasubdrpdwnList1.rawValue=="Change of Rater"){
            ReasonFor.rawValue="03";
       }
    if(ReasubdrpdwnList1.rawValue=="Change of Duty"){
       ReasonFor.rawValue="04";
       }
    if(ReasubdrpdwnList1.rawValue=="PCS"){
       ReasonFor.rawValue="04";
       } 
    if(ReasubdrpdwnList1.rawValue=="REFRAD"){
       ReasonFor.rawValue="04";
       }
    if(ReasubdrpdwnList1.rawValue=="Retirement"){
       ReasonFor.rawValue="04";
       }
    if(ReasubdrpdwnList1.rawValue=="Discharge"){
       ReasonFor.rawValue="04";
       }
    if(ReasubdrpdwnList1.rawValue=="Reassignment"){
       ReasonFor.rawValue="04";
       } 
    if(ReasubdrpdwnList1.rawValue=="Relief for cause"){
       ReasonFor.rawValue="05";
       }
    if(ReasubdrpdwnList1.rawValue=="Depart TDY"){
       ReasonFor.rawValue="06";
       }
    if(ReasubdrpdwnList1.rawValue=="60 day opt"){
       ReasonFor.rawValue="07";
       }
    if(ReasubdrpdwnList1.rawValue=="SR option"){
       ReasonFor.rawValue="08";
       } 
    if(ReasubdrpdwnList1.rawValue=="Complete Rec"){
       ReasonFor.rawValue="09";
       }
    if(ReasubdrpdwnList1.rawValue=="Ext annual"){
       ReasonFor.rawValue="10";
       }
    if(ReasubdrpdwnList1.rawValue=="Promotion"){
       ReasonFor.rawValue="11";
       }
    if(ReasubdrpdwnList1.rawValue=="REFRAD (USAR/ARNG ONLY)"){
       ReasonFor.rawValue="12";
       }  
    if(ReasubdrpdwnList1.rawValue=="REFRAT"){
       ReasonFor.rawValue="12";
       }
    if(ReasubdrpdwnList1.rawValue=="REFRADOS-RC"){
       ReasonFor.rawValue="12";
       } 
    if(ReasubdrpdwnList1.rawValue=="REFRADOS"){
       ReasonFor.rawValue="12";
       }
    if(ReasubdrpdwnList1.rawValue=="REFRCO-AD"){
       ReasonFor.rawValue="12";
       } 
     
     Thanks
     
     v/r
     
     Tammy          
    
    

    V/r there is no problem with your script. Can you please mention for which selection your script fails.
    I suggest you use Swtich statement instead of using multiple loops if.

    Sofiane

  • Java script not working not not in 1 pdf, but the same script does NOT work in other

    Dear Experts,

    I have a problem with java script.

    I created 2 PDF files with the same name under the names of form and shape.

    I wrote a javascript script and the script seems to work in a (Demand2.pdf) and DOES not work in others (exemple.pdf).

    The link for Demand2.pdf is
    https://Acrobat.com/#d=XIydWx1RIU4oNdTySHtHfg

    and the link for exemple.pdf is
    https://Acrobat.com/#d=sKPRs2dtDY57RSvMVtnh3w

    Can you please guide me on this.

    Thank you very much

    BookFans

    Hello

    The second file (exemple.pdf) is saved as Static. The script changes the visual appearance of the form (show and hide objects). This requires the file to save dynamic PDF format. This option is available for registration - as the dialog under the file name.

    Good luck

    Niall

  • Script not working

    Hello

    I'm trying to hide a table on a button click. I wrote the code FormCalc following in the Click event of the button. But it does not work.

    .its presence Form1.PurchaseOrder.main [*] = "hidden".

    main is the purchaseOrder subform.

    (button and the table are in different subforms)

    I opened a tutorial example and pasted the same code. He works there, but not in my new form. I checked the subform settings, they are the same.

    Am I missing something? Please notify.

    Charli

    Charli,

    First, the form should be saved in a dynamic form to allow the change of visibility to the objects. Second, something I messed up with the table definition. I removed your table and added a default table in the same position and the table will now be hidden when you click the button.

    I responded to your email with the updated form.

    Steve

  • The example script Scripting Guide works do not (create a folder, add Comps)

    Scripting gurus-

    I copied a sample script in the Adobe Scripting Guide and it doesn't seem to work as stated (page 80):

    create a new FolderItem in the project, named "comps".

    var compFolder = app.project.items.addFolder ("comps");

    move all the compositions in the new folder by setting

    parentFolder compItem on file 'comps '.

    for (var i = 1; i < = app.project.numItems; i ++) {}

    If (App.Project.Item (i) instanceof CompItem)

    App.Project.Item (i) .parentFolder = compFolder;

    }

    I put in place some white/model comps, linked the ExtendScript script, and it grabs always every other comp for some reason any.  I was wondering if I'm doing something wrong.

    I saw David Torno collect comps one way and Jeff Almasol do otherwise.  Anyone can do this work as the Scripting Guide said that it should?  Thanks in advance.

    Dwayne

    Screen Shot 1.png

    Screen Shot 2.png

    I think that the problem is that entering a comp a folder changes item numbers. I first gather all the comps in a table, and then move them:

    var compFolder = app.project.items.addFolder ("comps");

    var comps = [];

    for (var i = 1; i)<= app.project.numitems;="" i++)="">

    If (App.Project.Item (i) instanceof CompItem)

    Comps.push (App.Project.Item (i));

    }

    for (var i = 0; i)< comps.length;="">

    Comps [i] .parentFolder = compFolder;

    }

    Dan

  • Script not running corrextly for the first time

    Hello

    I have a strange problem.

    Always wenn first time (after the opening of tiara), I run my script, it doesn't work for the masses. Creating a report specifically does not.

    When I run the script for the second time (and each additional hour) everything works fine and correctly?

    To understand:

    -I'm doing some (mathemtical) analyze - still works correctly

    -Load / Append ReportLayout prepared, add curves, create text objects - does not work for the first time, then it alwas works correctly

    The error is, that all the curves (that should be in several Annex layouts and text objects) are added to the first sheet of report responsible (although the reportsheets have been added)

    As I said, when I run the script second time (and each additional hour) everything works as it should?

    Thank you

    Hello

    I think I solved the problem by myself.

    I inserted "Call PicUpdate" between the two as an interim step, and now it works fine (even running the script first time)

    Thank you all

  • Photoshop CS5: TextItem width and height not related export Script not values specific

    Hi all

    I'm writing a script for Photoshop export data on the textItems in a document for use in another tool. What I capture data appear to be accurate for the most part, except for the width and height of the textItems. Here's my document settings (these never change):

    Rule and Type units: pixels

    Resolution document: 300 px/inch

    textItem type = text of paragraph

    When you enter values for height and width, I does no conversion, so the values below are gross exports of ExtendScript. I have included the point of a text data in two separate documents (the text element is not the same in both documents).

    Document 1:

    Photoshop: 125 px ExtendScript height: 22.32 22.32/125 px = 5.6

    Photoshop: 231 px ExtendScript width: 46.39 231/46.39 px = 4.98

    Document 2:

    Photoshop: 123 px ExtendScript height: 30,48 px 123/30.48 = 4.03

    Photoshop: 1407 px ExtendScript width: 370.95 1407/370.95 px = 3.79

    If a conversion must be performed to get the value of ExtendScript to match what shows Photoshop, I understand that. However, there is too much variance in multipliers: the difference in height between the two textItems is only 2 pixels, but the multipliers are 5.6 vs 4.03! I do not understand what might be other factors that affect these values.

    Bug textItem.width ExtendScript, the author has provided what he claimed to be a workaround: multiply the ExtendScript value by the resolution of the document, and then dividing by 72. It close me well the values that I needed, but as evidenced by the variable multipliers, it is not consistent.

    Someone at - it suggestions?

    With the help of the function by Paul Riggott (how read scale boxes paragraph?) and Stefan Beckmann (ExtendScript textItem.width bug), I think I have the solution:

    The value exported in the ExtendScript Toolkit is based on a 72 dpi document, even if it uses a baseValue for a document of 300 dpi. This is the bug that needed to be worked around by using the method of Stefan (value * activeDocument.resolution/72). However, I was always getting incorrect values.

    According the information acquired by reading the wire responded by Paul, I realized that I was working with text boxes transformed. This meant that I had to get the transformation factor, using Paul.

    So, I can get accurate values for any document by using the following:

    var width = activeLayer.textItem.width * getTransformFactor() * activeDocument.resolution/72

    var height = activeLayer.textItem.height * getTransformFactor() * activeDocument.resolution/72

    function getTransformFactor() {}

    Var ref = new ActionReference()

    ref.putEnumerated (charIDToTypeID ("Lyr"), charIDToTypeID ("Ordn"), charIDToTypeID ("Trgt"))

    var / / desc = executeActionGet (ref) .getObjectValue (stringIDToTypeID ('textKey'))

    textSize var = desc.getList (stringIDToTypeID ('textStyleRange')) .getObjectValue (0) .getObjectValue (stringI DToTypeID ('textStyle')) .getDouble (stringIDToTypeID ('size'))

    If (desc.hasKey (stringIDToTypeID ('transform'))) {}

    var mFactor = desc.getObjectValue (stringIDToTypeID ('transform')) .getUnitDoubleValue (stringIDToTypeID ("yy"))

    return mFactor

    }

    Returns 1

    }

  • Cannot be rotated PDFs with script (not allowed to avoid error, security settings for error)

    I use a script to rotate each pages in pdf format by clicking on a button. I added a script to rotate the file in the click event of the button turn as a javascript. It works in acrobat, but not in adobe reader. Please see the script

    Start = 0;

    nEnd = this.numPages - 1;

    nRotate = 90;
    Try
    {
    If (this.numPages > 0)
    {
    this.setPageRotations (start, nEnd, nRotate)
    }
    }
    catch (e)
    {
    App.Alert ("processing error:" + e)
    }

    But I get this error in adobe reader not in acrobat. "not authorized error security settings prevent access to this property or method". What is the problem. Please someone tell me.

    I got job usig by installing a script on the local computer. Thank you

Maybe you are looking for