Quantcast
Channel: Adobe Community : All Content - InDesign Scripting
Viewing all 8771 articles
Browse latest View live

How to change my 'Anchored Object Option'

$
0
0

Hi,

 

How to change my 'Anchored Object Option' from 'Custom' to 'Inline' position.

 

this is my idea, Need script for this

 

Preference.AnchoredObjectSetting.anchoredPosition.AnchorPosition.INLINE_POSITION.

 

 

by

hasvi


How to cleam memory in InDesign.

$
0
0

Dear all,

 

We are developing a extension for Adobe InDesign and after many months of development we are still stuck with various things we cannot find a proper solution to them. The extension exports a lot of images, texts, creates new pages, basically we are exporting all the content in a document as long as 300-400 pages in different assets, in JPG and PNG formats. So is really memory consuming

 

 

When running the extension we have developed, the main thread is bloqued and the InDesign is not responding and if the export we are doing is really large it just crashes InDesign. We would like to reléase memory after each page is finished, but we cannot do so. Once the complete export is finished, then memory is released, but not while the export is happening

 

As we export the memory is increasing more and more without releasing anything, we have tried different options, but seems like we never get to release memory as everything is blocked

 

How can we release memory while the extension is running ? Or is there a way to stop the extension each iteration so it releases memory?

 

 

 

 

We use the extension manager and flash builder.

 

Thanks!

Cesar.

How to know which text frame's page number in cs6?

$
0
0

Hello all,

I want to know page number of selected textframe. I tried different properties but unable.

Help need on this line:      alert(i + " " + myFrame.id + "   " + myFrame.parentPage.id);  // here i want page number to be displayed

 

#target Indesign

var myDoc = app.documents.item(0);

var i;

    for(i=0; i < myDoc.textFrames.length; i++)

{

        var myFrame = myDoc.textFrames[i];

    myFrame.select(); 

     alert(i + " " + myFrame.id + "   " + myFrame.parentPage.id);  // here i want page number to be displayed

}

 

thanks

virender

How to send event from flex extension to other flex extension in InDesign?

$
0
0

I have two extensions created using flex for InDesign. I need to send an event from one of these extensions and capture that event in other extension. How can it be done? Please help me.

ClearTableStyleOverrides not working?

$
0
0

Aloha everyone

 

I have encoutnered something amazingly strange. Basically, I have a table style called codetable. In it Column #1 has all lines aligned to the right. Column #2 has all lines aligned to the left. It's something I have to apply manually to every Code Table I have in the document, because I need to apply line numbers that aren't alway 1 - n, but can be 22-24 and then 29-35.

 

A typical line that I'd convert into the codetable would be

 

01     function foo() {

 

So I wanted to automate this. I have done this like so:

 

  1. Create Paragraph style called codetable that has a tab at 10mm. I do this so that the first column of the table is always 10mm wide.
  2. Apply said character style
  3. Convert Text to table, with table style codetable
  4. Clear overrides.
  5. Be happy.

 

I thought I'd automate it and since I have an amazing script by Kai Rübsamen who helped me and my colleague out a few months ago.

 

So, I think to myself, let's go grab that script, strip it of all unnecessary stuff and alter it. The result:

 

var curSel = app.selection[0];    app.findGrepPreferences.findWhat = "^\\d{2}\\t.+$"; //Find two digits, followed by tab, followed by something until the end of the line    app.changeGrepPreferences.appliedParagraphStyle = "codetable"; //Apply Title Paragraph Style    app.changeGrep() //do the Grep    app.findGrepPreferences = null; //reset all the stuff.
var curTable = curSel.convertToTable("\t"); //Convert to table, tab marks new cell.    curTable.appliedTableStyle = "codetable"; //apply style    curTable.clearTableStyleOverrides( true ); //clear table style overrides.    app.findGrepPreferences = null; //reset all the stuff.
}

 

This works like a charm, with one little problem. Line 09 doesn't work. At all. There's no error, there's no reaction in InDesign itself. No nothing. "No problem", I think to myself, "let's just override all cell styles". But that doesn't work either. I get an error going "curTable.clearCellOverrides( true) is not a function."

 

Clearly I'm doing something wrong. I have no idea what it is or why it's wrong.

 

Help, please?

addEventListener not working when there's loop

$
0
0

Hi there,

 

addEventListener seems not working when there's a loop in the program. Any way to solve this?

Thank you...

 

;---------------------------------------------------------------------------------------

var myWin = new Window ( "window", "LOOP TESTING.." );
var myTxt = myWin.add("statictext", undefined, "Testing.....................");
var cancel_button = myWin.add ("button", undefined, "Cancel");
cancel_button.addEventListener ("click", function () {alert("cancel_button.addEventListener");myWin.close();exit();});
myWin.show();

for (var i =0; i<20;i++){
    myTxt.text = String("TEsting: " + i);
    $.sleep(100);  
}

myWin.close();
exit();

Auto create paragraph styles and properties

$
0
0

 

Dear All

 

