• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

js to clear Background tasks alerts

Participant ,
Mar 16, 2017 Mar 16, 2017

Copy link to clipboard

Copied

hi there..

how to clear all background tasks warning/alert messages using JS?

Thank you..

cheers..

TOPICS
Scripting

Views

478

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 16, 2017 Mar 16, 2017

Copy link to clipboard

Copied

Hi Eboda,

Try the below code.

app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT; 

Thanks & Regards,

Senthilvel S

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 16, 2017 Mar 16, 2017

Copy link to clipboard

Copied

nope.. have tried that. doesn't work.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 16, 2017 Mar 16, 2017

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 16, 2017 Mar 16, 2017

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines