Copy link to clipboard
Copied
hi there..
how to clear all background tasks warning/alert messages using JS?
Thank you..
cheers..
Copy link to clipboard
Copied
Hi Eboda,
Try the below code.
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
Thanks & Regards,
Senthilvel S
Copy link to clipboard
Copied
nope.. have tried that. doesn't work.
Copy link to clipboard
Copied
Hi Eboda,
Could you explain what types of alert or warning message you got? The above line won't remove alert or warning. It simply stop the warning dialog box like font missing, link missing, etc. You want to place the above code in top of the script.
Regards,
Senthilvel S
Copy link to clipboard
Copied
some warning messages regarding unable to embed fonts in the background tasks panel.
wanted to have a JS to automatically clear that messages in the background panel after PDF exporting.