I had created Two paragraph styles using with below script. Now I have set in H1 All properties (like Basic Character Formats (font, font size, leading, tracking, kerning, Indent and spacing, Tabs, Paragraph rules, Keep option and all of paragraph style Options). It is possible to fix. Totally I will have creat 60 to 70 styles.

 

Thanks in advance

 

 

The code is:

 

var doc = app.activeDocument;

var array = ["H1", "H2"];

for(var i=0;i<array.length;i++)

{

    try{

        doc.paragraphStyles.add({name:array[i]});

        }

    catch(e)

    {

                alert("'" + array[i] + "'" + "already exists in the document.")

        }

    }

 

 

 

Thanks

ASHRAM

Need help to find the "leading point size"

$
0
0

Hi,

 

I need help to find the "leading point size".

Any para style leading is more than 2 points of my font size, I need the alert message "Its more than 2 points for your font size". For instance my para font size is 10 here my leading should be 12 points rather than its 14 points, I need the alert message.

Is this possible by script?

 

by

hasvi


Style name tag

$
0
0

HI All,

 

Can anybody help me pls i need to place paragraph style names in the margins either it can be anchor box or a separate box.

 

Im using the below script to get paragraph styles in box but i unable to get the position of paragraph.

 

var mydoc = app.activeDocument;

var pstyles = mydoc.allParagraphStyles;

for (var i= 2; i<pstyles.length;i++){

   

    var cont = pstyles[i].name.toString();

    app.findTextPreferences = NothingEnum.nothing;

    app.findTextPreferences.appliedParagraphStyle = pstyles[i].name;

    var myResults = mydoc.findText();

    var txfm = mydoc.pages.item(0).textFrames.add();

    txfm.geometricBounds = [10,10,50,50];

    txfm.contents = cont;

    txfm.textFramePreferences.insetSpacing = "1";

    txfm.strokeWeight = .5;

    txfm.fit(FitOptions.FRAME_TO_CONTENT);

 

}

 

 

Thanks in advance,

Learner

Multi-page ID file into multiple individual ID files

$
0
0

I am creating a catalog in ID and have started it as a single file with multiple pages. My printer has asked that I submit it as multiple individual ID pages. I found a script that will do it for me. The problem is that I have applied master pages to the files and when the files get exported into individual pages they all take the characteristics of the 1st page. i.e. the number is "1" on all of them and appears on the right side. The question is, is there a script that has been made that deals with this already, or is there a way to "flatten" the ID file before I run the script so that the numbering doesn't shift around?

XML tag for "nothing" (CS6)

$
0
0

Hi!

 

My application fills an Indesign document with the contents of a database. While doing this, an XML tag is assigned to every field to allow identification and updating. The whole thing works quite nicely, but now a problem has come up, if a database field is empty. This means, no text as well as no XML tag.

 

Long story short, I need a way to either assign an XML tag to an empty text (if at all possible) or I need to assign it to some character, which is neither visible nor takes up any space - or any other solution which allows me to assign add an XML tag to my document structure.

 

Any help is appreciated!

 

Thanks,

Hans

Javascript version Problem

$
0
0

Ive written Javascript on my laptop which uses Indesign CS 5.5, I run the code and it works (no errors, still fine tuning it), but when I try and run it on my work computer (mac) running Indesign 5 I get an error

"Invalid Parameter". Are there differences in the syntax between these to versions?

Here is the/a line of code that causes the error (i have this code several times creating boxes.)

 

myrectanglesplitterleft= rectangles.add({geometricBounds:[(.75+bleeddepth), 0, (myPageHeight/3)+(.75+bleeddepth), bleeddepth],fillColor:"Proofyellow"});

 

Here is the whole thing if it might be something else related to this error that isn't being passed improperly between one version (5.5) and not the other (5)

hopefully someone can help

 

#target "InDesign"

 

 

///global variables

var myChoice = "Cancel"

var magBleedDepth = .5;

var bookBleedDepth = .25;

var halfbookBleedDepth = .25;

var redopacity = 45;

var yellowopacity = 55;

var myPath =  Folder.desktop;

 

 

var myDoc = app.documents[0];

var fileNameWextn= myDoc.name;

var fileNameArray = fileNameWextn.split(".");

var fileName = fileNameArray[0]

 

 

////holds old doc settings to return them after pdf is made////

var myOldXUnits = myDoc.viewPreferences.horizontalMeasurementUnits;

var myOldYUnits = myDoc.viewPreferences.verticalMeasurementUnits;

var myOldGuides = myDoc.guidePreferences.guidesShown;

 

 

////main function -- sets doc prefs, and builds dialog box

function guideSize ()

{

    var pubtype = "Unknown"

    var myPageWidth = myDoc.documentPreferences.pageWidth;

    var myPageHeight= myDoc.documentPreferences.pageHeight;

  

    //////Magazine--------------------------------------------------------------------------- -----------

    // FullPage (bleed) 8.625”x11.375”

    if (myPageWidth == 8.625 && myPageHeight == 11.375)

        {

               var pubtype = "Magazine"

               var bleeddepth = magBleedDepth

        }

 

    // 2-Page Spread (bleed) 16.75”x11.375”

    if (myPageWidth == 16.75 && myPageHeight == 11.375)

        {

               var pubtype = "Magazine"

               var bleeddepth = magBleedDepth

        }

 

    // 1/2Page (top bleed horizontal) 8.625” x 5.4375”

      if (myPageWidth == 8.625 && myPageHeight == 5.4375)

        {

              var pubtype = "Magazine"

              var bleeddepth = magBleedDepth

        }

 

    // 1/2Page (bottom bleed horizontal) 8.625”x 5.6875”

       if (myPageWidth == 8.625 && myPageHeight == 5.6875)

        {

             var pubtype = "Magazine"

             var bleeddepth = magBleedDepth

        }

   //////Magazine--------------------------------------------------------------------------- -----------

   

   ////////Book

    // 2-Page Spread (bleed) 11.25" x 8.75"

    if (myPageWidth == 11.25 && myPageHeight == 8.75)

        {

             var pubtype = "Half Book"

             var bleeddepth = halfbookBleedDepth

        }

 

    // Full Page (bleed) 6" x 9"

        if (myPageWidth == 6 && myPageHeight == 9)

        {

             var pubtype = "Half Book"

             var bleeddepth = halfbookBleedDepth

        }

   

    //Book

        if (myPageWidth == 8.75 && myPageHeight == 11.25)

        {

             var pubtype = "Book"

             var bleeddepth = bookBleedDepth

        }

   

            if (myPageWidth == 17 && myPageHeight == 11.25)

        {

             var pubtype = "Book"

             var bleeddepth = bookBleedDepth

        }

 

}

 

 

 

 

 

 

////sets some prefs and builds dialog

function myDialog(myPageWidth, myPageHeight, pubtype, bleeddepth)

{

    with (myDoc.viewPreferences)

    {

      horizontalMeasurementUnits = MeasurementUnits.inches;

      verticalMeasurementUnits = MeasurementUnits.inches;

      }

 

    with(app.pdfExportPreferences)

    {

        exportGuidesAndGrids = false;

        exportLayers = false;

        exportNonPrintingObjects = false;

 

 

      }

 

    with(myDoc.guidePreferences)

    {

        guidesShown= true;

        guidesLocked = false;

      }

 

    /////////////////////////////////////////////////////////////////set Dialog window for choice of guides or bleed markers

        var bleedDialog=new Window("dialog", "Check The Bleed");

        var infopanel = bleedDialog.infoPnl = bleedDialog.add("panel", undefined, "Document Info");

        var infoGroup = bleedDialog.infoPnl.add ("group");

        var radioGroup = bleedDialog.add ("group");

        var choiceGroup = bleedDialog.add ("group");

 

 

        bleedDialog.orientation="row"

 

 

        var docname = infoGroup.add("statictext", undefined, "Doc Name:     "+ fileName);

        var type = infoGroup.add("statictext", undefined, "Pub Type:       "+ pubtype);

        var docwidth = infoGroup.add("statictext", undefined, "Width:            "+ myPageWidth +'"');

        var docheight = infoGroup.add("statictext", undefined, "Height:          "+ myPageHeight +'"');

        var bleedArea = infoGroup.add("statictext", undefined, "Bleed area: "+ bleeddepth );

 

 

        infopanel.margins=[10,20,10,20]

        docname.alignment = "left";

        type.alignment = "left";

        docwidth.alignment = "left";

        docheight.alignment = "left";

        with (infoGroup)

        {

         infoGroup.orientation = "column";

         infoGroup.spacing ="6";

        }

 

 

 

 

        var justGuides = radioGroup.add("radiobutton", undefined, "Guides");

        var justMarkers = radioGroup.add("radiobutton", undefined, "Bleed Fills");

        with (radioGroup)

        {

         radioGroup.orientation = "column";

         radioGroup.spacing ="10";

          justGuides.alignment = "left"

          justMarkers.alignment = "left"

          justMarkers.spacing = "5";

        }

 

 

        justGuides.value = true;

        var okbtn = radioGroup.add("button", undefined, "Set")

        var stopbtn = radioGroup.add("button", undefined, "Nope")

       

        if (pubtype == "Unknown")

            {

                okbtn.enabled = false

                alert("Document does not match bleed size")

             }

 

 

        okbtn.onClick =function ()

            {

            bleedDialog.close();

            if(justGuides.value==true)

            {

                myChoice = "guides"

            

             }

            else

            {

                myChoice = "markers"

             }

            }

 

 

        stopbtn.onClick =function (){bleedDialog.close()}

 

 

        if (bleedDialog.show()!=true){

            if ( myChoice == "guides"){guides (myPageWidth, myPageHeight, pubtype, bleeddepth)}

            if ( myChoice == "markers"){markers (myPageWidth, myPageHeight, pubtype, bleeddepth)}

            if ( myChoice == "Cancel"){bleedDialog.close(); }

            }  

}

 

 

 

 

///Creates Guides

function guides(myPageWidth, myPageHeight, pubtype, bleeddepth)

{

    try

        {

        var myLayer = myDoc.layers.item("Bleed Guides").name;

        }

    catch (myError)

        {

        var myLayer = myDoc.layers.add({name:"Bleed Guides"});

        }

   

    with(myDoc.pages.item(0))

                {

                var myLayer = app.documents.item(0).layers.item("Bleed Guides");

                guides.add(myLayer, {orientation:HorizontalOrVertical.vertical, location:(myPageWidth-bleeddepth)});

                guides.add(myLayer, {orientation:HorizontalOrVertical.vertical, location:(bleeddepth)});

                guides.add(myLayer, {orientation:HorizontalOrVertical.horizontal, location:(myPageHeight-bleeddepth)});

                guides.add(myLayer, {orientation:HorizontalOrVertical.horizontal, location:(bleeddepth)});

                }

     

    with(app.pdfExportPreferences)

        {

            exportGuidesAndGrids = true;

            exportLayers = true;

            exportNonPrintingObjects = false;

 

 

          }

     

       ///export PDF

       myDoc.exportFile(ExportFormat.pdfType, new File(myPath+"/"+fileName+"_Bleed Proof.pdf"), false);

     

      ///set prefs just to be extra cautious

    with(app.pdfExportPreferences)

        {

            exportGuidesAndGrids = false;

            exportLayers = false;

            exportNonPrintingObjects = false;

 

 

          }

      

       ////Remove layer

       var bleedLayer = myDoc.layers.item("Bleed Guides")

       bleedLayer.remove();

      

       ///run restore

       restorePrefences()

           

      alert ('Make Sure the Layer "Bleed Guides" is deleted before you send back the Document');

}

 

 

 

 

///Creats Markers

function markers(myPageWidth, myPageHeight, pubtype, bleeddepth)

{

    try

        {

        var myLayer = myDoc.layers.item("Bleed Guides").name;

        }

    catch (myError)

        {

        var myLayer = myDoc.layers.add({name:"Bleed Guides"});

        }

   

    with(myDoc.pages.item(0))

                {

                var myLayer = app.documents.item(0).layers.item("Bleed Guides");

                myrectangletop = rectangles.add({geometricBounds:[0, 0, 100, 100],fillColor:"ProofRed"});

                myrectangletop.transparencySettings.blendingSettings.opacity = redopacity;

                myrectangletop.strokeWeight = 0;

               

                myrectanglesplittertop = rectangles.add({geometricBounds:[0, bleeddepth+.75, bleeddepth, (myPageWidth/3)+(.75+bleeddepth)],fillColor:"Proofyellow"});

                myrectanglesplittertop.transparencySettings.blendingSettings.opacity = yellowopacity;

                myrectanglesplittertop.strokeWeight = 0;

                ///////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////

              

                myrectangleleft = rectangles.add({geometricBounds:[0, 0, myPageHeight, bleeddepth],fillColor:"ProofRed"});

                myrectangleleft.transparencySettings.blendingSettings.opacity = redopacity;

                myrectangleleft.strokeWeight = 0;

               

                myrectanglesplitterleft= rectangles.add({geometricBounds:[(.75+bleeddepth), 0, (myPageHeight/3)+(.75+bleeddepth), bleeddepth],fillColor:"Proofyellow"});

                myrectanglesplitterleft.transparencySettings.blendingSettings.opacity = yellowopacity;

                myrectanglesplitterleft.strokeWeight = 0;

                ///////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////

               

                myrectanglelright= rectangles.add({geometricBounds:[0, myPageWidth-bleeddepth, myPageHeight, myPageWidth],fillColor:"ProofRed"});

                myrectanglelright.transparencySettings.blendingSettings.opacity = redopacity;

                myrectanglelright.strokeWeight = 0;

               

                myrectanglesplitterright= rectangles.add({geometricBounds:[myPageHeight-((myPageHeight/3)+(bleeddepth+.75)), myPageWidth-bleeddepth, myPageHeight-(bleeddepth+.75), myPageWidth],fillColor:"Proofyellow"});

                myrectanglesplitterright.transparencySettings.blendingSettings.opacity = yellowopacity;

                myrectanglesplitterright.strokeWeight = 0;

                ///////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////

               

                myrectanglebottom = rectangles.add({geometricBounds:[myPageHeight-bleeddepth, bleeddepth, myPageHeight, myPageWidth-bleeddepth],fillColor:"ProofRed"});

                myrectanglebottom.transparencySettings.blendingSettings.opacity = redopacity;

                myrectanglebottom.strokeWeight = 0;

               

                myrectanglesplitterbottom = rectangles.add({geometricBounds:[myPageHeight-bleeddepth, myPageWidth-((myPageWidth/3)+.75+bleeddepth), myPageHeight, myPageWidth-(bleeddepth+.75)],fillColor:"Proofyellow"});

                myrectanglesplitterbottom.transparencySettings.blendingSettings.opacity = yellowopacity;

                myrectanglesplitterbottom.strokeWeight = 0;

                }

     

    with(app.pdfExportPreferences)

        {

            exportGuidesAndGrids = true;

            exportLayers = true;

            exportNonPrintingObjects = false;

 

 

          }

     

       ///export PDF

       myDoc.exportFile(ExportFormat.pdfType, new File(myPath+"/"+fileName+"_Bleed Proof.pdf"), false);

     

      ///set prefs just to be extra cautious

    with(app.pdfExportPreferences)

        {

            exportGuidesAndGrids = false;

            exportLayers = false;

            exportNonPrintingObjects = false;

 

 

          }

      

       ////Remove layer

       var bleedLayer = myDoc.layers.item("Bleed Guides")

       bleedLayer.remove();

      

       ///run restore

       restorePrefences()

           

      alert ('Make Sure the Layer "Bleed Guides" is deleted before you send back the Document');

}

 

 

 

///////restoring user prerences, setting exports back to norm

function restorePrefences ()

{

        with (myDoc.viewPreferences)

    {

      horizontalMeasurementUnits = myOldXUnits;

      verticalMeasurementUnits = myOldYUnits;

      }

 

    with(app.pdfExportPreferences)

    {

        exportGuidesAndGrids = false;

        exportLayers = false;

        exportNonPrintingObjects = false;

 

 

      }

 

    with(myDoc.guidePreferences)

    {

        guidesShown= myOldGuides;

        guidesLocked = false;

      }

  }

 

 

guideSize()

Remove hyperlinks from an InDesign document

$
0
0

Hi!

 

Is there a script command that I can use to change hyperlinks of a document to just regular text?

 

Thanks!

Scripting an excel named range into relevant indesign files

$
0
0

Hi there,

 

Here's my situation:

 

I have a folder with 32 indesign files.

 

I have an excel file with 32 different named data ranges.

 

The named data ranges match the table size (rows and columns) within each indesign file.

 

I want to write a script that takes the named data ranges (in alphabetical order) and places them into the corresponding indesign files (alphabetical order).

 

Any thoughts?

 

Thank you,

 

Thomas

I am trying to resize page in millimeter

$
0
0

I am trying to resize page in millimeter. It's wrongly resizing. Please advice

 

Script:

app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;

 

var myTemplate = File.openDialog("Choose A Template");

var myFolder = Folder.selectDialog("Choose Folder Contains XML");

var myXMLs = myFolder.getFiles("*.xml");

{

for (i = 0; i < myXMLs.length; i++)

{

 

    var mydoc = app.open(myTemplate);

mydoc.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.millimeters;

mydoc.viewPreferences.verticalMeasurementUnits = MeasurementUnits.millimeters;

app.activeWindow.transformReferencePoint = AnchorPoint.CENTER_ANCHOR; 

mydoc.viewPreferences.rulerOrigin = RulerOrigin.pageOrigin;

mydoc.importXML(myXMLs[i]);

 

    var mySpn = mydoc.xmlElements[0].evaluateXPathExpression("//Spine_mm[@SpineWidth]")[0].xmlAttributes. item("SpineWidth").value;

 

    var spineWidth = mySpn; //* 2.83464567;

 

    var mypages = mydoc.pages;

    var myPage = mypages.item(1);

    var myPbounds = myPage.bounds;

    var actualWidth = myPbounds[3] - myPbounds[1];

 

for (var txtCnt = 0;txtCnt< myPage.textFrames.count() ; txtCnt++)

{

    var myFrame = myPage.textFrames.item(txtCnt);

   

    var myTbounds = myFrame.geometricBounds;

 

    app.activeWindow.transformReferencePoint = AnchorPoint.LEFT_CENTER_ANCHOR;//CENTER_ANCHOR; 

    var Y1 = myTbounds[0];    var X1 = myTbounds[1];    var Y2 = myTbounds[2];    var X2 = myTbounds[3];

 

    myFrame.geometricBounds = [Y1 , X1, Y2, X1  + spineWidth];

}

    var SpnStl = mydoc.paragraphStyles.item("Spine Text");

   

    var widh =spineWidth * 1;

 

    var heig = 224;

 

    myPage.resize(CoordinateSpaces.innerCoordinates, AnchorPoint.LEFT_CENTER_ANCHOR, ResizeMethods.REPLACING_CURRENT_DIMENSIONS_WITH,[widh, heig]);

    }

}

 

xmlFile:

 

<?xml version="1.0" encoding="ISO-8859-1"?>

<MyBook xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/">

<ISBN href="../ImportBarcode/9780230300866.eps"/>

<Spine_mm SpineWidth="22.64"><ttl aid:pstyle="SP_BKTTL">The Right Kind of History</ttl>|TAB|<au aid:pstyle="SP_AUTHOR">David Cannadine, et al.</au></Spine_mm>

<Contributors>

<ContributeLvl aid:pstyle="FC_AUTHOR">David Cannadine</ContributeLvl>

<ContributeLvl aid:pstyle="FC_AUTHOR">Jenny Keating</ContributeLvl>

<ContributeLvl aid:pstyle="FC_AUTHOR">Nicola Sheldon</ContributeLvl>

</Contributors>

<Title aid:pstyle="FC_BKTTL">The Right Kind of History</Title>

<Subtitle aid:pstyle="FC_BKTTL">Teaching the Past in Twentieth-Century England</Subtitle>

</MyBook>


Automatically Counting Total Number of Steps

$
0
0

I have a procedure with x steps. In the title we manually type the total number of steps. As you may understand this process often result in failure, where the number in the title does not correspond with the actual number of steps.

 

Is there a solution to automatically get Indesign to count the steps below a certain paragraph style and add the number to the title. I haven’t found anything similar.

 

For example, where "5" in the title is automatically generated:

 

How to Count (5 Steps)

  1. Be patient, start by whispering "one".
  2. Then mentally count to two…
  3. … three
  4. … four
  5. Suddenly cry out “FIVE” and pretend that nothing has happen.

 

// Thanks in advance

evaluateXPathExpression not fetching

$
0
0

I have a Indesign XML file, like below

 

<code>

<component xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/" version="2.0" type="bookChapter" xml:lang="en" xml:id="w9781118832523c3" xmlns="http://www.wiley.com/namespaces/wiley" xmlns:wiley="http://www.wiley.com/namespaces/wiley/wiley" xmlns:cms="http://cms.wiley.com" xmlns:dctm="http://www.documentum.com"><header><contentMeta><titleGroup><title type="main" Ranid="1955618846">Sample title</title></titleGroup></contentMeta></header><body sectionsNumbered="yes" xml:id="c3-body-0001"><section type="opening" xml:id="c3-sec-0001" numbered="no"><p>Sample text</p>
</section><section xml:id="c3-sec-0002">....</code>

 

and my script is here to fetch section .., but its not fetching..section element..its showing only 0.

 

<code>

var myRoot=aDoc.xmlElements.firstItem();

 

 

var mySection=myRoot.evaluateXPathExpression("//section/title");

alert(mySection.length);

exit(0);</code>

Progress bar from menu item problem?

$
0
0

I have a script that creates a document with 50 pages while showing a progress bar in a palette window and it works fine.

 

If I create a menu and run it from there the progress bar doesn´t update until the pages are created.

 

I´ve had this problem for a really long time and it´s time to get this sorted out. The thing is that it used to work before an update long ago. It works on PC but not on mac.

 

#targetengine "Testing"


var test_menu = app.menus.item('$ID/Main').submenus.add('Test');
var menu_item = app.scriptMenuActions.add('Create document...');


menu_item.eventListeners.add('onInvoke', function()
{
  app.documents.add();  var w = new Window('palette');  w.pbar = w.add('progressbar', undefined, 0, 50);  w.pbar.preferredSize.width = 300;  w.show();  for( var i = 1; i <= 50; i++ )  {  w.pbar.value = i;  app.activeDocument.pages.add();  $.sleep(20);  }
});


test_menu.menuItems.add( menu_item );


    

Problems with show()

$
0
0

This script works in CS6 and the ExtendScript Toolkit CC but not on the InDesign CC Model.

 

var myHJ="\u0089PNG\r\n\x1A\n\x00\x00\x00\rIHDR\x00\x00\x00A\x00\x00\x00A\b\x06\x00\x00\x01\u00F9\u00F0\u00F9\u00D3\x00\x00\x00\tpHYs\x00\x00\x0B\x13\x00\x00\x0B\x13\x01\x00\u009A\u009C\x18\x00\x00\nOiCCPPhotoshop ICC profile\x00\x00x\u00DA\u009DSgTS\u00E9\x16=\u00F7\u00DE\u00F4BK\u0088\u0080\u0094KoR\x15\b RB\u008B\u0080\x14\u0091&*!\t\x10J\u0088!\u00A1\u00D9\x15Q\u00C1\x11EE\x04\x1B\u00C8\u00A0\u0088\x03\u008E\u008E\u0080\u008C\x15Q,\f\u008A\n\u00D8\x07\u00E4!\u00A2\u008E\u0083\u00A3\u0088\u008A\u00CA\u00FB\u00E1{\u00A3k\u00D6\u00BC\u00F7\u00E6\u00CD\u00FE\u00B5\u00D7>\u00E7\u00AC\u00F3\u009D\u00B3\u00CF\x07\u00C0\b\f\u0096H3Q5\u0080\f\u00A9B\x1E\x11\u00E0\u0083\u00C7\u00C4\u00C6\u00E1\u00E4.@\u0081\n$p\x00\x10\b\u00B3d!s\u00FD#\x01\x00\u00F8~<<+\"\u00C0\x07\u00BE\x00\x01x\u00D3\x0B\b\x00\u00C0M\u009B\u00C00\x1C\u0087\u00FF\x0F\u00EAB\u0099\\\x01\u0080\u0084\x01\u00C0t\u00918K\b\u0080\x14\x00@z\u008EB\u00A6\x00@F\x01\u0080\u009D\u0098&S\x00\u00A0\x04\x00`\u00CBcb\u00E3\x00P-\x00`'\x7F\u00E6\u00D3\x00\u0080\u009D\u00F8\u0099{\x01\x00[\u0094!\x15\x01\u00A0\u0091\x00 \x13e\u0088D\x00h;\x00\u00AC\u00CFV\u008AE\x00X0\x00\x14fK\u00C49\x00\u00D8-\x000IWfH\x00\u00B0\u00B7\x00\u00C0\u00CE\x10\x0B\u00B2\x00\b\f\x000Q\u0088\u0085)\x00\x04{\x00`\u00C8##x\x00\u0084\u0099\x00\x14F\u00F2W<\u00F1+\u00AE\x10\u00E7*\x00\x00x\u0099\u00B2<\u00B9$9E\u0081[\b-q\x07WW.\x1E(\u00CEI\x17+\x146a\x02a\u009A@.\u00C2y\u0099\x192\u00814\x0F\u00E0\u00F3\u00CC\x00\x00\u00A0\u0091\x15\x11\u00E0\u0083\u00F3\u00FDx\u00CE\x0E\u00AE\u00CE\u00CE6\u008E\u00B6\x0E_-\u00EA\u00BF\x06\u00FF\"bb\u00E3\u00FE\u00E5\u00CF\u00ABp@\x00\x00\u00E1t~\u00D1\u00FE,/\u00B3\x1A\u0080;\x06\u0080m\u00FE\u00A2%\u00EE\x04h^\x0B\u00A0u\u00F7\u008Bf\u00B2\x0F@\u00B5\x00\u00A0\u00E9\u00DAW\u00F3p\u00F8~<<E\u00A1\u0090\u00B9\u00D9\u00D9\u00E5\u00E4\u00E4\u00D8J\u00C4B[a\u00CAW}\u00FEg\u00C2_\u00C0W\u00FDl\u00F9~<\u00FC\u00F7\u00F5\u00E0\u00BE\u00E2$\u00812]\u0081G\x04\u00F8\u00E0\u00C2\u00CC\u00F4L\u00A5\x1C\u00CF\u0092\t\u0084b\u00DC\u00E6\u008FG\u00FC\u00B7\x0B\u00FF\u00FC\x1D\u00D3\"\u00C4Ib\u00B9X*\x14\u00E3Q\x12q\u008ED\u009A\u008C\u00F32\u00A5\"\u0089B\u0092)\u00C5%\u00D2\u00FFd\u00E2\u00DF,\u00FB\x03>\u00DF5\x00\u00B0j>\x01{\u0091-\u00A8]c\x03\u00F6K'\x10Xt\u00C0\u00E2\u00F7\x00\x00\u00F2\u00BBo\u00C1\u00D4(\b\x03\u0080h\u0083\u00E1\u00CFw\u00FF\u00EF?\u00FDG\u00A0%\x00\u0080fI\u0092q\x00\x00^D$.T\u00CA\u00B3?\u00C7\b\x00\x00D\u00A0\u0081*\u00B0A\x1B\u00F4\u00C1\x18,\u00C0\x06\x1C\u00C1\x05\u00DC\u00C1\x0B\u00FC`6\u0084B$\u00C4\u00C2B\x10B\nd\u0080\x1Cr`)\u00AC\u0082B(\u0086\u00CD\u00B0\x1D*`/\u00D4@\x1D4\u00C0Qh\u0086\u0093p\x0E.\u00C2U\u00B8\x0E=p\x0F\u00FAa\b\u009E\u00C1(\u00BC\u0081\t\x04A\u00C8\b\x13a!\u00DA\u0088\x01b\u008AX#\u008E\b\x17\u0099\u0085\u00F8!\u00C1H\x04\x12\u008B$ \u00C9\u0088\x14Q\"K\u00915H1R\u008AT UH\x1D\u00F2=r\x029\u0087\\F\u00BA\u0091;\u00C8\x002\u0082\u00FC\u0086\u00BCG1\u0094\u0081\u00B2Q=\u00D4\f\u00B5C\u00B9\u00A87\x1A\u0084F\u00A2\x0B\u00D0dt1\u009A\u008F\x16\u00A0\u009B\u00D0r\u00B4\x1A=\u008C6\u00A1\u00E7\u00D0\u00ABh\x0F\u00DA\u008F>C\u00C70\u00C0\u00E8\x18\x073\u00C4l0.\u00C6\u00C3B\u00B18,\t\u0093c\u00CB\u00B1\"\u00AC\f\u00AB\u00C6\x1A\u00B0V\u00AC\x03\u00BB\u0089\u00F5c\u00CF\u00B1w\x04\x12\u0081E\u00C0\t6\x04wB a\x1EAHXLXN\u00D8H\u00A8 \x1C$4\x11\u00DA\t7\t\x03\u0084Q\u00C2'\"\u0093\u00A8K\u00B4&\u00BA\x11\u00F9\u00C4\x18b21\u0087XH,#\u00D6\x12\u008F\x13/\x10{\u0088C\u00C47$\x12\u0089C2'\u00B9\u0090\x02I\u00B1\u00A4T\u00D2\x12\u00D2F\u00D2nR#\u00E9,\u00A9\u009B4H\x1A#\u0093\u00C9\u00DAdk\u00B2\x079\u0094, +\u00C8\u0085\u00E4\u009D\u00E4\u00C3\u00E43\u00E4\x1B\u00E4!\u00F2[\n\u009Db@q\u00A4\u00F8S\u00E2(R\u00CAjJ\x19\u00E5\x10\u00E54\u00E5\x06e\u00982AU\u00A3\u009AR\u00DD\u00A8\u00A1T\x115\u008FZB\u00AD\u00A1\u00B6R\u00AFQ\u0087\u00A8\x134u\u009A9\u00CD\u0083\x16IK\u00A5\u00AD\u00A2\u0095\u00D3\x1Ah\x17h\u00F7i\u00AF\u00E8t\u00BA\x11\u00DD\u0095\x1EN\u0097\u00D0W\u00D2\u00CB\u00E9G\u00E8\u0097\u00E8\x03\u00F4w\f\r\u0086\x15\u0083\u00C7\u0088g(\x19\u009B\x18\x07\x18g\x19w\x18\u00AF\u0098L\u00A6\x19\u00D3\u008B\x19\u00C7T071\u00EB\u0098\u00E7\u0099\x0F\u0099oUX*\u00B6*|\x15\u0091\u00CA\n\u0095J\u0095&\u0095\x1B*/T\u00A9\u00AA\u00A6\u00AA\u00DE\u00AA\x0BU\u00F3U\u00CBT\u008F\u00A9^S}\u00AEFU3S\u00E3\u00A9\t\u00D4\u0096\u00ABU\u00AA\u009DP\u00EBS\x1BSg\u00A9;\u00A8\u0087\u00AAg\u00A8oT?\u00A4~Y\u00FD\u0089\x06Y\u00C3L\u00C3OC\u00A4Q\u00A0\u00B1_\u00E3\u00BC\u00C6 \x0Bc\x19\u00B3x,!k\r\u00AB\u0086u\u00815\u00C4&\u00B1\u00CD\u00D9|v*\u00BB\u0098\u00FD\x1D\u00BB\u008B=\u00AA\u00A9\u00A19C3J3W\u00B3R\u00F3\u0094f?\x07\u00E3\u0098q\u00F8\u009CtN\t\u00E7(\u00A7\u0097\u00F3~\u008A\u00DE\x14\u00EF)\u00E2)\x1B\u00A64L\u00B91e\\k\u00AA\u0096\u0097\u0096X\u00ABH\u00ABQ\u00ABG\u00EB\u00BD6\u00AE\u00ED\u00A7\u009D\u00A6\u00BDE\u00BBY\u00FB\u0081\x0EA\u00C7J'\\'Gg\u008F\u00CE\x05\u009D\u00E7S\u00D9S\u00DD\u00A7\n\u00A7\x16M=:\u00F5\u00AE.\u00AAk\u00A5\x1B\u00A1\u00BBDw\u00BFn\u00A7\u00EE\u0098\u009E\u00BE^\u0080\u009ELo\u00A7\u00DEy\u00BD\u00E7\u00FA\x1C}/\u00FDT\u00FDm\u00FA\u00A7\u00F5G\fX\x06\u00B3\f$\x06\u00DB\f\u00CE\x18<\u00C55qo<\x1D/\u00C7\u00DB\u00F1QC]\u00C3@C\u00A5a\u0095a\u0097\u00E1\u0084\u0091\u00B9\u00D1<\u00A3\u00D5F\u008DF\x0F\u008Ci\u00C6\\\u00E3$\u00E3m\u00C6m\u00C6\u00A3&\x06&!&KM\u00EAM\u00EE\u009ARM\u00B9\u00A6)\u00A6;L;L\u00C7\u00CD\u00CC\u00CD\u00A2\u00CD\u00D6\u00995\u009B=1\u00D72\u00E7\u009B\u00E7\u009B\u00D7\u009B\u00DF\u00B7`ZxZ,\u00B6\u00A8\u00B6\u00B8eI\u00B2\u00E4Z\u00A6Y\u00EE\u00B6\u00BCn\u0085Z9Y\u00A5XUZ]\u00B3F\u00AD\u009D\u00AD%\u00D6\u00BB\u00AD\u00BB\u00A7\x11\u00A7\u00B9N\u0093N\u00AB\u009E\u00D6g\u00C3\u00B0\u00F1\u00B6\u00C9\u00B6\u00A9\u00B7\x19\u00B0\u00E5\u00D8\x06\u00DB\u00AE\u00B6m\u00B6}agb\x17g\u00B7\u00C5\u00AE\u00C3\u00EE\u0093\u00BD\u0093}\u00BA}\u008D\u00FD=\x07\r\u0087\u00D9\x0E\u00AB\x1DZ\x1D~s\u00B4r\x14:V:\u00DE\u009A\u00CE\u009C\u00EE?}\u00C5\u00F4\u0096\u00E9/gX\u00CF\x10\u00CF\u00D83\u00E3\u00B6\x13\u00CB)\u00C4i\u009DS\u009B\u00D3Gg\x17g\u00B9s\u0083\u00F3\u0088\u008B\u0089K\u0082\u00CB.\u0097>.\u009B\x1B\u00C6\u00DD\u00C8\u00BD\u00E4Jt\u00F5q]\u00E1z\u00D2\u00F5\u009D\u009B\u00B3\u009B\u00C2\u00ED\u00A8\u00DB\u00AF\u00EE6\u00EEi\u00EE\u0087\u00DC\u009F\u00CC4\u009F)\u009EY3s\u00D0\u00C3\u00C8C\u00E0Q\u00E5\u00D1?\x0B\u009F\u00950k\u00DF\u00AC~OCO\u0081g\u00B5\u00E7#/c/\u0091W\u00AD\u00D7\u00B0\u00B7\u00A5w\u00AA\u00F7a\u00EF\x17>\u00F6>r\u009F\u00E3>\u00E3<7\u00DE2\u00DEY_\u00CC7\u00C0\u00B7\u00C8\u00B7\u00CBO\u00C3o\u009E_\u0085\u00DFC\x7F#\u00FFd\u00FFz\u00FF\u00D1\x00\u00A7\u0080%\x01g\x03\u0089\u0081A\u0081[\x02\u00FB\u00F8z|!\u00BF\u008E?:\u00DBe\u00F6\u00B2\u00D9\u00EDA\u008C\u00A0\u00B9A\x15A\u008F\u0082\u00AD\u0082\u00E5\u00C1\u00AD!h\u00C8\u00EC\u0090\u00AD!\u00F7\u00E7\u0098\u00CE\u0091\u00CEi\x0E\u0085P~\u00E8\u00D6\u00D0\x07a\u00E6a\u008B\u00C3~\f'\u0085\u0087\u0085W\u0086?\u008Ep\u0088X\x1A\u00D11\u00975w\u00D1\u00DCCs\u00DFD\u00FAD\u0096D\u00DE\u009Bg1O9\u00AF-J5*>\u00AA.j<\u00DA7\u00BA4\u00BA?\u00C6.fY\u00CC\u00D5X\u009DXIlK\x1C9.*\u00AE6nl\u00BE\u00DF\u00FC\u00ED\u00F3\u0087\u00E2\u009D\u00E2\x0B\u00E3{\x17\u0098/\u00C8]py\u00A1\u00CE\u00C2\u00F4\u0085\u00A7\x16\u00A9.\x12,:\u0096@L\u0088N8\u0094\u00F0A\x10*\u00A8\x16\u008C%\u00F2\x13w%\u008E\ny\u00C2\x1D\u00C2g\"/\u00D16\u00D1\u0088\u00D8C\\*\x1EN\u00F2H*Mz\u0092\u00EC\u0091\u00BC5y$\u00C53\u00A5,\u00E5\u00B9\u0084'\u00A9\u0090\u00BCL\rL\u00DD\u009B:\u009E\x16\u009Av m2=:\u00BD1\u0083\u0092\u0091\u0090qB\u00AA!M\u0093\u00B6g\u00EAg\u00E6fv\u00CB\u00ACe\u0085\u00B2\u00FE\u00C5n\u008B\u00B7/\x1E\u0095\x07\u00C9k\u00B3\u0090\u00AC\x05Y-\n\u00B6B\u00A6\u00E8TZ(\u00D7*\x07\u00B2geWf\u00BF\u00CD\u0089\u00CA9\u0096\u00AB\u009E+\u00CD\u00ED\u00CC\u00B3\u00CA\u00DB\u00907\u009C\u00EF\u009F\u00FF\u00ED\x12\u00C2\x12\u00E1\u0092\u00B6\u00A5\u0086KW-\x1DX\u00E6\u00BD\u00ACj9\u00B2<qy\u00DB\n\u00E3\x15\x05+\u0086V\x06\u00AC<\u00B8\u008A\u00B6*m\u00D5O\u00AB\u00EDW\u0097\u00AE~\u00BD&zMk\u0081^\u00C1\u00CA\u0082\u00C1\u00B5\x01k\u00EB\x0BU\n\u00E5\u0085}\u00EB\u00DC\u00D7\u00ED]OX/Y\u00DF\u00B5a\u00FA\u0086\u009D\x1B>\x15\u0089\u008A\u00AE\x14\u00DB\x17\u0097\x15\x7F\u00D8(\u00DCx\u00E5\x1B\u0087o\u00CA\u00BF\u0099\u00DC\u0094\u00B4\u00A9\u00AB\u00C4\u00B9d\u00CFf\u00D2f\u00E9\u00E6\u00DE-\u009E[\x0E\u0096\u00AA\u0097\u00E6\u0097\x0En\r\u00D9\u00DA\u00B4\r\u00DFV\u00B4\u00ED\u00F5\u00F6E\u00DB/\u0097\u00CD(\u00DB\u00BB\u0083\u00B6C\u00B9\u00A3\u00BF<\u00B8\u00BCe\u00A7\u00C9\u00CE\u00CD;?T\u00A4T\u00F4T\u00FAT6\u00EE\u00D2\u00DD\u00B5a\u00D7\u00F8n\u00D1\u00EE\x1B{\u00BC\u00F64\u00EC\u00D5\u00DB[\u00BC\u00F7\u00FD>\u00C9\u00BE\u00DBU\x01UM\u00D5f\u00D5e\u00FBI\u00FB\u00B3\u00F7?\u00AE\u0089\u00AA\u00E9\u00F8\u0096\u00FBm]\u00ADNmq\u00ED\u00C7\x03\u00D2\x03\u00FD\x07#\x0E\u00B6\u00D7\u00B9\u00D4\u00D5\x1D\u00D2=TR\u008F\u00D6+\u00EBG\x0E\u00C7\x1F\u00BE\u00FE\u009D\u00EFw-\r6\rU\u008D\u009C\u00C6\u00E2#pDy\u00E4\u00E9\u00F7\t\u00DF\u00F7\x1E\r:\u00DAv\u008C{\u00AC\u00E1\x07\u00D3\x1Fv\x1Dg\x1D/jB\u009A\u00F2\u009AF\u009BS\u009A\u00FB[b[\u00BAO\u00CC>\u00D1\u00D6\u00EA\u00DEz\u00FCG\u00DB\x1F\x0F\u009C4<YyJ\u00F3T\u00C9i\u00DA\u00E9\u0082\u00D3\u0093g\u00F2\u00CF\u008C\u009D\u0095\u009D}~.\u00F9\u00DC`\u00DB\u00A2\u00B6{\u00E7c\u00CE\u00DFj\x0Fo\u00EF\u00BA\x10t\u00E1\u00D2E\u00FF\u008B\u00E7;\u00BC;\u00CE\\\u00F2\u00B8t\u00F2\u00B2\u00DB\u00E5\x13W\u00B8W\u009A\u00AF:_m\u00EAt\u00EA<\u00FE\u0093\u00D3O\u00C7\u00BB\u009C\u00BB\u009A\u00AE\u00B9\\k\u00B9\u00EEz\u00BD\u00B5{f\u00F7\u00E9\x1B\u009E7\u00CE\u00DD\u00F4\u00BDy\u00F1\x16\u00FF\u00D6\u00D5\u009E9=\u00DD\u00BD\u00F3zo\u00F7\u00C5\u00F7\u00F5\u00DF\x16\u00DD~r'\u00FD\u00CE\u00CB\u00BB\u00D9w'\u00EE\u00AD\u00BCO\u00BC_\u00F4@\u00EDA\u00D9C\u00DD\u0087\u00D5?[\u00FE\u00DC\u00D8\u00EF\u00DC\x7Fj\u00C0w\u00A0\u00F3\u00D1\u00DCG\u00F7\x06\u0085\u0083\u00CF\u00FE\u0091\u00F5\u008F\x0FC\x05\u008F\u0099\u008F\u00CB\u0086\r\u0086\u00EB\u009E8>99\u00E2?r\u00FD\u00E9\u00FC\u00A7C\u00CFd\u00CF&\u009E\x17\u00FE\u00A2\u00FE\u00CB\u00AE\x17\x16/~\u00F8\u00D5\u00EB\u00D7\u00CE\u00D1\u0098\u00D1\u00A1\u0097\u00F2\u0097\u0093\u00BFm|\u00A5\u00FD\u00EA\u00C0\u00EB\x19\u00AF\u00DB\u00C6\u00C2\u00C6\x1E\u00BE\u00C9x31^\u00F4V\u00FB\u00ED\u00C1w\u00DCw\x1D\u00EF\u00A3\u00DF\x0FO\u00E4| \x7F(\u00FFh\u00F9\u00B1\u00F5S\u00D0\u00A7\u00FB\u0093\x19\u0093\u0093\u00FF\x04\x03\u0098\u00F3\u00FCc3-\u00DB\x00\x00\x00 cHRM\x00\x00z%\x00\x00\u0080\u0083\x00\x00\u00F9\u00FF\x00\x00\u0080\u00E9\x00\x00u0\x00\x00\u00EA`\x00\x00:\u0098\x00\x00\x17o\u0092_\u00C5F\x00\x00\x11\u00E2IDATx\u00DAbr\u009Cf\u00F9\u00D9q\u009A\u00E5O<\u00F83\x13\x03\x03\x03\x1B\f\u00FF\u00F8\u00F3\u0083mE\u00ECz\u00B6\x15\u00B1\u00EB\u00D9\u0090\u00C5\u0099\x18\u0090\u00C0\u00DA\u00F8-\f\u00DCl<\fb<\u00E2\u00C8\u00C2\f(\u008A$\u00F9\u00A4\x184;\u00E5\x18\u00D0\x01\u008A\"\u008BI\x06\f\u008Fj\u00DF2\\z~\x11\u00B7\u00A2\x13y\x17\x18\x18\x18\x18\x18\n6d\u00E2V\u00E44\u00DD\u008A\u00C1i\u00BA\x15v\u00EB\u00F2\u00EDJ\x18\u009A=:\x184\u00C44\x19\u00BE\u00FD\u00FA\u00C6\u0090i\u0095\u00CB\u0090i\u0095\u00C7 + \x07W\u00F4k\u00E2\u00A1\u009E_\u00B5;*~\u00DDxu\u00FD\x17\x17\x1B\u00D7\u00AF\u00E9\u00C7&\u00FF\u009A~l\u00D2\u00AF\u00C7\x1F\x1E\u00FDb``\u00F8\x05\x00\x00\x00\u00FF\u00FFb\"\x10\u0090?Q\x02rE\u00ECz\u00B6\x7F\u00FF\u00FF\u00A1\x04$\u008A\u0083\u00C5x\u00C4\x19\x0Ed\u009D`\u00D8pe-\u00A6\u008F~\u00FD\u00FD\x05\x17\\zv!\u00A6\x02\x16&\x16\x06\u008BI\x06\f\f\f\f\f\u00CCL\u00CC\u0098\n\x0Ed\u009D`\u00E0`\u00E1`\b[\u00E4\u008F=\u00D0\u009C\u00A6[10121\u00BC\u00F9\u00FA\x1ASA\u00B0^8\x03\x03#\x03\u0083\u0095\u0082\r\x03\x07+\x07\x03\x1F\x07\x1F\u0083\u0082\u0090\"\x03\x1B\x0B\x1B$\u00B0\u00D6^Z\u00F9\u008B\u00E1?\u00C3\u00AFc\x0F\u008E\u00FC\u00FA\u00F1\u00FB\u00C7\u00AFO?>\u00FDz\u00F0\u00EE\u00FE\u00AF_\x7F~\u00FD\x02\x00\x00\x00\u00FF\u00FF\u0082\x05\u00D4\x7F\n\u00F0O&\x06\x1C\u00C0D\u00D6\u009Ca_\u00E61\u0086}\u0099\u00C7\x18\x16F.\u0087\u00B3\u00B1\x01\u009C\u0086t\u00F9\u00F4C\u0092\u00D6\u00C3c\f\u00B2\x02\u00F2\f\f\f\f\f.3m\u00887D\u0080C\x00\u00CE\u00BE\u008C\u0094x\u00FF\u00FD\u00FBG\u00BC!\x05v\u00A5\f\f\f\f\f\u008E\u00D3-\x19R- \u0089\u00DBf\u008A1.Gc7\u00A4yO\x1DC\u00E3\u00AE\x1A\x06\x1FM\x7F\x06\u008BI\x06\fN\u00D3\u00AD\x18\u00D8\u0098\u00D9\t\x1B\u00B29y\x17C\u00BBW/\u0083$\u00AF$\x03\x1F\x07?\u0083\x10\u0097\x10\u0083\u00AC\u0080<\x03\x07\x0B\x07\u0083\u008B\u008A\x1B\u0083\u00A7\u00A6\x0FC\u0082i\nC\u00AF\u00DF$\u0086v\u00EF^\x06#\x19cLC|\u00E7\u00BA1Tn+fx\u00FE\u00F99\u00C3\u00FBo\u00EF\x18\u00D6_^\u00C30\u00E3\u00F8d\x06&F&\u0086=wv1l\u00BF\u00BE\u0085a\u00C1\u00E99\f\u00C5\u009B\u00F2\x18*\u00B7\x163\u009C{r\x16n\b\x00\x00\x00\u00FF\u00FF\"\u0098\u00A1H\u00CAp\u00E4`\u009C\u00E9c^\u00C4R\u0086\x15\u00B1\u00EB\x19\u00BA}'2\u00AC\u0088]\u00CF\u00B0\"v=\u0083\u009E\u00A4\x01\u00F1\tLAP\u0091A\u008CG\u009Ca\u00C6\u00B1\u00C9\fb<\u00E2\fb<\u00E2\f\u0097\u009E_ \u00CE\u0080\u00EF\u00BF\u00BF\u00C1\u00D9\u0087\u00EE\x1D\u0080\u00B3\u00FF\u00FF\u00FFO\u009C\x01\u00EAb\u009Ap\u00F6\u00E1\u009C\u00D3p6###q\x06\u00E4\u00DB\x1430000\u00FC\u00FD\u00F7\x17^\u00CAo\u00BD\u00BE\u0091\u00F8Ti(c\u00C2\u00C0\u00C0\u00C0\u00C0\u00B0\u00E4\u00DC\x02\u00B8\u00D8\u008Cc\u0093\u00897\u00C0b\u0092\x01\u0083\u00C5$\x03\u0086)G\u00FB\u00E1b\x1F\x7F|\"\u00CE\u0080\x7F\u00FF\u00FF1\u009C\u00C8\u00BB\u00C0\x10k\u0094\u00C0\u00E0\u00A4\u00EC\u00CA\u00C0\u00C0\u00C0\u00C0\u00F0\u00F6\u00EB\x1B\x06\x16&\x16\u00E2\fpS\u00F3`````\u00C8\u00B6)`\u00E8\u0084\u0096\x15\u00A1\u008B\u00FC\u0088\u00CF\u0099{n\u00EFb\u0098x\u00B8\u009B\u00C1z\u00B2\x11C\u00D8\"\x7F\u00ACU\x13\u00C10\u00D8xe=\x03;\x0B\x07F\x11\u008D\u00D7\u0080\x17\u009F\u009F3T:\u00D73\u00ECH\u00DB\u00CFP\u00EB\u00DA\u00C4 \u00C3/\u00CB \u00C6#\u00C1\u00F0\u00E5\u00D7\x17\u0086H\u00C3X\x06?\u00ED@\u00866\u00AFn\x06\x11nQH\u00A2b\u00F8\u008Fj\u0080\x10\u00A7\x10\u0083 \u0097 \u00C3\u00AE\u009B;\x18\u00CE?=\u00C3\u00F0\u00E8\u00C3C\u0086W_^0\u00F4\u00F9Nf`efe\u00B8\u00F4\u00FC<\u00C3\u00C3\u00F7\x0F\x19\n\u00ECJ\x18\u00EA\u00DD[\x19\u00A0\u00FA\x11\x06\u00B0\u00B1\u00B03\u0094m.`\u00E8;\u00D8\u00C9\u00B0\u00E5\u00DA&\x06&F\u0088T\u00DD\u00CEJ\u0086Eg\u00E61<x\u00F7\u0080a\u00E6\u00F1)\f5\u00DB\u00CB\x19\x1AwV\u00C3S%\x13\x03\x03\u00C3/J0\u0080\u00D72\x0B\u0089*\n\u00E3\u00F8\u00CF;\u00CB\u00BDj\u00A3\u008D\u0086\u00A0\x15\u00D1\"\b\x11\u0086X\u00E0`1^5\tQ*\u00CA\u00CA\x16\u008A\u0082\x12$\x057\u00D26H\u0084\"\nzh\x10{(EJ\u0090\n*_\x12\u0085\u0082\x16\u00A4 \x12R\x0B#\u00C9ut\x1C\u00D7qf\u00BCs{\u00B0\u00A4\u00CB \u0091\u00CC\u00F4\x1D\u00BE\u0087\u00F3\u00E7\x1C\u00CE\u00EFp\u0096\u00EF\x1F\u0088\u00C2\u00A3\x06\u00ADp\u00FD\u00CF\u00F8g\b\u00A7\u00CB\u00B9XI\x7Fg^b>\u00B9\u009B\u00F7\u00F9\u00E9F\u00BD\x18x\b\x15\u0095\u00EB9\u00B7\u00FC\u00F4\u00C6\x0F\u00F79k)\u00D4hCS\u0083\u00B8<\u00B3\u0081\u0087p\u00BA\u00C6\u00C9\u0088\u00CF\u00D2h\u00DF\x1C\u00BD\u0094\u00A7U!\u00E9%\u008D^\u00FE\u00ACX\u00E3\u00BC\x02\x04\u00A1r\"\u00F9\u00B4\u009Fz\u00F2a>\u00C9k\u00B7i4\u008F\u00E2\u00A1g\u00A4+\u00F0wb\u00DA3C\u00D1\u00CER\u008D\u00D6m\u00EFb\u009Dy=\u00B1\x11\u00AB\u00B5\u00EE\u00E3\u00C5E\u00C2\u008C\u00E1\u0081\u0087\u00D8\x1A\u0097\u00C4\u00E8\u00CC\u00E8b\u008E\u00CD\u008CQ\u00F9\u00BC\u0084\x12k\u0085f\u009C\u00E2Sh\u00F9\u00FC48\u00AF\u00E3\u00CBh7\u00BB\u00EB\u00ACd\u00DFM'\u00AF>\u0097\x03\u00F59\u00F8T\u009F\u009F\x158\u00D5t\u0094\u00C8?\x1Ca\u00C0 b#\u00E2h/xCGq'\u00EF\u008A>\u00D2V\u00F0\x1A\u009F\u00EA\u00E3\u00DC\x0E\u00ED\u00F1d\u00D6\u00A6\u00D2\u00E7\u00FC\x1E\u009C\x7F\u00A2\x7F\u00B2_\u00D3\u00B7O\u008F\u0090\u00BCf;i\u009B\u00D2\x19\u009C\x1C \u00B36\x15\u00D9fAY\u00C2\u00FB\x06\x04B \x04\u00D9f!\u00CD\u0096\u0082lK\u00E1`\u00C3\x1E\u00DE\u00F7w \u00DB,\x1Ci\u00DC\u00BF\u00EC\u00C5\u0097\u00840\u00EA\u008C\u00A8\u00A8\x18\x04\x03&1\x02sh\x14\u00A2N\u00C4\x1C\x1A\u0085W\u00F1\x12!\u00AD\u00C4\x1C\x1A\u0085\u00C9h\"R\u008AD\u00FD\u00D5\x04A@/\u00E81\u0089&t\u0082\x0E\u009F\u00EA\u00C3\u00A03 \u00EA\x17\u00E6\u00BA\u00BC.\u00B6\u00C4&\u00E2\u0099w\u00FF\x1D\u00A2>\u00BF\u0089U\u00E11T\u00C8\x178c)$\\\\\u00C1\u0083c\u008F\u00B0n\u0094\u00C9\u0088\u00CFB\u008E\u00CF\u00C4\u00A7*\x1CN:\u008Ed\u0090\u0088\x0E\u008BF\u00D2\u0087b\u00DD \u00A3\u00A8\n*Pj\u00AD$!&\u0081+Y5\\\u00DAU\u008D\u00A8\u0097\u0090\u00F4\"^\u00C5Mi\u00DAy\u00CCa\x0B\x1BZ\x12\u00E2P\u00C3^\u00C6f\u00ECT\u00B7^\u00E6F{\r?\u009C}\u00EC\u00BB\u0097\u00CD\u00E3\u00CEf^\u00F6\u00B6\u00F3\u00E4S3\x13s\x13\u00D4\u00BD\u00BD\u00C3\u00F0\u00D40\u008EY\x07\u00EE\u00F99\u00DA\u00BE\u00B6\u00A2\u00AA*\u00D3\u00EE)\u00AE\u00B5]\u00A5\u00C7\u00DECUK\x19U-e\fM\r\x10\x12\"\u00D05\u00D2\u00C5\u00EDW7\x19\u009Fu`\u00D0\x19\u0096_\u00C0\u0082\x11?\u00D91\u00FB\u0098\u00AA\u00EA0\u008E\x7F\u00CE\u00DB\u00BD\u00BC\u00E8\u0085\x0B2A ^\x023TDQ\u0096f\u00A8\x15\u00D5*\u00ADh\u00D3\x06\u00CE\u00B5\u00D1\u00CB\u00A2\u00B5dk\u00ACbM[\u00F5\u008F\u00FF\u00D4l\u00B3\u0097\rg\u00A55\u00B1i\u00CBi\u00EE\x0E#5 \n'\x13\u0090\x17E\x02\x14/\u0090\"\u00E0\u00BD\u00DC\u0097s\u00EE\u00ED\u008F\u00E2\u00D6\u00E9P\u00E3\u00E5\x12\u00FD\u00D1\u00D9\u009E?\u00CEw\u00BF\u00ED\u00F79\u00CF\u00F3\u00DB\u00F9=\u00DFg\u00DA\x06e\u00D6\r\u00CE\u008C\x19\u00A4\u00FFl#3\u00EB\x00\u00AB\u0093\u00EE\x0EX\u00C6\u00B1\u0088\x0E\u009F\u00C7g\x05\x15\x06}<C7m\u0080-Y\u0085\x01\u00CB9\x16}#v\u00E2,\x0Bt\u00DA\u00B0k\b\u0084 g`\u00D4\u00E3\f\fT\u00C6\u009E\u00C1\u00D1A<\u009A;\u00E0\x03\u00C6\u009E\u00C3\u008D\u0087\x10&@0)\x00\r\rk\u0098U\u00A7\u009Dl\u00B7\u00F1\u00F0\u00A2\u008D\u0086\u00B5\u00B5?W\x07\u00FF\f\u00ACJ\u00BC\u00CB\u00B8Q\u00D7\u00F7\u00E4gn6\u00E8#\u00EE\u00E1\u00E0\x03\u00ACM\u00C95h\u0099\u00B1Y\u00A4F\u00A7\u00E9\u00B4_\x1C\x03\u00B8TWp\x01\\\u00AA\u00CB\u0090\x01U\u00F3\"\u00C9\x12aJ\u0098N\u00B7\u00B5}\u00F3\u00B7\u008E|\u00CA\x00\u00AAO%m^\u00BANk\u00E8=G\u00D5\u00C5\u00CAq\u00CARm8\u0094\u00D3\x06H\u00B6&\x1B\u00B4\x1F{jy$\u00E31\u0083\u00DE>0\x03\u00ED{z\u00CC\x1D\x06\u00EDH\u00E3\u0097d\u00C7\u00FF\u00D5?\u00B8\u00B9\u00E1\u00BC\x11\\\x00\u00D5\u00A7\u00B2)\u00E3\t\u00C34\u00A6\u00F3z\x07IQ\u00FA\u00CC\u009C\u00BDRopU\u00D3\x06\u00D0|\x1Aw\u00CE_\u00AC\u00F3\x0Em\u00FD-,\u008B_aX[\u00D7]\u00A3k:\u0082\x02`\u0096\u00CD<\u00F0Q.\u008F\u0096\u00DF\x1F\u0088\u00A2\u008A\u00AD\u00ACL\u00CC1\u00AC\u009D1\u00E3\"\u0089\x12\u00AA\u00E6\u00C5,\u0099\bS\u00C2\u0090E\u0085\u00DC\u0094\r\u00BA5}#v\x1C\u00EE[\u00C1\x07\b7\u00CD\u00E1\u00DB\x17j\u00A9/i\u00E6\u00EB\"\x1B\u00A2(\u00E2Q\u00DD\u00ACI\u00D1\x0F\u00D8_;\u00F6\n\u00E6I\u00D4\x7FB\x00~\u00BF\u009F\u00A3E6\u00CC\u00BF\x0F)\"B\"\u00D9\u0091\u00F761s\u00E6\u00EB.\u009B\u00AAK\u0095t\x0Ev\u00FC;\rIjt:\u008Bc\u0097\x06\u00DE\u009B\u00ED\u008D\u00EC\u00B0\u00BD>\u00A1\u00DBo\u00D2\x00\u0082 \u00F0I}\u00B9N{\u00F5X\to>\u00F8\x0E\x00{jv\u00F3l\u00C56dA\u009E\u00CA\u00B7L,\x03{\u00EB>\u00E6\u00A5#\u00CF\u00F1a\u00CD\u00FB\x14\u00EC\u00CF'!\"\u0091\u0097\u00BF*f\u00C3\u009E\u00D5\x1Cj\u00F8\u0082\x10%tf[2I\u0094h\u00B67q\u00B0\u00E1s\u00EC#v~\u00E8\u00AE\u00A1}\u00A0\x15A\x10\u00C6\x1D\u0083\u00CF\u00D8\x19\x18\u00DBl*\u00B5\u009E0\u0080(\u0088\u0081\u00B0\u0086Fa\u0092LXB\"0\u00CBfL\u0092\tkh\x14\u008A\u00A8`\r\u00B5\x06\u00AE\\Y\u0092Q5/\x0Bc\x16\u00E1\u00F48\x02\u00CD\u00A8(\u0088D\u0086Fb1[\u00B0\u0086Y\tQB\u00FE\x19\u00C0\u00E9u\u0092\x19\u0097\u00C5\u00CA\u00C4\x1C6g\x15\u00E0RG\u0091E\u0085\u00E5\x0B\u00B2\u00D9\u0092U\u00C8\u00F3k^D\u00F3kl\u00CD~\x1AYTP\u00C4\u00DF~\u00B9e\u00F7\u00ED\u00A4x\u00EDvF\u00DC\u00C3\u0094\u00AC+e\u00EFS\x07\u0090D\u0089{\u00D3\u00F2\u00B8\u00CD\u009A\u008C\u00C3\u00E3\u00E0\u009E\u0094\u00F5,\u008D[\u0086\u00E6\u00D3\u00F0\u00F9}\u00E3\x03\b\b\u00C4[\x12\u0088\u008FH\u00C0\u00A3y\u0090E\x19\u0097:JRt\n\t\x11\t\b\b\u0098d3n\u00D5\u0085\"+8U\x07\u00B9\u00A9\u00EBqxn\u00B1*!\u0087\u00EE\u00C1.\u00FC\u00C0\u0099\u008E\u00EF(\\\u00BE\r\u00AF\u00CF\u008B\u0088\u00C8\u00DC\x10\x0Bu\u00DD\u00B5d\u00C5\u00AD\u00C0\u00EB\u00F3\u0090\x1Au\u00FB\u00F8\x00\u00B2 \u00D1:p\u0081\u0096\u00BEf\u00DA\x07Z\u00D9\u00BE\u00AE\u0094\u008C\u00D8%T\u00B6\u009F\u00A0\u00BA\u00F3\f\u00CD\u00F6&zo\u00F6\u00D0u\u00B3\u008B\u009E\u00C1n\x04D\x04\x04\x1C\x1E'\u00C5\u0087\u009Fa\u00D7\u00C6w9x\u00EE\x00\u00FD\u00CE>\u00F6\u00D5\u0097c\x1F\u00EE\u00E5\u00F1\u00CC'\u00D9\u00B4$\u009F\u00BC\u0085\x0F\x11n\u009E\u008BI2su\u00F8\u00CA\x1Fe\u00FA3\u0080\"\u009B\u00E8\u00B8~\u0089\u00D6\u00FE\x16\u009A\u00AE\u009D\u00E7-\u00DB\x1B4];O\u00EF\u00D0UN]\u00AE\u00E2\u00E4E\x1B&\u00D9Lu\u00E7\u00E9\u00C0\u00D0\u00F2\u00D4\u00E5*>\u00A8\u00D9\u008DW\u00F3Rv\u00BC\u0094!\u00D7M\u008E_8\u008A(\u0088\u00B4\r\u00B4\u00B2\u00F3D\x19\u009F\u00FET\u00CE\u00FE\u00B3\u00FBx\u00EF\u00F4.DA\u00C4\u00AByu\u00E3\u00FA\u00FF\u00BD\u00A1g6\u00E3W\u00F6\u00CD<*\u00AA\u00EB\u008E\u00E3\u009Fy\u00B3\u00BCa\x1B\x04\x05\x06\x04\n\u00B6\x02\"\u008A\"[E\u00D4\u00B8&1z\u009A\x18\x13c\x13\u0083\u00D1hL\"\u00B6\u0092f\u00D5c4\u00AD\u008DIl\u00AA6\u0098\u00D3\u00A6V=\u00B1\u00C6D\u00EB\x12\u00AB\x01\x05\u00DCP\u00DC\u00D1 F\x04\\@q\x1B\x17\u0090a\u00967\u00EF\u00F5\u008F\u00C1\u00A9T\x1Cl#\x15\u00CF\u00F1\u009Es\u00CF\u0099\u00F7\u00DE\u00EF-\u00F3=\u00F7\u00FE~\u00BF\u00FB\u00FD}o[(x(\x0F\x0B.\x0Fb\u00C1\u00E7!\b\u00FFcs\u00C8\x0E,\u0092\u0085\x06{\u00C3\x1D\u00BBU\u00B2\u00BA\u00FC\u00B4\u00C5\u008D\u00DD\u00CD~kdk\u00F3 \u00D4Z\u00AE\u00F3z\u009F_\u00B1k\u00CAAvg\x1E\u00BAc\u00FF\u00E8\u0089O\u00F1\x16}\u0088\u00F0\u008F\u00A40\u00F3\u0080[\u00DB\u00DD\u0099\u00870\u0088\u00BE\u00AEbt\u009B\x06\u00C1\u00EE\u00B0\u00F3\x13\u00FFH\u0092\u00C2RZ\u00B4]\u00F3\u00FD*\u00AA\u00AF\u009F\u00E1\u0099\u00F8\u00E7h\u0089m[W\u00B2\u009A\x06\u00C9\u00FC`\u008C\u0084z\u00DB\r\x06u\x1EB\u00A8o\u00B8[\u00BB\x03\u00D5{\u00A9\u00B8RN\u00E7\x0EQ\u00F4\u0089\u00EC\u00E76\r\u0096\x15\u00995%\u00AB\u00B0I\u00B6{\u0096.\u00B7\x1A\bvY\"\u00C4\u00D0\u0091\u00B4\u0088\u00BEh\u00D4\u00EE\u0097R\u009B\u00CBr8q\u00A9\u008C\u0091\u00DD\u009F\u00C5K\u00E7\u00ED\u00D6vky>\u0097n\\\u00FA\u00D1\u008B\u0094\u00FF\x0B\b\r63i\u0091}\u0089\t\u008AukWz\u00A1\u0084\u0083\u00D5\u00FB\u0089\u00F0\u008B\u00A4_\u00A7\x01-\u00FE\u00B9\u00F5\u00A5\u00FF\u00E0z\u00C3\u00D5\u00BBf\u00E7\u00EE\x1B\b\u0092,\x11\u00E8\x1DHz\u00A7\u00FE\u00E8\u00D4:\u00B7\u00B6\u00B1Aq\u00AC\x1C\u00BB\u0096\r\x136c4\x04\u00BB\u00B5\u00DD_\u00B5\u0087\u00AA\u00AB\u00A7\x11\u00EERap_Ah\u00B07\u00D0=\u00A4g\u00B3\x14\u00D7\u00AD\u00ED\u00CC\u00B5S\u00FCr\u00F9\u00D3$\u00FC\u00A1K\x13\u00D1\u00E4\u009DZn\u00D9w\u00D4\u00D4\u00D6\u00A0V\u00B5q\x10d\u00C5\u0081\u008F\u00E8CJxj\u008B\u008C\u00E6\u00E1\u00B3\u00C5\u00EC\u00AF\u00DA\u00CB\u00F3\t\x19\u00C4\u00DC\u00A2\u00D3k\u00AE\u0095]:N\u00E9\u0085\x12T\u0082pO\u00FDA\u00AB\u0080`\u0095lt\t\u00EA\u00CA\u0090\u00A8\u00C7\u00DC\u00DA\u0099\u00CC\u0097\u00C9+\u00DF\u008C\u009F\u0087?\u00BD#\u00D3\u00D1\u00B60m\u00F2O\u00E4r\u00FC\u00C21\u00C4\x16\u00EC\u00EE;\b\u00B2\"\u00E3\u00A9\u00F3$),\x05/\u00D1\u00BD\u0097\u00AF\u00B8\\\u00CE\u0086\u00D2\u00B5\f\u008A\x1E\u00DA\u00AC\u00B0\u00F4\u00D6v\u00D2T\u00C9\u00DE\u00AA\"\u00B4\x1A]k\u00CC\u00DE{\x0B\u0082$K\u0084\u00FA\u00861\u00A2\u00EB\u0093n\u00ED\u00CCv3\u00AB\u008F|M{\u00CF\x0E\u00A4\u0086\u00F7\u00C6\u00AB\x05\x11\u00D1\u00BE\u00EA\"\u008E\u009C+FT\u008Bm\x1F\x04\u008D\u00A0\u00E1\u008A\u00F9\n\x1F\u00E7\u00CF!k\u00FD\u0094f\u00FBo\u00D6O\u00E5\u008D\u00F5\u0099\x14Tl!),\u0099\u00DE\x11\u00E9n\u009Fy\u00B1\u00EE\x02;O\u00EE@\u00A3\u00D6\u00DEs_\u00D0* \b*\u0081z\u00DB\r\u00F6T\u00ED\u00E6\u00D0\u00D9\x03\u00CD\u00F6\x03g\u00F7Qz\u00B1\x04\u00BDFOJxo\u00FC=\u00FD\u00EF<\u00B2\x1C\x12\x1B\x7F\u00F8\u0096\u009D\u0095[o+%\u00B6Y\x10\x1C\u00B2\x03\u008D\u00A0\u00E1\u00F1.\u00C3\u00F9h\u00F8\x1FY4r1\u00BF\u00EE\u00FB&\x11~\u0091H\u00B2\u00DD\u00B5\u00E0\u00B1Kv:w\u0088\u00E6\u00D1.O\u00B8}^N\u00D9F>\u00DF\u00B5\x10_\u008Fvm\x7F)\u00AD\u00A0\u00A0\x114L\x1F\u00FC>\u00B9\u0093\u00B6\u00F3F\u00FFwH\fM&:0\u0086\u00E1]\x7F\u00C1\u00E2\u00D1\u00CB\u00D9<q'\u00B1\u0081]]2\u00A9\u0084\u00D0D\x02\x1A\u00A5\u00C9\u00CD\u00F9\u0096\u00CF\n\u00E73g\u00CB,<u^\u00F7\u0094Ro\u00BD\u0091\u00A08\u00B7\u00D1\fv\x13\x16E\u00AD\u00C8\u00ECG\u00E7\u00A2(\nA>FF\u00C5\u008F\u00BEc\x1A\u00FD\u00D4\u0092a\u00AC:\u00FC\u0095\u00AB\u00C0\u00F5\u00C0\u0090*\u00C7/\x1D\u00C3lw\u00BF\u00BC\u00DDV\u0099\u008FV\u00AD\u00E5\u00B5\u00B4\u00A9\u00B7\u00ED.\u00CB;\u0091\u00CB\u00C8%\u00C3\u0098\u00F8M\x06u\u00D6\u00DAVs\u0082\u00AD\x06\u0082J\u00A5\u00A2\u00A6\u00AE\u0086QK\u0087\u00B3\u00B2x9\x0EYjr\u00BD\u00D2TA\u00E6\u009AIl\u00AB\u00C8g\u00DDK9\u00F4\u00ED\u00F4\b\u00A5\u00E7K\u00F8sQ6cW<C\u00DA\u009Fz13\u00E7]\u00AE6\\E\u00A7\u00D6\u00B5\u00FA\u00F0o\u00B5\u0091  \u00D0`o {\u00D7\x02\u00***\u00FF\u009C\x01\u008Bz3\u00F0\u00F34\u00FA}\u0096\u00C2\u008B+F\u00F3\u00FD\u00F9#\u00FCp\u00B1\u0094a_\f$ma\x02\u00AF\u00AC\x1E\u00C7\u008A\u0083\u00CB\u00A8\u00BEV\u008D\u00A8\x16[\\h=P\x1C\u00A3Z\u00A5v\u0089\x10\x14EA-8\u008FU\u00A8\u00B0;\u00EC\b*\x01Q\u00A3G#hQ\u00A9\u00DA\x06\u00CF\u00DB\u00E2WH\u00B2\u00E4\"@\x15EqjQ\x15\x19I\u00B6#\u00C9\u0092\u00EB\u00FA\u00CD\u00DF\u0092,\u00E1\u0090\x1D\u00CE\u0090\u00A98\u009A\u009C\u0097\x15\u00B9\u00C9\u00F1\x7F\u008A\u00E6\u009C\u00CFV\\\u00E1\u00D6*Y\u0090\x1A\u00A7\u0096\u00A2(M\u00C8U\u0087\u00EC\u00B4u\u00C8\u008E\u00DB\u00DE+\u00C9\x12\x16\u00C9\u00E2:\u00FEQ \u00D8\x1C6\u00DE\x1A0\u009D\u00A8\u0080h\u00AC\x0E+\u00B1Aq\u008C\u00E9\u00F1\x02\u00BDB\u0093\u0099>p6\u00CF\u00F5x\u009E\u008C\u00C4\tD\u00F8G2c\u00F0l^N\u0099LF\u00E2\x04^N\u009DL\u00B7\u00E0\x1E<\x19\u00F74S\u00D3\u00B3\x18\u00D3s,/$\u008Cch\u00D4\u00E3LI\u009F\u00C6\u00D8^\u00E3\x18\u00D9\u00EDY\u008C>\u00C1H\u00B2S\u00B4k\u0091,\u008C\u008A\x1FM\u00AC1\x0E?\x0F?\u00A6\u00F5{\u0093\u00AC~\u00EF\u00F0\u00DE\u00C0\u0099\u00F4\u00EC\u0098@\u0090\u008F\u0091\u00CC>Y\x18\r\u00CE{\u00C6$\u008C\u00A5\u00AB1\u008E\u00C9iS\x18\u009F2\u0089\x17\x13\u00C7\u00F3\u00C8\u00CF\x06\u00D3=\u00A4\x07\x19I\u00E3\u0099\u0098\u00FA*\u0099\u00E9\u00D3\u0088\x0E\u008Ci\u0091\u0099\x16ZJ~\u0092\u00C2R\u0098\u0098\u00FA\x1Ao\r\u0098\u00CE\u00ABiS\tm\x17\u008E\u00D1\x10L\\H7\u00FC\u00BD\u00DAc\u00F4\r\u00C6d6\u0091\x18\u0096L\u0098_8~^\u00FEx\u008B\u00DExj=\u0088\n\u0088\u00E6\u00A7\x1D\u00A2\b2\x18\u00A9\u00AE=\u0083\u00D1\u00C7H\u0097\u0080X\u0082\fF<tz\u00AE[\u00AEA\u00E34\u0091\x1C\x12\u009D;D\x13\u00EC\x13B\u00F6\u00C8\u00BF\u00F2\u00E9\u00F6\u008F\u0099[\u00F0[\u00E6m\u009BKbX\n\x13R^\u00A1\u00DEv\u0083\u008C\u00C4\u00F1\u0084\u00B7\u008B :0\u0086\u00F6\u009E\x01\u00C4\x19\u00E3\u00E9\u00E8\x1BF\u00B0!\x04\u009B\u00C3J;\u00BD\x1FQ\x011D\u00F8Er\u00FA\u00EA)\u00CE\u00D7\u00D5\u00A0\u00C2)\x07\u00F7\u00D6y\u00A34\x03\u00C8]M\u00CA\u0095\u00C5_2;w\x06+\x0E-\u00C5[\u00E7\u008D\u00A8\x11\u00A9\u00B8\\\u00CE\u0096\u00B2\\\u00F2\u00CAr\u00D1\n\x1A\x14Ea\u00D5\u00E1\u00AFXT\u00B8\x00S\u00BD\u0089\u00F8\u008E=\u00A9\u00B3\u00D6\u00F1\u00CD\u00E1\u00BF\u00F3\u00BB-\u00EFSP\u009E\u0087$Kl\u00AF\u00DC\u00CA\u00EF\u00F3>`\u00F9\u0081e\u00D4Zk\t\u00F6\t\u00E6\u0083\u00C7>$),\x19\u00B5\u00A0\u00C6!K\u00E4\x1E\u00DF\u00C8K\u00C9\x13\u00F1\u00F500(j(z\u00AD\x07{\u00CF\x14\u00E1\u00A9\u00F5d\u00D1\u00AE\u0085$\u0087\u00A7\x12\x1F\u009C\u0080\u00A0Ra\u00B6\u00D7St\u00BA\u0090\u00DC\u00E3\u009B\u00A84\u0095\u0093\x18\u0096\u00C4\u00EES\u0085\u00CC\u00C9\u009B\u0085\u00C9lbB\u00CAd\u00AC\x0E\x1Bz\u00AD\x1E\x1F\u00BD\x01\u00C7\x7F\x0B\u0082\u0087\u00D6\u0083\u00A7\u0096\fco\u00D5\x1E\f\u00A2\u0081\u009D'w0#\u00E7mV\x1F\u00F9\u009A\u00B7\u00FF\u0099\u00C5\u00B1\x0B%\x14\u009D\u00DE\u0085\u00C9lb\u00C4\u00E2\u00A1\x1C=_\u0082$K,\u00DB\u00BF\u0098\u00EC\u00C2\x05d\x17\u00CE\u00A7\u00F0\u00E4\x0E\f\u00A2\x01\u008D\u00A0\u00E1\u00CB\u0083KYY\u00BC\x1C\u00BDF\u008FZP\u00A3S\u00EB\u00B8\\\x7F\u0099\u0099\u00DF\u00BDK\u00F1\u00B9C\u00CC\u00CAy\u008Fm\u0095\x05\u00FCm\u00DF\x17\u00FC\u00A5h\x11\u00F5V3\u00DF\x1E]\u00C3\u0082\x1D\u00F3\u00C8-\u00DB\u00C4\u00FC\u009D\u00F3\u00B8f\u00B9\u00C6\u00DA\u0092\u00D5\u008CX<\u0084\u0082\u008A<\u00B2\u00D6\u00BD\u00CE\u00A6c\x1B\u00D8W\u00B5\u0087\u00B3\u00D7\u00AB\u00F9d\u00EB\u0087\u00AC?\u00BA\u0086z[=\u00DB*\u00F2\u00F9\u00A4`\x0Ez\u008D\u009EZK-5\u00B5\u00E7\u009A\u0095.\u00B68\x12tj\u009D\u008B\u00D4\x14T\u00CE\u009D\x02N\x0F/\u00A2\u00D3\u0088\u0088\x1A\x11A%8\u00E3{c\u0082\u00A3\x16\u00D4h\x04\r\u00EAF[W\u00E4\x10\u00D4\u00B7\u00ED@RpF\x10Q#6!Vn\u00EE@\u00D06\u00E6\r7\u00DF}3\u0087\u00D0\u00AA\u00B5\b*\x01\u00ADZ\u0087\u00D8\u00F8\x1D\u00FF>\u00A7u\tI\u00EE&\x02=\u00ACE>\x04\u00C1\u00D9\u00FE5\x002&\u008AG*O\u00E2\u00A1\x00\x00\x00\x00IEND\u00AEB`\u0082"
;

iWantAcheckSheet();
    function iWantAcheckSheet(){        countClick=0;    myCheckDialog=new Window ("dialog", "CheckSheet Setup");    myCheckDialog.graphics.backgroundColor = myCheckDialog.graphics.newBrush (myCheckDialog.graphics.BrushType.SOLID_COLOR, [0.55, 0.7, 0.3]);    myCheckDialog.margins = [20,20,20,20];     hJ_group = myCheckDialog.add ("group");     hJ_group.alignment=["center","center"];    hJ_group.add('image', undefined, myHJ);    hJ_group.minimumSize.height = 90;        var myCoverPlanGroup=myCheckDialog.add("group");     myCoverPlanGroup.orientation="row";     myCoverPlanGroup.alignment="right";     //st = gp.add('statictext', undefined, 'X', {multiline:true}),     myCoverPlan=myCoverPlanGroup.add ("statictext", undefined, "x",{multiline:true});     X_WIDTH = myCoverPlan.preferredSize[0], // Here I grab the X width     PREFERRED_WIDTH = 275;     // Your preferred width, in px        with( myCoverPlan )        {        preferredSize = [-1,-1];        characters = ~~(PREFERRED_WIDTH/X_WIDTH);        preferredSize[1] = -1;        }    myCoverPlan.text ="Enter the spine size in decimal inches (ex: 1.125) or as a fraction (ex: 1 3/8)";     numPages=myCoverPlanGroup.add("edittext",undefined,"");     numPages.minimumSize.width=80;     myChoice=myCheckDialog.add("panel");    radioChoose= myChoice.add ("group");    radioChoose.orientation="column";    //myPanel.hide();     buttonChoose=radioChoose.add("radiobutton",undefined,"Press For spine calculation");      radioChoose.children[0].value = false;    mouseEventHandler = function(ev){    radioChoose.children[0].value = false;    countClick += 1; // count clicks    countClick=countClick%2;    if(countClick==0){myPanel.hide();}    else{myPanel.show();}
};
var myPanel=myCheckDialog.add("panel");    radioSize= myPanel.add ("group");    radioSize.orientation="column";    myPanel.hide();    radioChoose.addEventListener('click', mouseEventHandler);    var button900=radioSize.add("radiobutton",undefined,"Press For 900 book size");      radioSize.children[0].value = false;
var mouseEventHandler = function(ev){    radioSize.children[0].value = false;
};    button900.addEventListener('click', mouseEventHandler);           var myCoverPlanGroup=myPanel.add("group");     myCoverPlanGroup.orientation="row";     myCoverPlanGroup.alignment="right";     myCoverPlan=myCoverPlanGroup.add ("statictext", undefined, "  NUMBER OF PAGES:");     numPages=myCoverPlanGroup.add("edittext",undefined,"");     numPages.minimumSize.width=80;    var stockGroup=myPanel.add("group");    stockGroup.orientation="row";    stockGroup.add("statictext", undefined, "PAPER STOCK:");    myPaper=stockGroup.add ("dropdownlist", undefined, ["80 #","100 #", "80 # MATTE","100 # MATTE","100 # Premier"]);    myPaper.selection = 0;     var myOKGroup =  myCheckDialog.add ("group");    myOKGroup.orientation = "row";    myOKGroup.minimumSize.height = 40;    myOKGroup.add("button", [15,80,95,110],  "OK");    myOKGroup.add("button", [15,80,95,110],  "CANCEL");    myOKGroup.alignment=["right","bottom"];     }     var myResult = myCheckDialog.show();     var mySize=120;    if(myResult == true){      }

script to align all objects in the whole document to the left and to margin

$
0
0

Hello,

I need a script to align all object in the whole document (all pages) to the left and top margin. is that possible?

thank you!

Viewing all 8771 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>