How I can BOLD the words(DOES NOT MEET EXPECTATIONS) from the script below?
xfa.host.messageBox("DOES NOT MEET EXPECTATIONS - Performance level......"
,"PERFORMANCE FORM",3);
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
you're right, the links are down.
I upped it here again
Views
Replies
Total Likes
As far as I know the message box does not support a Rick Text Format so I do not think you can do that.
Paul
Views
Replies
Total Likes
You have a bit more control using the execDialog method, I've not been able to get things position how I want and it does have a "Warning JavaScript Window" message at the bottom, still it might suit you.
var dialog1 = { description: { align_children: "align_row", width : 500, elements:[{ type: "static_text", name: "DOES NOT MEET EXPECTATIONS", bold: true, font: "dialog" }, { type: "static_text", name: " Performance level.....", }, { type: "ok", } ] } }; app.execDialog(dialog1);
Views
Replies
Total Likes
Another method is to add an image to the dialogs.
This can be done with the Acrobat Dialog Image Generator (ADIG).
http://blogs.adobe.com/acdc/2008/05/using_image_in_acrobat_javascr.html
Views
Replies
Total Likes
Hi Radzmar,
Do you have the sample of the link to provide to me because the sample file from the link can not be found!
Thanks for your reply
Views
Replies
Total Likes
Hi,
you're right, the links are down.
I upped it here again
Views
Replies
Total Likes
Hello,
I realize this thread is old, but the links to the adig.jar utility are gone. Any chance they could be uploaded again?
Thanks.
Views
Replies
Total Likes
Hi,
the sample is still available, only the link has changed.
https://acrobat.com/?d=H3FSy2GQyI*-du1FKSirrw
Alternatively you can use a tool from Bruce, to create illustrated dialogs.
Views
Replies
Total Likes
Thank you. It works great!
I am having one problem. In the "Javascript for Acrobat API Reference" document, version 8.1,
I am looking at the execDialog API and it mentions that I can change the titlebar by putting a name after the description of the dialog.
This does not seem to work in Adobe Livecycle Designer for Adobe 9+ Has this functionality been deprecated since version 8.1 of the document?
I also have one other question, is there a way to get rid of the red "Warning: JavaScript Window" message that shows up on the bottom of the dialog?
Thanks.
Views
Replies
Total Likes
The JavaScript Warning title can only be suppressed by executing the script from a trusted environment.
See this threat.
Views
Replies
Total Likes
Views
Likes
Replies