Is it possible to remove all tables at once from an InDesign document?

Hello,
I have a long document with embedded tables. I now need to shorten the document to a list, basically, and would like to delete all of the tables.
Does anyone know if there is there a way to do this without having to select and delete each table individually?
Thanks,
T.

This isn't exactly simple, but:
//DESCRIPTION: Select next table in story
if (app.documents.length > 0 &&
        app.selection.length == 1 &&
            app.selection[0].hasOwnProperty("baseline")) {
  selectNextTableInStory(app.selection[0]);
} else if (app.documents.length > 0 &&
          app.selection.length > 0 &&
            app.selection[0].constructor.name == "Table") {
  selectNextTableInStory(app.selection[0].storyOffset.parent.characters[app.selection[0].storyOffset.index+1]);
function selectNextTableInStory(myText) {
  try {
    var myIP = myText.insertionPoints[0];
  } catch(e) { beep(); return; }
  var myRestOfStory = myIP.parent.texts.itemByRange(myIP,myIP.parent.insertionPoints[-1]);
  var myTables = myRestOfStory.tables;
  if (myTables.length == 0) { beep(); return; }
  app.select(myTables[0]);
It works if you have a text selection in a story or a whole table selected (so you can step through the tables if you want to).
It wouldn't be hard to make it work if you had a selection inside a table, but that enters into the philosophical area of what to do if a selection is text in a cell that has tables in it, so I ducked the issue altogether -- it would, in that case, select the tables in the cell or beep if there were none.
It also beeps if you have the last table in a story or if there are no tables in a story.
It'll do nothing if you have any other kind of selection.
Dave

Similar Messages

  • How can i remove all contact at once from ovi?

    after synchronise with ovi & my mobile how can i remove all contact from my ovi's contact.
    I can remove one by one but i want to remove all at once. how possible??
    Solved!
    Go to Solution.

    @tkwcare:
    Beware of that method. Restoring your contacts after sync'ing will restore the phone to a state with a timestamp prior to when the sync occurred. Sync'ing again will attempt to bring the phone up to date with the online resource and, in doing so, will delete all the contacts off the phone!
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • I have got a lot of apps, which are not installed on any of my iDevices anymore. is there a possibility to remove all those apps from iTunes without searching which ones are, and which ones aren't installed on one of my iDevices?

    I have got a lot of apps, which are not installed on any of my iDevices anymore. is there a possibility to remove all those apps from iTunes without searching which ones are, and which ones aren't installed on one of my iDevices?

    Assuming all the device(s) have been synced to this computer as its Home computer. The easiest way would be to delete all the apps from iTunes. After which connect your device(s) to the computer (iTunes) and transfer purchases from the device(s) by right click (control click) the device name in the left sidebar and the click transfer purchases. When done only the apps on your device(s) will be in you iTunes library.
    Hope that helps

  • Is there a way to remove all email at once on iPad first generation?

    Is there a way to remove all email at once on iPad first generation?

    Issue does not apply to just first gen iPads, but all iOS devices. The only place in the native mail app that permits deleting en mass is the trash folder. In all other folders you must tap each message to select it before deleting. There may be alternate mail apps that include this function in the app store, but I have yet to find one.

  • How can I remove all photos and directories from iPhoto?

    How can I remove all photos and directories from iPhoto as if it was a brand new install?
    I am new to iPhoto and was unaware of how it works, honestly I still am a little confused as to when pics I am using 1/2 the time, some from iPhoto and some from MyPics.
    Anyhow, I am looking to remove all photos from iPhoto because during the migration of all my photos from PC to MAC, somehow my timeline became messed up and all my photos that have been logged my dates since 1998 are now all messed up.
    Although all my year folders are still in tact, IE 1998-2006, the subfolders and like pics are all intertwined somehow.
    And when I search iPhoto for a given year, photos from 2,4, 8 yrs back show up in 2006.
    Anyhow, I have selected and deleted all photos and folders within iPhoto, and then import the desired photos from MyPics, only to have the photos double up in the library. ( The old ones that should be deleted and the new imports)
    I simply don't get it, they fill the trash and disappear when it's emptied, then reappear when iPhoto re-opens!
    Can someone help????
    I have completely reworked all my photos so that they are all in the correct folders outside of iPhoto, and now I want to import those and only those pics with that file structure.
    IE Structure = YEAR > MONTH > DAY ( or if needed) > DAY/EVENT

    Do you want to remove the existing full sized image files also? If so then just drag the iPhoto Library folder from the Pictures folder to the Trash and empty it. But be warned you'll lose all of your image files.
    You are dragging the files to the iPhoto Trash bin and then using the iPhoto->Empty Trash menu, right?
    In copying your photos to myspace and then back the original capture date may not be retained and then either the created date or modified date will be used by iPhoto. If the files in the current library are the originals from your camera then those have the best chance of retaining the correct Captured Date. You can check that out by dragging the Originals folder from your iPhoto Library folder to the desktop and then trash what remains of the iPhoto Library folder. Then launch iPhoto and it will ask you to create an new library. Then import that Originals folder and it's subfolders by dragging it into iPhoto's open window. You'll keep the same rolls that was. The roll dates may change but you can check the captured date of the files by using the calendar in the Source pane.
    You won't be able to keep your folder structure within iPhoto. Each outside folder will result in a roll with the same title as the folder. You'll be able to create folders in the Source pane to put albums inside. You can create a smart album to include all photos in a certain date range, line one month.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    G5 Dual Core 2GHz, 2G RAM, 250G HD; G4 Dual 1Ghz, 1.5G RAM, 80G HD,   Mac OS X (10.4.7)   22 LCD Display, 200G & 160G FW HDs, Canon S400, i850 & LIDE 50, Epson R200

  • Remove all non-number characters from a string

    hi
    How i can remove all non-number characters from a column ? for example , i have a column that contains data like
    'sd3456'
    'gfg87s989'
    '45/45fgfg'
    '4354-df4456'
    and i want to convert it to
    '3456'
    '87989'
    '4545'
    '43544456'
    thx in adv

    Or in 9i,
    Something like this ->
    satyaki>
    satyaki>with vat
      2  as
      3    (
      4      select 'sd3456' cola from dual
      5      union all
      6      select 'gfg87s989' from dual
      7      union all
      8      select '45/45fgfg' from dual
      9      union all
    10      select '4354-df4456' from dual
    11    )
    12  select translate(cola,'abcdefghijklmnopqrstuvwxyz-/*#$%^&@()/?,<>;:{}[]|\`"',' ') res
    13  from vat;
    RES
    3456
    87989
    4545
    43544456
    Elapsed: 00:00:00.00
    satyaki>
    {code}
    I checked this with minimum test cases. It will be better if you checked it with other cases.
    Regards.
    Satyaki De.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to remove all the cleaup events from DBA_AUDIT_MGMT_CLEAN_EVENTS

    Dear gurus,
    how to remove all the cleaup events from DBA_AUDIT_MGMT_CLEAN_EVENTS
    Arun

    Hi,
    Take a look:
    http://www.morganslibrary.org/reference/pkgs/dbms_audit_mgmt.html
    Regards,

  • Is it possible to remove an action log entry from a ticket?

    Hello.
    Is it possible to remove an actoin log entry from a ticket.  We may run into a situation when confidential data has been pasted into the action log.
    Thank you,
    Richard

    Yes, but not through the UI. the easiest way to do this would be with
    SMLets.
    Import-Module SMLets
    $IRClass = Get-scsmclass Workitem.Incident$
    $SRClass = Get-SCSMClass Workitem.ServiceRequest$
    $ActLogRelationshipClass = get-scsmrelationshipclass System.WorkItem.TroubleTicketHasActionLog
    $IR = Get-SCSMObject -Class $IRClass -Filter "Name -eq 'IR21'"
    $ActionLogs = Get-SCSMRelatedObject -SMObject $IR -Relationship $ActLogRelationshipClass
    Foreach ($ActionLog in $ActionLogs) {
    if ( $ActionLog.Description -match "TEST") {
    Remove-SCSMObject $ActionLog -Force -WhatIf
    It should be noted that this will not remove the action log form the data warehouse. there isn't a supported method to edit data in the DW, so you're kinda on your own if you need to remove this data from the historical records

  • TS4147 How to remove all the duplicated contacts from ICloud?

    How to remove all the duplicated contacts from ICloud?

    If your Mac is syncing contacts with your iCloud account, open Contact on your Mac and go to Card>Look for Duplicates, then Merge the found duplicates.  These changes will be synced to iCloud.

  • I have removed all music/movies/etc. from iTunes due to duplicates. I have connected iTunes to a NEW library only to have the same problem, duplicates (2 or 3 of every song). I need a solution.

    I have removed all music/movies/etc. from iTunes due to duplicates. I have connected iTunes to a NEW library (38.33 GB) only to have the same problem, duplicates (2 or 3 of every song or 63.80 GB). I did not have this problem until syncing my library with the new Macbook Pro. I need a solution (a solution IS NOT sifting through my iTunes song by song and deleting the duplicates).

    Try disabling the computer's antivirus and firewall.
    - Next try the manual install method of:
    iDevice Troubleshooting 101 :: iPhone, iPad, iPod touch
    Place the iPod in recovery mode after the firmware download is complete and then restore using the instructions in the article. Sometimes recovery mode timeouts and returns to disabled before the firmware download is complete.
    - Then try on another computer

  • Remove all time machine backups from a certain date and backward

    Right, so here's what I want to do: I want to navigate back to a specific date -- for arguments sake let's say June -- and remove all time machine backups from that date and earlier. Is there an easy way to do so without going through every entry in time machine and "removing backup"?
    I want to migrate my time machine backups to a new drive, but realize I don't really need EVERYTHING here since its for an older machine. So what I'd like to do is get my rather large 1.5 TB time machine backup down to a more manageable size and then migrate it to a new drive.

    I don't recommend deleting Time Machine snapshots. If you have multiple backup volumes, which you should have, and you need to repurpose one of them, you should just erase it. But if you want to try it anyway, and if you're running OS X 10.8 or later (not any older version), see below.
    Don't attempt this procedure unless you have at least one other complete backup of all the data. You should have another backup anyway — one is never enough to be safe.
    Navigate in the Finder to your backup disk, and then to the folder named "Backups.backupdb" at the top level of the volume. If you back up over a network, you'll first have to mount the "sparsebundle" file containing your backups by double-clicking it. Descend into the folder until you see the snapshots, which are represented by folders with a name that begins with the date of the snapshot. Drag the ones you don't want to the Trash and empty. Sometimes, for unknown and unpredictable reasons, the Trash will fail to empty with a cryptic error message. I don't know of any way to recover from that condition except to erase the backup volume and start over.

  • With itunes match live on my iOS devices, can I now remove all local music files from my PC to free up space?  There's no need to keep it if it will always be in the cloud.  Right?

    With itunes match live on my iOS devices, can I now remove all local music files from my PC to free up space?  There's no need to keep it if it will always be in the cloud.  Right?

    With itunes match live on my iOS devices, can I now remove all local music files from my PC to free up space?  There's no need to keep it if it will always be in the cloud.  Right?

  • How do i wipe my mac? i sold it and now want to remove all of my details from it. Do i have to wipe it or can i just reformat the hardrive????

    how do i wipe my mac? i sold it and now want to remove all of my details from it. Do i have to wipe it or can i just reformat the hardrive????

    aha yes - Lion has changed you harddrive setup and added a "recover partition" Now it gets - not technical - but time consuming.
    try:
    insert your Snow Leopard installer DVD.
    Reboot
    Immediately After startup sound, hold down ALT.
    You'll be presented with several options. Select your install DVD and continue.
    If it doesn't fail:
    Once the installer has started, go t the top menu and select "disc utility"
    go to the "partition" screen and erase all partitions back to one single partition
    return to the installer and install that older OS X version
    give to buyer minus the price of a Lion upgrade
    If it fails, go to step 1 and boot from your "recovery drive".
    once the installer has sarted, go to the top menu and select "disk utility"
    erase the drive partition that used to contain OSX Lion - this will remove your private data, all apps and OSX Lion.
    Restart, hold own "eject" and remove the DVD, and shut down again.
    You'll have to hand it over to the new buyer in this state. Tell him the machine will boot into the Lion installer but he'll have to create an App Store account to download and install OS X Lion. One again, give him a reduced price equal to the price of the Lion upgrade. Way I see it, no other options remain.

  • When I share a pages document as a PDF (via e-mail) all the pictures change from the original document, most are missing with just a few of them repeated in the spots where others had been.  How do I do this without the document changing?

    When I share a pages document as a PDF (via e-mail) all the pictures change from the original document, most are missing with just a few of them repeated in the spots where others had been.  How do I do this without the document changing?
    I need to be able to send it to a PC in order to print it.

    Hard to say what is happening without examining the file.
    If you like click on my blue name and email me both the .pages file and the the .pdf you have made from it.
    Peter
    ps It would help to say what version of Pages you are using and on what you are running it. iOS or Mac and what version.

  • How can I delete ALL photos at once from iPad 1 (OS 5.1.1) ?

    How can I delete ALL photos at once from iPad 1 (OS 5.1.1) ?

    Weird but I can't see "Photos & Camera" in "Settings / / General / usage".
    It's werid because I have pictures on the iPad.
    I'm thinknig to complete delete everything and restore system.
    Any other suggestions ?

Maybe you are looking for

  • Blog Summary page as index.html

    hi, my web hosting server have index.html as my main page. is there any way i could have my blog summary page as my index page? all i want is the blog as my entire site, without any other pages. thnx

  • Issue with debit credit indicator in datasource 0CO_OM_WBS_6

    Hi experts, I'm workin gon cube 0COOM_C=2 that was implemented.. i was analizing values and matching them to R3 when i came across with something that might be an issue (or is just something that i still don't understand). I'm specifically refering t

  • Search resources based on created date

    Hi, I am unable to search the resources based on creation date. I used the code as follows. sqb = new SearchQueryListBuilder(); Timestamp ts3 = new Timestamp(d3.getTime()); String searchCreDt = "default:created(value>"ts3.toString()")"; sqb.setSelect

  • Seperate field containing date and time into two seperate columns

    Hi I have a column which contains entries which are in the format date time i.e. 27/10/2005 07:06:09 however i would like to have these as two seperate columns so the date is in one and the time in another. how would i go about doing this in pl/sql?

  • Opening camera or calculator from lock screen

    Recently I upgraded my 5S to IOS 8.3 and now faced issue when starting camera or calculator from lock screen. I'm pressing "home" button to activate screen and then start calculator or camera from bottom menu, but the screen goes black immediately. W