Unfortunately, you cannot.
MAybe I misunderstand, but isn't ist
what he’s looking for?
Not quite. The inks property reports all the inks defined to be used in the document. The separation panel shows only the inks actually used.
Moreso, the separations panel gives you info on the inks used by linked eps, pdfs etc, the inks property does not.
Ah, yes, you are right.
You could export a PDF and inspect that, I suppose.Not exactly trivial to extract the inks, though.
Close enough. Instead of PDF, you can export EPS files. They are text-encoded, and have all the colour info available, stored in two variables: %%DocumentProcessColors and %%DocumentCustomColors
I used this trick on a number of occasions. There are a lot more potentially useful informations in the EPS file, and Adobe's documentation of the format is surprisingly good.
You means separations panel list all colors actually used by document and the colors which placed links have
whereas app.activeDocument.inks property list inks defined to be used in documents.
One more thing when I just have a placed link in my document then separation panel list CMYK colors.
and when I turn ON/OFF a color I see the effect of that color in image.
Does it is not possible that for placed assets it uses CMYK values
Let me know your thoughts