A direct translation would be:
var documentLinks = app.activeDocument.links.everyItem().path;
Thanks for the reply!
When i try to run the above i get "Object does not support property or method 'path'"?
I did a bit more digging in the document that is causing the original translation to error.
The object that is causing the problem is called "<pasted graphic>" in the links palette.
Visually it looks like a small ammount of drop shadow on a white background.
Sorry, my code had an error:
var documentLinks = app.activeDocument.links.everyItem().filePath;