How can I add a comment to a document via an automation chain?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2012 01:24 PM
Most information regarding a document is modifiable in some way in Studio, but I haven't found anything to manage comments.
The closest I've found is the CommentManager
class, but I have not been able to get that to work in a Run Script
CommentManager cm = Framework.getService(CommentManager.class);
This errors with the message
An error occured while executing the chain 'TestChain': [Error: could not access: class; in class: java.lang.Class] [Near : {... Unknown ....}] ^ [Line: 1, Column: 0]
I don't know if this is the correct route or if it's even possible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2015 04:15 AM
hello,
you just need to do
cm = Framework.getService(CommentManager);
regards, Thierry
