Do any of you know if there is a way to programmatically hide an agent? I know you can go to the design properties and set the agent to be hidden, but I am looking for a hide\when functionality. If not a hide when functionality, then a way to set that setting via an API or in script.
i’m not shure what flag you’re talking about, but:
check wich flag it is (properly one in $flags).
build an agent that gets a list of all designelements you like to change (e.g. using NotesNoteCollection), loop through all agents, open them by note-id, check title and get/set flags…