Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

117
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!