Hi There, We have need to determine state of Annotes and Attachment panes open/close with every document open and do some actions based on that state. Here is the script that toggles app.execMenuItem("ShowHideAnnotManager") notes/Comments panel. But we need to determine the state of the p...