You should use app.activeDocument.textFrames.itemByID(3771).
Where did you find this .item.id() syntax?
Hi John, and thanks
var textblock = app.activeDocument.textFrames.itemByID(3771);
textblock .move( [0, 4] );
but still doesn't move the textframe.
Your answer to "where?" is "somewhere" but not-gonna-say? I see.
Are you sure your ID is correct? What if you use
var textblock = app.activeDocument.textFrames;
? Are your units set reasonably so that you would see a [0,4] move?
Do you get an error?
Didn't think it was relevant, but here you go (an instance of "textFrame.id", from InDesignCS5_ScriptingGuide_JS.pdf)
The id was wrong, just like you said.
This line now works:
app.activeDocument.textFrames.itemByID(3768).move( [0, 4] );