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

render() without alert boxes?

New Here ,
Dec 22, 2008 Dec 22, 2008

Copy link to clipboard

Copied

Is there a way to have a script start a render, but not have it pop up a number of alert boxes telling me the progress? As long as the script knows when it's done, that's good enough for me. I'm trying to avoid sending a project to aerender just to save off two quick frames.

Thanks,
-Rich
TOPICS
Scripting

Views

2.3K

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
New Here ,
Dec 22, 2008 Dec 22, 2008

Copy link to clipboard

Copied

You might try seeing if app.beginSuppressDialogs() / app.endSuppressDialogs() suppresses all of the dialogs that you are seeing; it may or may not suppress all dialogs. If so, you'd probably want to define an app.onError callback function to capture any errors if that is of use for you. If you do define the callback, be sure to undefine it after your script finishes to avoid that callback being used for other scripts.

Jeff

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
New Here ,
Aug 09, 2010 Aug 09, 2010

Copy link to clipboard

Copied

Hello i hae also a question about this

I have made a script

that start render automaticly see:

var myQueue = app.project.renderQueue
myQueue.render();
var projectName = "Unsaved Project";
app.project.close(CloseOptions.DO_NOT_SAVE_CHANGES)

but if i run the script again I get the question to overwrite the video .

Is there a option to choose automaticly yes when the messagebox appear?

(so that my script continue?

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
Enthusiast ,
Aug 09, 2010 Aug 09, 2010

Copy link to clipboard

Copied

As Jeff said, try suppressing the dialogs during the render like this:

app.beginSuppressDialogs();

myQueue.render();

app.endSuppressDialogs(false);

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
New Here ,
Aug 09, 2010 Aug 09, 2010

Copy link to clipboard

Copied

LATEST

Thanks a lot it works!

(I not nunderstand the answhere before me  ) Also Jeff Thanks too!

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