Skip to main content
Participating Frequently
January 26, 2021
Question

Programmatically set value to the Comment Input then Trigger click of Post button on Comment panel

  • January 26, 2021
  • 0 replies
  • 193 views

Hello,

 

We want that whenever we highlighted text on the viewer, we will insert the copied text(+ some texts) to the comment input then automatically trigger the Post button. 

 

We can now get the highlighted text using AdobeDC.View.Enum.FilePreviewEvents.PREVIEW_SELECTION_END event but we still don't know how to put that value to the Comment input and trigger the Post button automatically.

 

Is there a a way to access the current Comment controls?

 

Thanks,

 

 

 

 

This topic has been closed for replies.