Skip to main content
JustisV
New Participant
December 21, 2022
Question

Option or anscript to remove all sticky notes from the layout

  • December 21, 2022
  • 5 replies
  • 1419 views

I don't know if this is the right place to ask this, but I'm using Indesign in the Woodwing environment and I'm wondering, if it's possible to remove all sticky notes with a script? Now you have to delete sticky notes manually, this feature would save some time.

This topic has been closed for replies.

5 replies

Stefan Rakete
Inspiring
December 23, 2022

It is not possible to remove the WoodWing sticky notes by scripting. What you could do instead is deactivate both the sticky note anchor (blue) and the note itself with the menu command View > Deactivate Sticky Notes.

Community Expert
December 22, 2022

Hi @JustisV ,

I'm not familiar with Woodwing's Sticky Notes feature described here:

https://helpcenter.woodwing.com/hc/en-us/articles/360041019032-Working-with-Sticky-Notes-in-Studio-for-InDesign-and-InCopy

 

But if the "sticky notes" are build upon InDesign's own Note objects under the hood one should be able to remove them all with:

app.documents[0].stories.everyItem().notes.everyItem().remove();

 

Source:

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#Note.html

 

Regards,
Uwe Laubender
( Adobe Community Expert )

Community Expert
December 22, 2022

Well, after looking again at the screenshots of Woodwing's Sticky Notes, I do not think that they are actually InDesign Note objects. InDesign Note objects are tied to text. Woodwing's Sticky Notes are not.

 

Regards,
Uwe Laubender
( Adobe Community Expert )

Community Expert
December 22, 2022

Hi Uwe,

It surely looks like Woodwings own implementation rather than a polished workflow kind of product on InDesign's native feature. They seem to have good support for scripting exposed for these plugins so I hope the have it for the sticky notes one as well.

-Manan

Robert at ID-Tasker
Brainiac
December 22, 2022

I don't have this plugin installed - can you share sample INDD document? 

 

And also - just in case - IDML from the same file? 

 

Community Expert
December 22, 2022

Hi @JustisV,

This might be possible as I see Woodwing has some robust scripting solution for their products. Have a look at the following link

https://woodwing.github.io/enterprise-integration-guide/1068-index

If you know scripting you can explore the API's and experiment, else a more suitable place to post this question would be the Woodwing Community. See the support section on the link I gave above for more details

-Manan

Steve Werner
Community Expert
December 22, 2022

It's definitely no built into InDesign. I think it would require a script. Let's see if anyone knows of one, or can create one quickly.