Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Delete table shortcut

Participant ,
Sep 24, 2021 Sep 24, 2021

Looking to set a shortcut to delete a table, I just can't do it because the table menu hasn't this option. Beyond this issue, does anybody know if a script can delete all tables of a document? Thank you.

TOPICS
Feature request , How to , Scripting
396
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Mentor , Sep 24, 2021 Sep 24, 2021

Snag_2a36a4.pngexpand image

Translate
Mentor ,
Sep 24, 2021 Sep 24, 2021

Snag_2a36a4.pngexpand image

Remember, never say you can't do something in InDesign, it's always just a question of finding the right workaround to get the job done. © David Blatner
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Sep 24, 2021 Sep 24, 2021

I do assign SHIFT+CTRL+Backspace and it works. 

 

2021-09-24_10-47-45.pngexpand image

 

Strange task to kill all the tables needs script. 

https://www.id-extras.com/delete-all-empty-rows-or-columns-from-an-indesign-table/ - here the payment version of your task. Or wait here, may be some of forum-users who's know scripting write to you such a script for deleting all the tables in a publication.

 

 

Remember, never say you can't do something in InDesign, it's always just a question of finding the right workaround to get the job done. © David Blatner
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Sep 24, 2021 Sep 24, 2021

Thank you. I apologize for the badly expressed question.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 24, 2021 Sep 24, 2021
LATEST

As for the second part of your question, this script should delete all tables in the active document:

 

app.activeDocument.stories.everyItem().tables.everyItem().remove();

 

- Mark 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines