Add a duplicated comp to the render cue.

I've created a script that replaces text in multiplt text layers from a csv text file, creates a new comp from each row in the text file, names the comp from the last field in the row.
At the end of the loop I'd like to add the comp to the render cue. Can't figure out how to get that started. Whatever I put in stops the script and I only end up with one new comp from the text file.
Here's the lines of code that duplicate the comp.
for(x=1; x < elementLength; x++){
     //dupe the comp of interest
       var compElement = selectedItemInfo.source.duplicate();
          var compElementName = '';
Then there are a few lines that generate a name for the comp based on the last field in the csv text file.
Should I be putting  my add to render cue script right after the cupe comp section or should it be after the name is added.
Here's the end of create comp name code.
for(i=1; i <= layers.length; i++){
          for(j=0; j < matchingLayers.length; j++){
           if(layers[i].name == matchingLayers[j].name){
           compElement.layers[i].sourceText.setValue(data[x][j]);
                    //add comp to render cue
Any pointers would be appreciated. This scripting thing is not part of my usual workflow.

Adding a single comp to the Render Queue is done...
app.project.renderQueue.items.add(myComp);
For multiple comps, place it in a loop.
for(i=0; i<myComps.length; i++){
     app.project.renderQueue.items.add(myComps[i]);
It looks like your loop may work this way if you are processing each completely before moving on to the next one.
for(i=1; i <= layers.length; i++){
          for(j=0; j < matchingLayers.length; j++){
           if(layers[i].name == matchingLayers[j].name){
           compElement.layers[i].sourceText.setValue(data[x][j]);
                    //add comp to render cue
                                        app.project.renderQueue.items.add(compElement);

Similar Messages

  • Can't render H264 from Render Cue!!!!!

    I've got a 1920 x 1080 24fps comp and I'm trying to render it with the render cue as a H.264 1920 X 1080 24fps file and I get this every time:
    After Effects: AEGP Plugin Media IO Plugin
    There is a mismatch between Output Module settings and Transcode Settings. Please verify your settings and try again.
    Invalid framesize/framerate for this Level. Please lower the Frame Dimensions, Frame Rate or increase the Profile and Level and try again.
    Media IO2 error: 0cx00b002
    Frame dimensions out of bounds
    ( 5027 :: 12 )
    I've tried looking this up and I'm not finding much.
    I've checked all my settings, they look correct.
    Any suggestions?

    There's a big difference between compressing and rendering. AE's render engine only looks at the current frame, mixes and blends all the pixel info from each layer, interprets motion between layers by distance not by pixels, and then builds a new single frame.
    Compression is the science of looking forward and backward in time, predicting the placement of pixels with similar values and then deciding how much information you can throw away and still maintain image integrity. Asking AE's render engine to spit out 3 to 10 frames so that a multi pass compressor could examine the frames and make the call would do two things. First, render times would go up exponentially, and secondly, render times would go up exponentially. AE will do a very good job of rendering to h264 single pass, but multi pass rendering even in something as limited as QT Pro, produces dramatically better results with the same data rate. It takes a dedicated program like Sorrensen Squeeze to really produce spectacular results at low data rates.
    Hope this helps you understand the process a bit better. I'm perfectly happy to render losless and then process further either in a NLE or a compressor. I never render video that may need to be processed again for any reason to a delivery codec.

  • Video clips in comps are not rendering out of render cue?

    First time poster here... new to the forum.
    I previous successfully created a show title sequence using a template where I chose to right click on the image placeholder and choosing set proxy file to the new video that replaces the template image.
    All is well when previewing, video files play embedded in the comps, and look great but when I go to render out the .mov file the video disappears from the file leaving only the text and effects.
    I figured out a solution about 6 weeks ago that enabled me to complete the first title sequence but am having trouble again and cannot recall exactly how to repeat the solution.
    Any thoughts?

    I am replying to my own post... different user name because I could not get into my other account.
    Two solutions:
    1. I found an old text I sent to a friend where I found the previous solution.  In the render settings the default box is checked "use no proxies" so that is why the video files were not rendering out. Uncheck that box and you're good.
    2. Open the comp in Adobe Media encoder and render it out there... preview window shows proxies being embeded in preview window!
    Hope this helps someone new to After Effects from banging their head against the wall in the future.
    Cheers,
    Bronson

  • AE CS5 - Duplicated comp not rendering with custom camera

    Hello
      I hope this is a simple fix.
      I have an AE comp that uses a custom camera and many 3D layers.
      I duplicated the comp, and the new comp will not render using the custom camera. It uses a default camera which does not have my camrea's attributes, and it looks all wonky.
      Is there a place where I can force the render to use a specific camera? I didn't see an option in the render settings or output module.
    Thanks
    ----------S

    In that screenshot, the text is too tiny for me to make anything out.
    I can tell that you're previewing in the Composition panel with your shotCam. But is that camera layer the active camera in the composition?
    In case you're not clear on what the active camera is, here's an excerpt from After Effects Help:
    "You can choose to view a composition through the active camera or through a named custom camera. The active camera is the topmost camera in the Timeline panel at the current time for which the Video switch is selected. The active camera view is the point of view used for creating final output and nesting compositions."

  • Setting a New Default "Output To" Template in the Render Que Does Not Work

    I'm trying to change the default "Output To" template in the Render Que to not show the timecode for a PSD file, but when I change the default template by clicking on "Custom" from the dropdown menu and using the checkbox to set a preset as the default in the "File Name and Location Template", nothing changes.  The next PSD item I add to the render que still uses the previous template (i.e. it adds the Frame) and doesn't honor the new default I just set.
    Just submitted a bug report, as well.
    Using AE 2014.1.1 (13.1.1.3)
    Windows 8.1 Pro

    I'm not surprised either of you is having problems creating a new output module and making it the default.  That's not where you do it.
    Go to Edit>Templates>Output Module.  Make a new one.  Select one to use as a default.  Select a different one if you want a different default.  You can have a default for both stills and movies.  You can do the same thing for Render Settings.  It's the same basic drill.
    Since this is basic AE 101-type stuff, I bet you'd get a lot out of these how-to's from the pros:
    Getting started with After Effects (CS4, CS5, CS5.5,  CS6, & CC)

  • Help, where are the render preferences in Adobe Photoshop CS6

    Okay, I admitt, .... I am an idiot that is new to Adobe Photoshop.
    But help the new girl out, here.... Please...
    Where are the render preferences in Adobe Photoshop Extended CS6.
    I searched Adobe Help in Dutch already but they point me towards options that doesn't excist.
    Maybe they were there in Adobe CS5 and I am reading an older version of the documentation...
    But in CS6 I can only find the option Render and no Render Preferences...
    Thanks !!

    Adobe changed the way video is rendered in CS6. Adobe Media Encoder in now used in CS6 only a subset of the Adobe's full Adobe Media Encoder is included in CS6 is a dll. I do not think you can add new Rendering Presets however you can change some setting when you use the supplied Reddening Presets.  Perhaps if you have the Adobe suite and have the full Adobe Media Encoder you can create some presets and add them to Photoshop Rendering presets.  I seem some compliants about CS6 Quicktime rendering presets lack the power of CS5.  The Rendering presets seem to be stored in sub folders in "C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Presets\Video\Adobe Media Encoder" and "C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\Presets\Video\Adobe Media Encoder"

  • FAQ: Why doesn't AVI appear as an export format in the Render Queue?

    [For information on rendering and exporting, see "Basics of rendering and exporting".]
    On Windows versions of After Effects, AVI appears listed with the more comprehensive name, "Video for Windows". In fact, it's the format specified by the default Output Module template. The Format Options button will reveal the AVI/VfW codecs available on your system.
    On Mac systems, AVI/Video for Windows is not available as a direct export option (except through the File > Export path, which is really not recommended). Export a lossless intermediate file from the Render Queue instead (for example, a Quicktime file). You can then use a number of converter applications (including Quicktime Pro, for example) to convert this intermediate file to an AVI file.

    Post Author: Rob Murnick
    CA Forum: .NET
    I'm starting to get the opinion that it can't be done - can't find any information explaining how, anyway.  Perhaps this is because .HTML format often uses it's own folder for storing image files, etc..., and the other formats (rpt, .pdf, .xls, .doc and .rtf) simply use a file.  The "Export Report" dialog would need to be a bit more complicated to switch between saving as a file and saving a set of files in a (potentially new) folder, so I'm just going to hide the Export button on the CrystalReportViewer control, add an external "Export" button, and roll my own dialog.

  • Add an option to replace the current slideshow content

    Currently, the content of a slideshow is only replaced when going straight from the sample images. Would it be possible to add a checkbox to force the new content to replace the current images, rather than append them? This would be really helpful when duplicating pages where the layout has already been defined.

    JRTIGHE wrote:
    Right so I'll rephrase the question, what would the community think to this feature being added?
    I don't care one way or the other. I don't text. If I want to communicate with someone using my phone, I'll call them.

  • Where is the render queue in Cinema 4D Lite? My menu doesn't show it

    I'm having a problem rendering a short animation from Cinema 4D. I began the project in a computer lab, where there's the obvious Render Queue setting under the Render menu drop-down. My problem is I'm now working at home with my CC downloaded version and there's no Render Queue setting. Additionally, when I check the render settings, there's no filetype or filename specification for rendering. Attached are screen shots.
    How do I set a filename so I can render and save my short animation?

    So I figured out my own problem. For anyone else who might happen upon this thread, hope this helps.
    At the lab they must have C4D Full (or whatever the full version is called), and at home thru CC I only have Lite. That's why there's no render queue and no ability to set a filename or filetype within C4D.
    The workflow I had to do is import the C4D file into an After Effects comp, and then the Cineware rendering options show up in the effects window. Last word of advice is if you need to render out an object buffer to be used as an alpha mask, make sure you select "Standard (Final)" or "Standard (Draft)" under the Renderer dropdown.

  • After Effects CS6 Launches to Render Cue after 11.04.2 Update Yosemite

    After Effects CS6 Launches to Render Cue on OS X Yosemite after 11.04.2 update prior to this update it wouldn't even launch. Everything is grayed out as well. I am running a fully licensed version.
    MBP 15 Retina OS X Yosemite
    2.5 GHz Intel Core i7
    NVIDIA GeForce GT 750M 2048 M

    You're launching the render engine and not the full version of AE. Make sure you're selecting the right app to launch. And if you're super-sure that your shortcut or whatever you're clicking on is the one to launch the full version, make sure you don't have the render engine txt file somewhere you don't want it.
    A blank file named ae_render_only_node.txt in one of the following locations (depending on the user account type) will result in AE launching the render engine only: 
    Mac OS: /Users/[username]/Documents/ /Users/Shared/Adobe/
    Windows: C:Users/[username]/My Documents C:Users/Public/Public Documents/Adobe
    Also, since this is immediately after updating Mac OSX, you're probably going to need to fix permissions: fixing permissions problem that impedes start of Adobe applications

  • If I go to PS and add layers can I bring the photo with layers back to Lightroom?

    If I go to PS and add layers can I bring the photo with layers back to Lightroom?

    JoeKostoss wrote:
    This is more complicated than I expected:  I had to go back to LR to check what I did previously. Here is what I found.  I hope this helps to explain what can be done.  You can have both layers and LR adjustments; you just cannot see the layers in LR nor can you see the LR adjustments in PS.  The good news is that they are both there and can be changed as needed.
    I have a photo (Raw) of a blue jay sitting on a branch with the background out of focus.
    I made many of the usual LR edits such as exposure, contrast, whites, blacks, sharpening, etc.
    I wanted to print it as a Birthday Card so I sent it to PSCC 2014 as a smart object.
    In PS, I added a type layer "Happy Birthday"
    Back in LR, I now have a psd Happy Birthday file stacked with the original raw file.
    Fine and as yet, no ADDITIONAL LR edits AFTER rendering right?
    I made some LR adjustments to the psd file such as crop to a different aspect ratio and add a vignette.
    I printed the psd file on a folded card.
    So far so good, you're still in LR. LR can take the new edits made there AND the layers and spit out a print. Nothing new or special here.
    Later I wanted to use that same image as a anniversary card.
    I told LR to edit that same psd file in PSCC 2014, this time not a smart object, but selecting "Edit Original".
    You got your original layered file. Nothing new or special here.
    PS opened with the "Happy Birthday" type layer intact and with the smart object background layer.  Of  course, the LR edits, crop and vignette on the psd file were not visible in PS.
    Because they don't exist there! They will when you render them.
    I clicked the eye of the Happy Birthday to render it invisible.
    I added a new "Happy Anniversary" type layer.
    Saved the new revised psd file and returned to LR.
    In LR, I still have only 1 psd file stacked with the original raw file, but now it says Happy Anniversary. Note: sometimes it may take a few moments for the new PS edits to appear.  By selecting another image and then reselect this psd file tends to speed this rendering of the new image.
    So where in all this is the LR edits you produce AFTER up created the layers after opening the layered doc in PS?
    I now have a new card ready to print just as before with all the LR edits originally made on the birthday card including the LR edits, crop and vignette made on the original psd file.
    And as far as I can tell, all those edits were applied in PS AFTER rendering.
    If I send that psd file a third time to PS, I still have the smart object layer, and both type layers.  I can add a 3rd type layer "Happy Easter" if I so desire and return to LR.
    Again, the crop and vignette are seen in the one psd file in LR.
    So...yes, I can have both layers AND LR adjustments including the original raw adjustments through the smart object background.
    No, you have a layered file and you have instructions but the layered file isn't rendered with those instructions and doing so would flatten the results.

  • Machines 'dropping off' the render queue

    Hi guys,
         We have Windows 2008 server as our centralized storage.  All the render machines have the shared folders mapped correctly with all the permissions set.  We are using After Effects CS5.  What we are finding is that after a few comps have been rendered in a multi-comp project, some will drop off the render queue.  What happens is that the render window list disappears and the watch window pops up and keeps cycling as if it's 'lost' the project is supposed to render.  Usually, if we reboot or restart the render engine and go back to the watch folder, it "might" pick up the project and carry on rendering.  All the machines are on Windows 7 64-bit.
    Any suggestions?
    Jason

    This is a known state, but not directly AE's fault - one of your machines is not able to access footage items within a specific limit and this effectively also shuts down other machines because they, too, go into this waiting forever state. Ultimately it boils down to too many machines trying to access the same files or directories and clogging up your network. The only way to avoid it is to ramp up your network bandwidth or e.g. instead of working with compound movie clips, work with image sequences.
    Mylenium

  • How to add A single row at the middle of the table in a Webi report

    Hi,
         I created a Webi report using Universe(Created universe using bex query).Now i have a requirement to display a row at the middle of a report. Can you please tell me ,how to add a sigle row at the middle of a Webi report.
                                                    Thanks in advance
    Regards
    Monika

    Hi Monika,
    It is not really possible to add a row (I assume you mean of unrelated data) to the middle of a table in a report. You can add a new table with a single row between two tables. For instance you could add a new one row table, or even single cells which are positioned relatively between two tables. Possibly a block on top of another. But this gets tricky.
    Can you explain in more detail what you are trying to do?
    Thanks

  • How can I add form field value to the file name in save as dialog box

    I do not want the form to be saved automatically, just want the form to auto populate the "file name" only.
    A little background on the forms I want to use:  My company has 70 retail outlets, I'll use one of our pdf forms called an "Incident Report" as an example.  I would like for a store manager to be able to complete the form, then email the form to the main office (I already have javascript to add field values and form name to the email subject line), once the main office receives it, I want for them to be able to file the pdf electronically on our server.  We have mutliple forms that we use so I do not want any of the forms to automatically save anywhere, (at this time anyway) I just want the office personnel to be able to click "save as" (or whatever they will need to click) and the form automatically add certain field values from the pdf they have received, of which will be different each time the form is sent to the office (Date, store #, employee name etc.) in addition to the name of the form in the "File name" of the "Save As" dialog box.  The main office employees will decide into which server file the pdf should be saved.
    I'm using Acrobat 8 professional, the stores and office personnel use Adobe reader.
    One little note:  We currently print and file a lot of paper on a daily bases, as soon as I can get this to work, we are going green.
    Me and a lot of trees in this will really apprecitate any help you can give with this!  :-)

    You might want to take a look at the document "Developing Acrobat Applications Using JavaScript" (js_developer_guide.pdf) which is part of the Adobe Acrobat SDK, which can be downloaded here. Read the "Privileged versus non-privileged context" (p. 45ff.). You will find an example for "Executing privileged methods in a non-privileged context". Should be almost exactly what you are looking for.
    Small Outline: For security reasons ("the user always has to know what's going on") you are not allowed to use the "Doc.saveAs"-method without the user permission (--> in a non-privileged context). In order to reach the goal of a privileged context you can use a trusted function. You do this by creating a JavaScript file (*.js) in either the Application-JavaScript-Folder (default location on Windows systems: "%ProgramFiles%\Adobe\Acrobat 10.0\Acrobat\Javascripts") or the User-JavaScript-Folder (default location on Windows systems: "%AppData%\Adobe\Acrobat\10.0\JavaScripts"). Add the following content to the new file:
    myTrustedBrowseForDoc = app.trustedFunction( function ( oArgs ) {
         app.beginPriv();
              var myTrustedRetn = app.browseForDoc( oArgs );
         app.endPriv();
         return myTrustedRetn;
    myTrustedSaveAs = app.trustedFunction( function ( doc, oArgs ) {
         app.beginPriv();
              var myTrustedRetn = doc.saveAs( oArgs );
         app.endPriv();
         return myTrustedRetn;
    The developer guide actually wants you to add this content to the existing "config.js" file. I recommend creating a new file, since its easier to deploy in a network. Either way, every client/user who needs to be able to save documents this way, needs this JavaScript Code in his Application/User-JavaScript-Folder.
    Within the Acrobat Document, which you want to obtain a certain file name, you can now use the trusted functions "myTrustedBrowseForDoc" and "myTrustedSaveAs" to store the file. To call the trusted functions and deliver the file name you can either you use a form field (button) or you add a new menu item. Add the following JavaScript Action to the button/menu item and change "Roller Coaster" to the name of the field which contains the value which you want to become the new file name:
    var fileName = this.getField("Roller Coaster").valueAsString;
    try {
         var oRetn = myTrustedBrowseForDoc({bSave: true, cFilenameInit: fileName + ".pdf"});
         try {
              myTrustedSaveAs(this, { cPath: oRetn.cPath, cFS:oRetn.cFS });
         catch(e) {
              console.println("Save not allowed, perhaps readonly.");
    catch(e) {
    console.println("User cancelled Save As dialog box");
    Good Luck!

  • Some add-ons are missing in the tools menu and / or modules and navigation bar

    I am running Firefox 20 FRENCH (this is maybe important as all of this below does not appear with the EN version...) on MacOSX 10.6.8.
    Symptoms :
    - Web Developer toolbar not displayed anymore.
    - Xmarks add-ons not displayed in the module bar.
    - Icons of other add-ons displayed in the navigation bar ONLY after the first firefox opening i.e. just after system restart. If firefox is closed and re-opened, all the add-ons icons are lost.
    > All the add-ons are installed in tha add-on menu.
    > This behavior only appear with the FRENCH versions of firefox (tried 19.0.2 and 20).
    > Installed the 19.0.2 ENGLISH version and all is OK !!!
    Fixes attempts (tried almost everything...) :
    - Reset firefox profile and restart with a new one : no effect (after I have reinstalled all the add-ons one by one...)
    - Uninstall Firefox (with profiles folder, cache folders, etc...) then reinstall : no effect
    - The only thing that is working is using the ENGLISH version...
    This is really annoying because as a web developer I really need the Web Developer extension.
    Does anyone has an idea of how to fix this ?
    Thank you very much for your help !
    Regards,

    Does it have any effect if you change the general.useragent.locale pref to en-US ?

Maybe you are looking for