app.project.renderQueue.item(index).status
But that is read-only. Instead there is also the not particularly helpfully named:
app.project.renderQueue.item(index).render
Which is read/write so you can just set it to false and it will unqueue the item
myItem = app.project.renderQueue.item(index);
if (myItem.render == true) {
myItem.render = false
}
app.project.renderQueue.item(index).status
But that is read-only. Instead there is also the not particularly helpfully named:
app.project.renderQueue.item(index).render
Which is read/write so you can just set it to false and it will unqueue the item
myItem = app.project.renderQueue.item(index);
if (myItem.render == true) {
myItem.render = false
}