I can set (write) PDF Comments and Rating with syntax like so.
var stm = "SetAttr META \"comment: " + someVar + "\""
cmd.RunCommand(stm)
However, nothing I have tried can read them. I see this post which is very helpful to understand how to work with types of metadata. I have had no luck with the PDF comments and rating, that is reading them in to a variable. Is there a way to do this? Thanks