These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Resizing alert window

drizagon
Registered: Oct 22 2009
Posts: 41
Answered

Hello,

I'm wondering if there is a way to re-size a popup/alert window? They are all a standard size, but is there any scripting to modify that size?

Thanks in advance for any insight!

My Product Information:
LiveCycle Designer, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
No, it can't be resized.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi drizagon,

While not an uber easy task, if the standard built-in dialogs are not to your liking, you can create a custom dialog of larger size using Acrobat JavaScript. Here is a tutorial on custom dialogs for PDFs-
http://www.acrobatusers.com/tutorials/2006/popup_windows_part5
A link in that article goes to a page with examples of different type custom dialogs of varying size.

Hope this helps,

Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Can you use JS dialogs in LiveCycle?

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi try67,

Yes, you can use custom JavaScript dialogs in a LiveCycle Designer PDF.

Hope this helps,

Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi drizagon,

I just thought of a small workaround depending on how much bigger you want the alert box. There is a limit to the amount of text you can put in the standard built-in alert dialog but you could use carriage returns to increase the size of the dialog a bit. Can't recall right now what the limit is on the number of text lines- you'll have to test it out.

Hope this helps,

Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Yes, that's a good way to make the alert bigger. There doesn't seem to be a limit on the number of line breaks one can use (except for the size of the screen, of course).

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com