Toolbar Buttons in PDF documents

Explorer ,
Jul 19, 2018

Copy link to clipboard

Copied

help, a query you can create a toolbar for each pdf: and when you send the pdf by mail the person who opens it will open that toolbar ....

TOPICS
Acrobat SDK and JavaScript, Macintosh, Windows

Views

327

Likes

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

Toolbar Buttons in PDF documents

Explorer ,
Jul 19, 2018

Copy link to clipboard

Copied

help, a query you can create a toolbar for each pdf: and when you send the pdf by mail the person who opens it will open that toolbar ....

TOPICS
Acrobat SDK and JavaScript, Macintosh, Windows

Views

328

Likes

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
Jul 19, 2018 0
Most Valuable Participant ,
Jul 19, 2018

Copy link to clipboard

Copied

Yes, that's possible. For example, you can embed this code as a doc-level script to create a toolbar with one button that will open with the file:

app.addToolButton({cName: "MyToolbar1", cExec: "app.alert(\"Hi!\",3);", cLabel: "Hi!"});

Likes

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
Reply
Loading...
Jul 19, 2018 0
Explorer ,
Jul 19, 2018

Copy link to clipboard

Copied

Thank you very much, I saw that there is an AcroButtons tool that makes this task much easier but it is no longer possible.

to that window is that you can put a hexadecimal code so that you have an image is it true?

and you can do that when you click on accept go to an attachment of the pdf?

thank you very much thank you

Likes

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
Reply
Loading...
Jul 19, 2018 0
Most Valuable Participant ,
Jul 19, 2018

Copy link to clipboard

Copied

Yes, that's true, but creating such as image hex string is quite complex.

And yes, you can set the action of such a button to open an attached PDF file.

Likes

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
Reply
Loading...
Jul 19, 2018 0
Explorer ,
Jul 19, 2018

Copy link to clipboard

Copied

What should I replace?

//Acrobat JavaScript Dialog

//Created by DialogDesigner from WindJack Solutions

//<imageData name="asdf" item_id="img2" width="25" height="25">

var asdf =

"00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0" + //0

"00C0C0C000C0C0C000C0C0C0FF000000FF00000000C0C0C000C0C0C000C0C0C0FF000000FF000000FF00000000C0C0C000C0C0C000C0C0C000C0C0C0FF000000FF000000FF00000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0" + //1

"00C0C0C000C0C0C0FF00000000C0C0C000C0C0C0FF00000000C0C0C000C0C0C0FF00000000C0C0C000C0C0C0FF00000000C0C0C000C0C0C0FF00000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0" + //2

"00C0C0C000C0C0C0FF00000000C0C0C000C0C0C0FF00000000C0C0C000C0C0C0FF00000000C0C0C000C0C0C0FF00000000C0C0C000C0C0C0FF00000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0" + //3

"00C0C0C000C0C0C0FF000000FF000000FF000000FF00000000C0C0C000C0C0C0FF000000FF000000FF00000000C0C0C000C0C0C000C0C0C0FF00000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0FF00008000C0C0C000C0C0C0" + //4

"00C0C0C000C0C0C0FF00000000C0C0C000C0C0C0FF00000000C0C0C000C0C0C0FF00000000C0C0C000C0C0C0FF00000000C0C0C000C0C0C0FF00000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0FF000080FFFFFFFF00C0C0C000C0C0C0" + //5

"00C0C0C000C0C0C0FF00000000C0C0C000C0C0C0FF00000000C0C0C000C0C0C0FF00000000C0C0C000C0C0C0FF00000000C0C0C000C0C0C0FF00000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0FF000080FFFFFFFF00C0C0C000C0C0C000C0C0C0" + //6

"00C0C0C000C0C0C0FF00000000C0C0C000C0C0C0FF00000000C0C0C000C0C0C0FF000000FF000000FF00000000C0C0C000C0C0C000C0C0C000C0C0C0FF000000FF000000FF00000000C0C0C0FF000080FFFFFFFF00C0C0C000C0C0C000C0C0C000C0C0C0" + //7

"00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0FF000080FFFFFFFF00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0" + //8

"00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0FF000080FFFFFFFF00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0" + //9

"00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0FF000080FFFFFFFF00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0" + //10

"00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0FF000080FFFFFFFF00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0" + //11

"00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0FF000080FFFFFFFF00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0" + //12

"00C0C0C000C0C0C000C0C0C0FF000080FF000080FFFFFFFF00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0FF000080FF000080FFFFFFFF00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0" + //13

"00C0C0C000C0C0C0FF000080FF000080FF000080FF000080FFFFFFFF00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0FF000080FF000080FFFFFFFF00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0" + //14

"00C0C0C000C0C0C0FF000080FF000080FF000080FF000080FF000080FFFFFFFF00C0C0C000C0C0C000C0C0C0FF000080FF000080FFFFFFFF00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0" + //15

"00C0C0C000C0C0C000C0C0C0FF000080FF000080FF000080FF000080FF000080FFFFFFFFFFFFFFFFFF000080FF000080FF000080FFFFFFFF00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0" + //16

"00C0C0C000C0C0C000C0C0C000C0C0C0FF000080FF000080FF000080FF000080FF000080FF000080FF000080FF000080FFFFFFFF00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0" + //17

"00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0FF000080FF000080FF000080FF000080FF000080FF000080FFFFFFFF00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0" + //18

"00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0FF000080FF000080FF000080FF000080FF000080FFFFFFFF00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0" + //19

"00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0FF000080FF000080FF000080FFFFFFFF00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0" + //20

"00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0FF000080FFFFFFFF00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0" + //21

"00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0" + //22

"00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0" + //23

"00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0"; //24

//</imageData>

var CustomAlert =

{

    result:"cancel",

    DoDialog: function(){return app.execDialog(this);},

    initialize: function(dialog)

    {

        var dlgInit =

        {

            "img2":

                {

                    "width": 25,

                    "height": 25,

                    offset: 0,

                    "read": function(bytes){return asdf.slice(this.offset,this.offset+=bytes);}

                },

            "stat": "Your Spelling leaves something to be desired.  If you continue the staff may reject you're proposal out of hand",

        };

        dialog.load(dlgInit);

    },

    commit: function(dialog)

    {

        var oRslt = dialog.store();

    },

    description:

    {

        name: "Custom Alert",

        elements:

        [

            {

                type: "view",

                elements:

                [

                    {

                        type: "view",

                        align_children: "align_top",

                        elements:

                        [

                            {

                                type: "image",

                                item_id: "img2",

                                width: 25,

                                height: 25,

                                char_width: 4,

                                char_height: 4,

                            },

                            {

                                type: "static_text",

                                item_id: "stat",

                                width: 224,

                                height: 64,

                                alignment: "align_fill",

                                font: "dialog",

                            },

                        ]

                    },

                    {

                        type: "ok_cancel",

                        ok_name: "Continue",

                        cancel_name: "Return and do Spell Check",

                    },

                ]

            },

        ]

    }

};

// Example Code

if("ok" == CustomAlert.DoDialog())

{

}

It's one of Tom's shows

Likes

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
Reply
Loading...
Jul 19, 2018 0
Most Valuable Participant ,
Jul 19, 2018

Copy link to clipboard

Copied

Quite a lot... That icon string won't work for this, as it has to be 20x20, while that one is 25x25.

Here's the basic code to do it:

var tbIconString = "*** INSERT ICON HEX STRING HERE ***";

var tbIcon = {count: 0, width: 20, height: 20, read: function(nBytes){return tbIconString.slice(this.count, this.count += nBytes);}};

app.addToolButton({cName: "MyToolbar1", cExec: "app.alert(\"Hi!\",3);", oIcon: tbIcon});

Likes

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
Reply
Loading...
Jul 19, 2018 0
Adobe Community Professional ,
Jul 19, 2018

Copy link to clipboard

Copied

DEM, that code is from a very old version of AcroDialogs.  Are you using Acrobat 9 or earlier? You'll find an updated Online verion of AcroDialogs here: Automating Acrobat can save you loads of time

You will also find a tool for creating toolbar buttons (and generating the icon string).

Likes

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
Reply
Loading...
Jul 19, 2018 0
Explorer ,
Jul 19, 2018

Copy link to clipboard

Copied

you are a genius thank you very much

Likes

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
Reply
Loading...
Jul 19, 2018 0
Explorer ,
Jul 19, 2018

Copy link to clipboard

Copied

hello thom i'm using acrobat xi how is it done to download that tool as it's called?

Likes

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
Reply
Loading...
Jul 19, 2018 0
Adobe Community Professional ,
Jul 19, 2018

Copy link to clipboard

Copied

hello thom i'm using acrobat xi how is it done to download that tool as it's called?

First, you need to be a member of the site. Then you can go to this page,

https://www.pdfscripting.com/members/Creating-Acrobat-Toolbar-Buttons.cfm?sd=35

Which explains how toolbar buttons work and all the details you need to create one.

The page includes a download sample file "AcroJSToolButton_Sample.pdf" that's actually a tool for creating Toolbar button scripts.

Likes

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
Reply
Loading...
Jul 19, 2018 0
Explorer ,
Jul 19, 2018

Copy link to clipboard

Copied

//Acrobat JavaScript Dialog

//Created by DialogDesigner from WindJack Solutions

//<imageData name="asdf" item_id="img2" width="300" height="100">

var asdf =

"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3d9e1d799004400beecefe9fffefefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcef7f7f7cb72966ce6004900be93af90ecfffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffe0fcfcfcc4a0b89dff004d00ff004a00ff005600ff004000ea005703bdecefeafffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffefffffffffffffffffffffffffffffffffffff4ffffffbfcedacdfc005400ff004100ff004500ff005200ff005d00ff004c00ff004b00ff004000be8ca887eafdfdfdfffffffefffffffffffffffffffffffffffffffffffefefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffeffffffffffffffffffffffffc3eaefe8e82d6a28ff003e00ff004900ff004200ff006000ff00ab00ff00c200ff007a00ff004500ff004e00ff004500eb005500bde4eae3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffccf4f8f7d4658e63ff004200ff004900ff054100ff005400ff009900ff00db00ff00d400ff00c300ff00cb00ff009a00ff005500ff054b00ff004f00ff004600c08ba98ae8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdcfcfcfcc78dab89ff004c00ff004600ff004100ff004900ff008900ff00cf00ff00e200ff00b400ff00bf00ff00ba00ff00b400ff00c500ff00b700ff007b00ff005000ff005b00ff004300ef005300bce0eadffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0ffffffbfbccebeff005900ff004800ff004400ff004200ff007900ff00c100ff00e600ff00e000ff009600ff005900ff009500ff00c600ff00b300ff00b100ff00be00ff009500ff005a00ff004400ff005100ff005700ff004600c27a9d79e5fdfdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0ffffffc1e7ede7ed246728ff004400ff004500ff033e00ff006600ff00b500ff00ea00ff00de00ff00cf00ff00bb00ff007000ff007100ff006600ff00a900ff00bc00ff00bc00ff009100ff005400ff007200ff006500ff004600ff004100ff005600ff004a00f2004e00beecf1ecfffffffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffefefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefefffffffffffffefffffffffffffffffffffefffffffffefffffffffffffefffffffffffdfffffffffffffffffffffffefffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2a5bb9fff004300ff004e00ff004a00ff005300ff00a200ff00e500ff00eb00ff00cd00ff00c700ff00d600ff00a000ff006700ff007900ff006500ff008300ff00c000ff00b300ff006d00ff006100ff006900ff007200ff007500ff005500ff003800ff023d00ff002800ff004200d4fafaf7fffffffffffffffffffffffffffffffffffefefeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc86c9661ff005a00ff004b00ff007a00ff00db00ff00eb00ff00e500ff00db00ff00cb00ff00c800ff00cf00ff008d00ff006900ff007600ff007200ff006a00ff00b300ff00a200ff005f00ff006800ff005d00ff005e00ff006600ff017b00ff006c00ff003900ff022700ff003400c5e5ece1fffffffffffefefefffffffffffffffffffffffffffffffffffffffffffefefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefefffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe7fcfcfcfffffffffffffffffffefefefffffffffffefefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc487ab7dff005c00ff003900ff29b100ff51ff00ff00dc00ff00bb00ff00b300ff00d500ff00cb00ff00c600ff007e00ff007000ff007400ff007300ff006100ff00a200ff009100ff025700ff006800ff008300ff008000ff006c00ff005a00ff006000ff004300ff002700ff005500c7eaf0e5ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbbd7e7d0db30920bff188b00f8fffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc487a97bff005c00ff003f00ff1ba100ff6cfe20ff40db04ff0e7800ff006300ff00bb00ff00dc00ff00b700ff007600ff006c00ff006600ff007200ff006500ff008700ff008000ff005300ff008d00ff00c300ff00b100ff009b00ff008300ff008000ff005a00ff004b00ff006500d5f3f7f6d8f7f7f7b8b1b1b1dcfafafaffffffffffffffffffffffffffffffffbcd4d4d4b8b7b7b7ffffffffbbc8c8c8bfe1e1e1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffeefffffcce52a136ff028900ff008300bba2c98ffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc486ab7aff005c00ff003e00ff23a000ff65ff14ff35a605ff2b810fff208000ff008e00ff00d800ff00a600ff006200ff008600ff009000ff006600ff007100ff006700ff006600ff006c00ff00a700ff00a600ff009800ff009d00ff00a600ff00b400ff008000ff005200ff00620013006b1b74201625ff000000c4626262fffffffffffefefeffffffffe3fcfcfcff000000ff040404f4ffffffba727272b8a8a8a8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaffffffe130920bee008900b9add1a1bad7e7cdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc487ab7dff005b00ff003f00ff1aa500ff56fe08ff2a9600ff218700ff2b9106ff2a8806ff12d500ff009b00ff004f00ff00a100ff00c900ff006c00ff006800ff006b00ff006000ff007200ff00a200ff009800ff009c00ff009c00ff009b00ff00a800ff007800ff004d00ff0062001a2e621c7117141fe5090909e40d0c0fe3fcfcfcffffffffffffffffba959595f4020202ca282828243d3d3d3c171717c9f1f1f1ffffffffffffffffb8c5c5c5c8464646bb6f6f6feafdfdfdffffffffd9f9f9f9c5e6e6e6bcd3d3d3c5e7e7e7ffffffffc9eeeeeec5535353c5545454c9eaeaeaffffffffffffffffb8aed29cff008800f2fffffffffffffffffefefeffffffffffffffffffffffffb7a6a6a6c93b3d3db9898989f6ffffffffffffffd6f5f5f5c5e7e7e7bcd4d4d4c4e9e9e9fffffffffffefefefffefefeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc48aab7dff005c00ff003d00ff23ad00ff4bf10dff218700ff238e00ff209100ff238400ff43c413ff27a300ff006600ff009e00ff00c700ff008e00ff005e00ff006800ff005500ff007300ff00a500ff009b00ff009c00ff009c00ff009b00ff00a800ff007700ff004e00ff0062001a10620b8b130f1ca0181818c3060606ba969696ffffffffffffffffe80a0a0a8d3f3f3fc43434340e333333ca010101c18e8e8effffffffc73f3f3fff000000b51a1a1ae6060606ff060606d3fafafad5f7f7f7ff000000ff000000c9eaeaeabfd7d7d7ff000000c3090909c3101010ff010000b9cfcfd5ffffffffca3ca219ff008400dcfcfcfcfffefffdfffffffffffffffffdfffdffd23d3d3df9050505a7323030dd161616ec060606f4fffdffcdf0f0f0ff020202ff020202bcd0d0d0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc488a97dff005c00ff003e00ff27b300ff47db08ff227d00ff289100ff269000ff229000ff288b00ff278806ff32a303ff19d000ff00b700ff00a000ff005900ff005e00ff005400ff007e00ff00a800ff009a00ff009c00ff009b00ff009a00ff00a700ff007600ff004e00ff0062001a2e621c8f171320930f0f0f52343434f40f0f0fffffffffc2e5e5e5e90c0c0c2a404040e90b0b0b0d373737b6010101b7c2c2c2bfe1e1e1ff101010146666660000000000000000ad2121217a1414142b5e5e5eff040404224a4a4a076d6d6dff1010106a656565000000000000000068484848ff000002eefdfdfdc9f0f7eeff007e00e22d920efdffffffffffffffffffffffba8a8a88ff000000000000000000000000000000de060606ac2b2b2b284b4b4bff020202d4f5f5f5fffffffffffefefeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc487ab7aff005c00ff003e00ff28af00ff43c20aff207e00ff258500ff2a8e00ff249100ff288d00ff207e00ff33af00ff65ff24ff11c500ff009100ff006700ff005b00ff005600ff008500ff00a700ff009a00ff009b00ff009b00ff009b00ff00a700ff007700ff004d00ff0062001a2e62298d17121fb206060900000000ff0c0c0cdefbfbfbc06464649d34343400000000f71010100e333333b3000000814a4a4abd070707a914141400000000000000000000000000000000000000005e292c2cf30606060000000068545454fb00000000000000000000000000000000000000fa000000732a222d000000008a74bb54ff007100c867ae4dfffefefeffffffffd7161618e9030303c7020202dc000000d3000000dd090707cd03030360202020e7020202ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc487ac7dff005c00ff004200ff27a200ff38b102ff258500ff279d00ff2b8f00ff269000ff269000ff247e00ff36ba00ff5dff1aff22c800ff009900ff007800ff005400ff005a00ff008f00ff00a500ff009b00ff009c00ff009a00ff009b00ff00a600ff007700ff004e00ff0062001a2e621c8d090510c82c2c2c00000000b0232323d60c0c0ce5070707215c5c5c0e464646f71010100e333333b40000007c535353a2191919cd1919190000000000000000000000001d272727390000004f303030f0060606000000004a515151ff00000000000000000000000000000000000000ff0202025912121200000000000000008d5aa63eff007400bba2d08fffffffffce241e28de1d1d1d2f9898984a8a80833d7e7e7e5a5a5a5a467f75795a565656e3000000e5fcfcfccff5f5f5cbf3f3f3d6f6f6f6e5fdfdfdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc487ac7dff005d00ff004a00ff189400ff309c05ff289500ff4af000ff2da100ff238403ff269000ff248200ff39ca00ff54fd15ff15c600ff009b00ff008600ff004a00ff005f00ff009a00ff00a000ff009b00ff009b00ff009b00ff009b00ff00a800ff007700ff004e00ff00620016365c2699120a18dd1313130000000032606060ff000000db1212120000000030494949ff1717170e333333c3000000925a5a5a1e898989ff040404812929291430303047272727ff0000007a45454a33545454ff0404040530303000000000ec1d1d1adb0a0a0a1e4242421d444444de0a0b0ce91a1a1a0100ffff000000000000000000000000aa56a53eff008d00ffffffffcdf1f1f1ff02030359424242000000002f444444ed030203418e8e8e3d717171db02020274545454c7060606e1020202eb060606b7a5a5a5ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc488a979ff005b00ff004e00ff1e8500ff2f8f05ff29a200ff51ff00ff34b900ff1e7d00ff268e00ff258b00ff3dd700ff53f812ff1dc600ff009200ff009b00ff005c00ff007800ff00a500ff009b00ff009c00ff009b00ff009c00ff009b00ff00a700ff007800ff004f00ff0061001c1f64177f040407be0f0f0f0000000000000000d606060670464646000000002e212121e40606060a303030a5000000973e3e3e00000000562b2b2bff000000f0050505ff0202029c17171700000000413c3c45e00201020a12121200000000176b4c58d6050505fc040404fe010101d603030314595959000000000000000000000000000000006e7aba65ff008300b8b6e1a9ffffffff612b1f2bff000000f6000000ff000000961414140000000046333333ba00000081141414a0101010a4131313a02a2a2ab8acacacffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc487ac7dff005c00ff004f00ff1b8400ff2f8f07ff2fb300ff54ff02ff3ccc00ff248200ff218900ff2b9700ff43e300ff52f316ff19c700ff008d00ff00a000ff009d00ff009e00ff009c00ff009c00ff009b00ff009b00ff009900ff009a00ff00b100ff007e00ff004c00ff0059003f49763500000000035454540300000007464646000000000280808005666666074646460f5454540000000005666666074646460000000000000000074646464b4545452a4040400000000000000000000000001226262601000000000000000000000000000000440f0f0f38383838000000000000000000000000076d6d6d6f54ac28c838a016f82f990a853b7f285a71ae5002808080000000000e0f5b45465b5b5b1643434300000000000000000c6a6a6a0b101010251d1d1d0e4646460100000013414141eafdfdfdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffca638e5cff005700ff005700ff006500ff258702ff48e206ff4dfa00ff3fdc00ff269000ff1d7c00ff30a700ff4aef00ff50f011ff19c700ff008f00ff009b00ff009e00ff009c00ff009a00ff009b00ff009b00ff009900ff00a300ff00ac00ff009300ff006200ff025700ff005c0048002600165c5c5c55696966512020203d6060604a636363445a5a5a4e545454414d4d4d2c7a7a7a364f4f4f494040404a676767544a4a4a3b51515130858585365959593f6161613e51516342707c494d8fdb7419454545554843434e65656547595959413333332e393939309090901d313131403d3d3d42848488f3145400ff007c00ff0e78006833402f1c5e5078265f56653c1d1d1d605a5a5a346262620c6a6a6a4a636363467c7c7c56575757446969694557575738383838376161614751515140525252c8efefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbfbdcebaff004b00ff004900ff005200ff004b00ff2eac00ff60ff17ff53fe02ff299a00ff156000ff34bb00ff46f400ff50ef13ff1cc800ff008e00ff009b00ff009b00ff009b00ff009b00ff009900ff009e00ff00ac00ff009d00ff007300ff004f00ff005400ff003f00ff15720adefbfbfbf2ffffffd5f5f5f5dbf9f9f9e0fafafadafbfbfbdcfbfbfbd8f9f9f9ecfdfdfde5fcfcfcd6f5f5f5dbfafafadafbfbfbd6f9f9f9dafafafadefbfbfbd9fafafae0fafafadcfafafad4fbfbf8d2f9fcf7e7fcfcfcd8f7f7f7d9fcfcfcd6f6f6f6e5fcfcfce7fdfdfdd8fafafad9f6f6f6dcf9f9f9dcfafafab9d6e4ceb9c7d6c0eafdfdfdf8ffffffdafafafad9fafafadcf9f9f8d3f6f6f6dcfafafaecfdfdfcd8f9f9f9d9fafafad4f8f8f8d8fafafad4f6f6f6e1fafafae0fafafad0f1f1f1defafafad8f9f9f9ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc7f4f4f2ec156223ff003e00ff005200ff003f00ff007b00ff53ed0dff4ce400ff2d9e00ff42e000ff43e700ff50f011ff20c700ff008f00ff009b00ff009b00ff009a00ff009c00ff00ab00ff00a200ff007d00ff005600ff074e00ff004900ff004300cd598657cffbfcfcffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeeffffffc4a0b89eff004200ff004c00ff003f00ff004e00ff32ba00ff72ff1dff4df800ff3ddb00ff50f011ff28c600ff008f00ff009a00ff009b00ff00a700ff00a800ff008700ff005e00ff004d00ff004b00ff004000e321651ebcdde7dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffefefec6eef3eeeb246725ff004300ff004b00ff003800ff047c00ff40e305ff54ff10ff50f20bff1ac500ff008d00ff00a300ff00aa00ff009100ff006700ff054d00ff004e00ff004400fa005601b7bdcfbef6fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff0ffffffc4a4bca2ff004300ff004c00ff003f00ff004d00ff27b100ff72ff29ff29dc00ff009a00ff009900ff007000ff004f00ff004f00ff004600ff004800bd91ad8cdefdfdfdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffc8f3f3eee8316d31ff004200ff004c00ff003800ff1b8a00ff0dc200ff007900ff005400ff074e00ff004900ff003f00ca5b8a5bcbf8f8f6fffffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff2ffffffc3a8bda6ff004400ff004c00ff004600ff004e00ff0f5400ff004a00ff004000df306c2bbce5ebe6fffffffefffefefefffffffefffffffffffffffffffffffffffffffffffffffffffefefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefeffffffffc8eff3eee5317032ff004200ff005400ff004500f5015a05b8c4d3c4fafffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefefffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffffffffffffffffff5ffffffc2abc0a6ef004900bc92ae8ee3fdfdfdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefefffffffefffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcbf2f3efa300500ac2ebefe9ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"

//</imageData>

var CustomAlert =

{

    result:"cancel",

    DoDialog: function(){return app.execDialog(this);},

    initialize: function(dialog)

    {

        var dlgInit =

        {

            "img2":

                {

                    "width":100,

                    "height":33,

                    offset: 0,

                    "read": function(bytes){return asdf.slice(this.offset,this.offset+=bytes);}

                },

            "stat": "Your Spelling leaves something to be desired.  If you continue the staff may reject you're proposal out of hand",

        };

        dialog.load(dlgInit);

    },

    commit: function(dialog)

    {

        var oRslt = dialog.store();

    },

    description:

    {

        name: "Custom Alert",

        elements:

        [

            {

                type: "view",

                elements:

                [

                    {

                        type: "view",

                        align_children: "align_top",

                        elements:

                        [

                            {

                                type: "image",

                                item_id: "img2",

                                width: 100,

                                height: 33,

                                char_width: 4,

                                char_height: 4,

                            },

                            {

                                type: "static_text",

                                item_id: "stat",

                                width: 224,

                                height: 64,

                                alignment: "align_fill",

                                font: "dialog",

                            },

                        ]

                    },

                    {

                        type: "ok_cancel",

                        ok_name: "Continue",

                        cancel_name: "Return and do Spell Check",

                    },

                ]

            },

        ]

    }

};

// Example Code

if("ok" == CustomAlert.DoDialog())

{

}

hello thom is your code that I try to modify but I do not achieve it .... could you help me? I would like the button that says "continue" be a link to a www.infobae.com.ar is just that and would be very happy thank you

Likes

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
Reply
Loading...
Jul 19, 2018 0
Adobe Community Professional ,
Jul 20, 2018

Copy link to clipboard

Copied

The "continue" button is actually the OK button, Notice that it is part of the "ok_cancel" button group. The OK button exits the dialog. What you need is a new button.  Add this block to the code above the ok_cancel group

{

type:"button",

name:"link to something",

item_id:"mylk"

},

Then just above the description add this block

mylk:function(dialog){ app.launchURL("www.infobae.com.ar");},

Be very careful when adding these new blocks. The syntax must me exact. Note the commas at the end of the blocks, these must be in place or the code will not work.

There is also an undocumented method for adding actual link text to the dialog, but that's an advanced topic.

Likes

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
Reply
Loading...
Jul 20, 2018 0
Explorer ,
Jul 20, 2018

Copy link to clipboard

Copied

//Acrobat JavaScript Dialog

//Created by DialogDesigner from WindJack Solutions

//<imageData name="asdf" item_id="img2" width="300" height="100">

var asdf =

"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3d9e1d799004400beecefe9fffefefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcef7f7f7cb72966ce6004900be93af90ecfffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffe0fcfcfcc4a0b89dff004d00ff004a00ff005600ff004000ea005703bdecefeafffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffefffffffffffffffffffffffffffffffffffff4ffffffbfcedacdfc005400ff004100ff004500ff005200ff005d00ff004c00ff004b00ff004000be8ca887eafdfdfdfffffffefffffffffffffffffffffffffffffffffffefefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffeffffffffffffffffffffffffc3eaefe8e82d6a28ff003e00ff004900ff004200ff006000ff00ab00ff00c200ff007a00ff004500ff004e00ff004500eb005500bde4eae3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffccf4f8f7d4658e63ff004200ff004900ff054100ff005400ff009900ff00db00ff00d400ff00c300ff00cb00ff009a00ff005500ff054b00ff004f00ff004600c08ba98ae8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdcfcfcfcc78dab89ff004c00ff004600ff004100ff004900ff008900ff00cf00ff00e200ff00b400ff00bf00ff00ba00ff00b400ff00c500ff00b700ff007b00ff005000ff005b00ff004300ef005300bce0eadffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0ffffffbfbccebeff005900ff004800ff004400ff004200ff007900ff00c100ff00e600ff00e000ff009600ff005900ff009500ff00c600ff00b300ff00b100ff00be00ff009500ff005a00ff004400ff005100ff005700ff004600c27a9d79e5fdfdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0ffffffc1e7ede7ed246728ff004400ff004500ff033e00ff006600ff00b500ff00ea00ff00de00ff00cf00ff00bb00ff007000ff007100ff006600ff00a900ff00bc00ff00bc00ff009100ff005400ff007200ff006500ff004600ff004100ff005600ff004a00f2004e00beecf1ecfffffffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffefefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefefffffffffffffefffffffffffffffffffffefffffffffefffffffffffffefffffffffffdfffffffffffffffffffffffefffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2a5bb9fff004300ff004e00ff004a00ff005300ff00a200ff00e500ff00eb00ff00cd00ff00c700ff00d600ff00a000ff006700ff007900ff006500ff008300ff00c000ff00b300ff006d00ff006100ff006900ff007200ff007500ff005500ff003800ff023d00ff002800ff004200d4fafaf7fffffffffffffffffffffffffffffffffffefefeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc86c9661ff005a00ff004b00ff007a00ff00db00ff00eb00ff00e500ff00db00ff00cb00ff00c800ff00cf00ff008d00ff006900ff007600ff007200ff006a00ff00b300ff00a200ff005f00ff006800ff005d00ff005e00ff006600ff017b00ff006c00ff003900ff022700ff003400c5e5ece1fffffffffffefefefffffffffffffffffffffffffffffffffffffffffffefefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefefffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe7fcfcfcfffffffffffffffffffefefefffffffffffefefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc487ab7dff005c00ff003900ff29b100ff51ff00ff00dc00ff00bb00ff00b300ff00d500ff00cb00ff00c600ff007e00ff007000ff007400ff007300ff006100ff00a200ff009100ff025700ff006800ff008300ff008000ff006c00ff005a00ff006000ff004300ff002700ff005500c7eaf0e5ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbbd7e7d0db30920bff188b00f8fffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc487a97bff005c00ff003f00ff1ba100ff6cfe20ff40db04ff0e7800ff006300ff00bb00ff00dc00ff00b700ff007600ff006c00ff006600ff007200ff006500ff008700ff008000ff005300ff008d00ff00c300ff00b100ff009b00ff008300ff008000ff005a00ff004b00ff006500d5f3f7f6d8f7f7f7b8b1b1b1dcfafafaffffffffffffffffffffffffffffffffbcd4d4d4b8b7b7b7ffffffffbbc8c8c8bfe1e1e1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffeefffffcce52a136ff028900ff008300bba2c98ffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc486ab7aff005c00ff003e00ff23a000ff65ff14ff35a605ff2b810fff208000ff008e00ff00d800ff00a600ff006200ff008600ff009000ff006600ff007100ff006700ff006600ff006c00ff00a700ff00a600ff009800ff009d00ff00a600ff00b400ff008000ff005200ff00620013006b1b74201625ff000000c4626262fffffffffffefefeffffffffe3fcfcfcff000000ff040404f4ffffffba727272b8a8a8a8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaffffffe130920bee008900b9add1a1bad7e7cdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc487ab7dff005b00ff003f00ff1aa500ff56fe08ff2a9600ff218700ff2b9106ff2a8806ff12d500ff009b00ff004f00ff00a100ff00c900ff006c00ff006800ff006b00ff006000ff007200ff00a200ff009800ff009c00ff009c00ff009b00ff00a800ff007800ff004d00ff0062001a2e621c7117141fe5090909e40d0c0fe3fcfcfcffffffffffffffffba959595f4020202ca282828243d3d3d3c171717c9f1f1f1ffffffffffffffffb8c5c5c5c8464646bb6f6f6feafdfdfdffffffffd9f9f9f9c5e6e6e6bcd3d3d3c5e7e7e7ffffffffc9eeeeeec5535353c5545454c9eaeaeaffffffffffffffffb8aed29cff008800f2fffffffffffffffffefefeffffffffffffffffffffffffb7a6a6a6c93b3d3db9898989f6ffffffffffffffd6f5f5f5c5e7e7e7bcd4d4d4c4e9e9e9fffffffffffefefefffefefeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc48aab7dff005c00ff003d00ff23ad00ff4bf10dff218700ff238e00ff209100ff238400ff43c413ff27a300ff006600ff009e00ff00c700ff008e00ff005e00ff006800ff005500ff007300ff00a500ff009b00ff009c00ff009c00ff009b00ff00a800ff007700ff004e00ff0062001a10620b8b130f1ca0181818c3060606ba969696ffffffffffffffffe80a0a0a8d3f3f3fc43434340e333333ca010101c18e8e8effffffffc73f3f3fff000000b51a1a1ae6060606ff060606d3fafafad5f7f7f7ff000000ff000000c9eaeaeabfd7d7d7ff000000c3090909c3101010ff010000b9cfcfd5ffffffffca3ca219ff008400dcfcfcfcfffefffdfffffffffffffffffdfffdffd23d3d3df9050505a7323030dd161616ec060606f4fffdffcdf0f0f0ff020202ff020202bcd0d0d0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc488a97dff005c00ff003e00ff27b300ff47db08ff227d00ff289100ff269000ff229000ff288b00ff278806ff32a303ff19d000ff00b700ff00a000ff005900ff005e00ff005400ff007e00ff00a800ff009a00ff009c00ff009b00ff009a00ff00a700ff007600ff004e00ff0062001a2e621c8f171320930f0f0f52343434f40f0f0fffffffffc2e5e5e5e90c0c0c2a404040e90b0b0b0d373737b6010101b7c2c2c2bfe1e1e1ff101010146666660000000000000000ad2121217a1414142b5e5e5eff040404224a4a4a076d6d6dff1010106a656565000000000000000068484848ff000002eefdfdfdc9f0f7eeff007e00e22d920efdffffffffffffffffffffffba8a8a88ff000000000000000000000000000000de060606ac2b2b2b284b4b4bff020202d4f5f5f5fffffffffffefefeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc487ab7aff005c00ff003e00ff28af00ff43c20aff207e00ff258500ff2a8e00ff249100ff288d00ff207e00ff33af00ff65ff24ff11c500ff009100ff006700ff005b00ff005600ff008500ff00a700ff009a00ff009b00ff009b00ff009b00ff00a700ff007700ff004d00ff0062001a2e62298d17121fb206060900000000ff0c0c0cdefbfbfbc06464649d34343400000000f71010100e333333b3000000814a4a4abd070707a914141400000000000000000000000000000000000000005e292c2cf30606060000000068545454fb00000000000000000000000000000000000000fa000000732a222d000000008a74bb54ff007100c867ae4dfffefefeffffffffd7161618e9030303c7020202dc000000d3000000dd090707cd03030360202020e7020202ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc487ac7dff005c00ff004200ff27a200ff38b102ff258500ff279d00ff2b8f00ff269000ff269000ff247e00ff36ba00ff5dff1aff22c800ff009900ff007800ff005400ff005a00ff008f00ff00a500ff009b00ff009c00ff009a00ff009b00ff00a600ff007700ff004e00ff0062001a2e621c8d090510c82c2c2c00000000b0232323d60c0c0ce5070707215c5c5c0e464646f71010100e333333b40000007c535353a2191919cd1919190000000000000000000000001d272727390000004f303030f0060606000000004a515151ff00000000000000000000000000000000000000ff0202025912121200000000000000008d5aa63eff007400bba2d08fffffffffce241e28de1d1d1d2f9898984a8a80833d7e7e7e5a5a5a5a467f75795a565656e3000000e5fcfcfccff5f5f5cbf3f3f3d6f6f6f6e5fdfdfdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc487ac7dff005d00ff004a00ff189400ff309c05ff289500ff4af000ff2da100ff238403ff269000ff248200ff39ca00ff54fd15ff15c600ff009b00ff008600ff004a00ff005f00ff009a00ff00a000ff009b00ff009b00ff009b00ff009b00ff00a800ff007700ff004e00ff00620016365c2699120a18dd1313130000000032606060ff000000db1212120000000030494949ff1717170e333333c3000000925a5a5a1e898989ff040404812929291430303047272727ff0000007a45454a33545454ff0404040530303000000000ec1d1d1adb0a0a0a1e4242421d444444de0a0b0ce91a1a1a0100ffff000000000000000000000000aa56a53eff008d00ffffffffcdf1f1f1ff02030359424242000000002f444444ed030203418e8e8e3d717171db02020274545454c7060606e1020202eb060606b7a5a5a5ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc488a979ff005b00ff004e00ff1e8500ff2f8f05ff29a200ff51ff00ff34b900ff1e7d00ff268e00ff258b00ff3dd700ff53f812ff1dc600ff009200ff009b00ff005c00ff007800ff00a500ff009b00ff009c00ff009b00ff009c00ff009b00ff00a700ff007800ff004f00ff0061001c1f64177f040407be0f0f0f0000000000000000d606060670464646000000002e212121e40606060a303030a5000000973e3e3e00000000562b2b2bff000000f0050505ff0202029c17171700000000413c3c45e00201020a12121200000000176b4c58d6050505fc040404fe010101d603030314595959000000000000000000000000000000006e7aba65ff008300b8b6e1a9ffffffff612b1f2bff000000f6000000ff000000961414140000000046333333ba00000081141414a0101010a4131313a02a2a2ab8acacacffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc487ac7dff005c00ff004f00ff1b8400ff2f8f07ff2fb300ff54ff02ff3ccc00ff248200ff218900ff2b9700ff43e300ff52f316ff19c700ff008d00ff00a000ff009d00ff009e00ff009c00ff009c00ff009b00ff009b00ff009900ff009a00ff00b100ff007e00ff004c00ff0059003f49763500000000035454540300000007464646000000000280808005666666074646460f5454540000000005666666074646460000000000000000074646464b4545452a4040400000000000000000000000001226262601000000000000000000000000000000440f0f0f38383838000000000000000000000000076d6d6d6f54ac28c838a016f82f990a853b7f285a71ae5002808080000000000e0f5b45465b5b5b1643434300000000000000000c6a6a6a0b101010251d1d1d0e4646460100000013414141eafdfdfdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffca638e5cff005700ff005700ff006500ff258702ff48e206ff4dfa00ff3fdc00ff269000ff1d7c00ff30a700ff4aef00ff50f011ff19c700ff008f00ff009b00ff009e00ff009c00ff009a00ff009b00ff009b00ff009900ff00a300ff00ac00ff009300ff006200ff025700ff005c0048002600165c5c5c55696966512020203d6060604a636363445a5a5a4e545454414d4d4d2c7a7a7a364f4f4f494040404a676767544a4a4a3b51515130858585365959593f6161613e51516342707c494d8fdb7419454545554843434e65656547595959413333332e393939309090901d313131403d3d3d42848488f3145400ff007c00ff0e78006833402f1c5e5078265f56653c1d1d1d605a5a5a346262620c6a6a6a4a636363467c7c7c56575757446969694557575738383838376161614751515140525252c8efefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbfbdcebaff004b00ff004900ff005200ff004b00ff2eac00ff60ff17ff53fe02ff299a00ff156000ff34bb00ff46f400ff50ef13ff1cc800ff008e00ff009b00ff009b00ff009b00ff009b00ff009900ff009e00ff00ac00ff009d00ff007300ff004f00ff005400ff003f00ff15720adefbfbfbf2ffffffd5f5f5f5dbf9f9f9e0fafafadafbfbfbdcfbfbfbd8f9f9f9ecfdfdfde5fcfcfcd6f5f5f5dbfafafadafbfbfbd6f9f9f9dafafafadefbfbfbd9fafafae0fafafadcfafafad4fbfbf8d2f9fcf7e7fcfcfcd8f7f7f7d9fcfcfcd6f6f6f6e5fcfcfce7fdfdfdd8fafafad9f6f6f6dcf9f9f9dcfafafab9d6e4ceb9c7d6c0eafdfdfdf8ffffffdafafafad9fafafadcf9f9f8d3f6f6f6dcfafafaecfdfdfcd8f9f9f9d9fafafad4f8f8f8d8fafafad4f6f6f6e1fafafae0fafafad0f1f1f1defafafad8f9f9f9ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc7f4f4f2ec156223ff003e00ff005200ff003f00ff007b00ff53ed0dff4ce400ff2d9e00ff42e000ff43e700ff50f011ff20c700ff008f00ff009b00ff009b00ff009a00ff009c00ff00ab00ff00a200ff007d00ff005600ff074e00ff004900ff004300cd598657cffbfcfcffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeeffffffc4a0b89eff004200ff004c00ff003f00ff004e00ff32ba00ff72ff1dff4df800ff3ddb00ff50f011ff28c600ff008f00ff009a00ff009b00ff00a700ff00a800ff008700ff005e00ff004d00ff004b00ff004000e321651ebcdde7dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffefefec6eef3eeeb246725ff004300ff004b00ff003800ff047c00ff40e305ff54ff10ff50f20bff1ac500ff008d00ff00a300ff00aa00ff009100ff006700ff054d00ff004e00ff004400fa005601b7bdcfbef6fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff0ffffffc4a4bca2ff004300ff004c00ff003f00ff004d00ff27b100ff72ff29ff29dc00ff009a00ff009900ff007000ff004f00ff004f00ff004600ff004800bd91ad8cdefdfdfdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffc8f3f3eee8316d31ff004200ff004c00ff003800ff1b8a00ff0dc200ff007900ff005400ff074e00ff004900ff003f00ca5b8a5bcbf8f8f6fffffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff2ffffffc3a8bda6ff004400ff004c00ff004600ff004e00ff0f5400ff004a00ff004000df306c2bbce5ebe6fffffffefffefefefffffffefffffffffffffffffffffffffffffffffffffffffffefefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefeffffffffc8eff3eee5317032ff004200ff005400ff004500f5015a05b8c4d3c4fafffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefefffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffffffffffffffffff5ffffffc2abc0a6ef004900bc92ae8ee3fdfdfdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefefefffffffefffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcbf2f3efa300500ac2ebefe9ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"

//</imageData>

var CustomAlert =

{

    result:"cancel",

    DoDialog: function(){return app.execDialog(this);},

    initialize: function(dialog)

    {

        var dlgInit =

        {

            "img2":

                {

                    "width":100,

                    "height":33,

                    offset: 0,

                    "read": function(bytes){return asdf.slice(this.offset,this.offset+=bytes);}

                },

            "stat": "Your Spelling leaves something to be desired.  If you continue the staff may reject you're proposal out of hand",

        };

        dialog.load(dlgInit);

    },

    commit: function(dialog)

    {

        var oRslt = dialog.store();

    },

      mylk:function(dialog){ app.launchURL("www.infobae.com.ar");},

    description:

    {

        name: "Custom Alert",

        elements:

        [

            {

                type: "view",

                elements:

                [

                    {

                        type: "view",

                        align_children: "align_top",

                        elements:

                        [

                            {

                                type: "image",

                                item_id: "img2",

                                width: 100,

                                height: 33,

                                char_width: 4,

                                char_height: 4,

                            },

                            {

                                type: "static_text",

                                item_id: "stat",

                                width: 224,

                                height: 64,

                                alignment: "align_fill",

                                font: "dialog",

                            },

                        ]

                    },

                    {

                        type: "ok_cancel",

                        type:"button",

                        name:"link to something",

                        item_id:"mylk"

                        },

                        ok_name: "Continue",

                        cancel_name: "Return and do Spell Check",

                    },

                ]

            },

        ]

    }

};

