Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Viewing all articles
Browse latest Browse all 12130

Image in dialog(execdialog)

$
0
0
Hy,

I would like to insert an image in a dialog. And the resulting PDF should be visible in Acrobat Reader too.
Here is my script without the image:

=========================================
var oDlg =
{
description:
{
name: "dialog1",
elements:
[
{
name: "Hello Word!",
type: "static_text",
},
{
type: "ok",
},
]
}
};
// Dialog Activation

function myFunction( )
{
if(!done )
{
done=1;
app.execDialog(oDlg);
}
}
=============================================

Could You please show me what the script should look like to have an image in It?
NB: I want replies about scripting not about how to that from acrobat IDE

Thanx

Viewing all articles
Browse latest Browse all 12130

Trending Articles



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