PDF export function

2 posts / 0 new
Last post
DavidIDEA
Offline
Joined: 09/28/2021 - 12:57
PDF export function

Good morning everyone, I am trying to develop a script to export a file, but I get some messages like overwrite the existing file or adjust the columns of the pdf, I would like to know how I could add code to always select that If in the popups.
Thank you very much 

Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57

hi DavidIDEA,

You can add this line after the sub main line:

IgnoreWarning(True)

This will tell the script not to show any popups which is what you want.