Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

118
Visualizações
Is it possible to detect the suppression of an object in InDesign using CEP/ExtendScript?

I'm currently creating a plugin on InDesign and I would like to know if it's possible to detect if the user deletes an object ? Because I would need to retrieve the id of the deleted object to remove it from an array.

I didn't find anything in the documentation about this I hope I didn't miss it.

if it's possible, i need to detect it on all elements of all pages.

I was thinking something like:

app.activeDocument.allPages.allItems.addEventListener("delete", function () {
     var idOfDeleteElement = this.id;
})

And also if the user selects several objects to delete, how to do ?

Here is an image to illustrate what I am talking about :

enter image description here

Thank you in advance !

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

The solution of @YuriKhristich is a good compromise :

Create a panel with a delete button and ask the user to use this button to delete items.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda