Expand my Community achievements bar.

SOLVED

Pop up warning messages

Avatar

Level 2

Hi all,

Using 'xfa.host.messageBox' I've been able to pop up a warning message.  This particular pop up has a red cross on it and was wondering if anyone knows how to pop up a message box which displays the yellow triangle graphic with the '!'?

Also, is there a way to make popup warning messages work in Acrobat version 6 and older as well.  I've written a script which detects the version number and if its older than version 9 it will display a message to the user.  However this only appears to work for version 7 and 8 and not on 6.  I don't have any other older versions so I'm unable to check on version 5 and such.

SCF

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

use xfa.host.messageBox("Hello World!","", 1,1);

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi,

use xfa.host.messageBox("Hello World!","", 1,1);

Avatar

Level 2

Thanks Radzmar, that worked perfectly.  I noticed that if I put a value of 0 for the second 1 it will get rid of the cancel button.  Thanks so much for your help.

Is there another way to call pop up messages so that it will work in versions of reader older than 7?  I tried "app.alert("test",1)" but even that didn't work in 6.