Question
adobe acrobat javascript check to see if a file is open
Just need to find out how to check if a file is open using JavaScript:
I have this but it doesn't work
if (myFile.open) <----This is where I need to check if a file is opened.
{
openDoc.insertPages({cPath : p});
}
else
{
var openDoc = app.openDoc(mFile);
openDoc.insertPages({cPath : p});
}
}
THanks.