// Example Code

if("ok" == CustomAlert.DoDialog())

{

}

Likes

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
Reply
Loading...
Jul 20, 2018 0
Explorer ,
Jul 20, 2018

Copy link to clipboard

Copied

I get an error there; I do not know what I'm doing wrong

I could do what I wanted but the other cancel button disappeared then I could not close the dialog window

Likes

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
Reply
Loading...
Jul 20, 2018 0
Most Valuable Participant ,
Jul 20, 2018

Copy link to clipboard

Copied

This part doesn't make sense:

                    {

                        type: "ok_cancel",

                        type:"button",

                        name:"link to something",

                        item_id:"mylk"

                        },

                        ok_name: "Continue",

                        cancel_name: "Return and do Spell Check",

                    },

Do you want to add a button that says "link to to something" as well as the OK and Cancel buttons?

If so, replace that part with this:

{

    type:"button",

    item_id:"mylk",

    name:"link to something",

},

{

    type: "ok_cancel",

    ok_name: "Continue",

    cancel_name: "Return and do Spell Check",

},

Likes

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
Reply
Loading...
Jul 20, 2018 1
Adobe Community Professional ,
Jul 20, 2018

Copy link to clipboard

Copied

As I stated in my previous post, Syntax is all important. You did not insert the code in a way that was consistent with the existing code.

Try67 provided the correct syntax.

To close any window in MS Windows, press Ctrl-F4

Likes

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
Reply
Loading...
Jul 20, 2018 0