user9281: I can add my composition to Adobe Media Encoder Queue using below command
app.executeCommand(3800);

Now how i can render it from Adobe Media Encoder using render command like this
aerender -project /path/to/project/  -comp "Composition"  -v "ERRORS_AND_PROGRESS" -output output.mp4'

Thanks

user18561: Better later than never.
Since After Effects CC 2015.3 (13.8) you can send your comp to AME queue and render it immédiate with the recently used template.
app.project.renderQueue.canQueueInAME --> false is there is nothing to render in AE
app.project.renderQueue.queueInAME(false); --> false = no render, true = render immedialty in AME
Adobe exemple : 
// Scripting support for Queue in AME.
// Requires Adobe Media Encoder 11.0.
{
    if (app.project.renderQueue.canQueueInAME == true)
    {
        // Send queued items to AME, but do not start rendering.
        app.project.renderQueue.queueInAME(false);
    }
    else {
        alert("There are no queued item in the Render Queue.");
    }
}

My exemple of use :
var resultFile = new File(outputVideoPath + outputVideoName)
var renderQueue = app.project.renderQueue;
var render = renderQueue.items.add(comp);
render.outputModules[1].file = resultFile;

app.project.renderQueue.queueInAME(true);

More details : https://forums.adobe.com/thread/2230567

9281: <p>I can add my composition to Adobe Media Encoder Queue using below command</p>

<pre><code>app.executeCommand(3800);
</code></pre>

<p>Now how i can render it from Adobe Media Encoder using render command like this</p>

<pre><code>aerender -project /path/to/project/  -comp "Composition"  -v "ERRORS_AND_PROGRESS" -output output.mp4'
</code></pre>

<p>Thanks</p>
 18561: <p>Better later than never.</p>

<p>Since After Effects CC 2015.3 (13.8) you can send your comp to AME queue and render it immédiate with the recently used template.</p>

<p>app.project.renderQueue.canQueueInAME --> false is there is nothing to render in AE
app.project.renderQueue.queueInAME(false); --> false = no render, true = render immedialty in AME</p>

<p>Adobe exemple : </p>

<pre><code>// Scripting support for Queue in AME.
// Requires Adobe Media Encoder 11.0.
{
    if (app.project.renderQueue.canQueueInAME == true)
    {
        // Send queued items to AME, but do not start rendering.
        app.project.renderQueue.queueInAME(false);
    }
    else {
        alert("There are no queued item in the Render Queue.");
    }
}
</code></pre>

<p>My exemple of use :</p>

<pre><code>var resultFile = new File(outputVideoPath + outputVideoName)
var renderQueue = app.project.renderQueue;
var render = renderQueue.items.add(comp);
render.outputModules[1].file = resultFile;

app.project.renderQueue.queueInAME(true);
</code></pre>

<p>More details : <a href="https://forums.adobe.com/thread/2230567" rel="nofollow noreferrer">https://forums.adobe.com/thread/2230567</a></p>
