AS3, ID3: Finding a table on a page to copy the text it contains

In my script, I need to go to a table on the current InDesign page and access the info inside of it by just copying the text of the entire table. I know there must be some supremely easy way to do this, but how? The cells within the table all use the same paragraph style, and the text frame the table sits in has a label. Do I search for the para style, then somehow refer to its parent or something?
The tricky bit for me seems to be telling my script to find the tabel on the page and selecting it, since once I can do that I assume I can just change the table to text to get to all that data.
I'm using Applescript in InDesign CS3. Thanks.

If the text frame is labelled "Blah", you can get the table with:
table 1 of text frame "Blah"
if you ask for:
contents of table 1 of text frame "Blah"
You will get a list of the contents that appears in every cell.

Similar Messages

  • This is probably a dumb question, but I can't find an answer. How do I make the text on my calendar larger so I can actually read it when I print it out?

    This is probably a dumb question, but I can't find an answer. How do I make the text on my calendar larger so I can actually read it when I print it out? I am using a MacBook.

    Press "Command P" and when the Print dialogue box comes up, towards the bottom there is an option allowing you to choose the text size, i.e: small, med, large.
    Hope this helps,
    NEIL

  • How do you duplicate a PDF fill in form page, WITHOUT linking the text (for MAC)???  That is, while still being able to type different things into the blanks on the duplicate pages?

    The Situation (again, I have a Mac):  I am filling out a 5 job application- it is PDF format, with questions, and fill in the blanks for your information- such as name, date, and employment history.  Page 3, is the page used for employment history.  But, there is only room for two jobs on page 3.  The instructions tell you, you can "have as many page three's" as you want.  In my case, I will be putting 8 jobs- at two jobs per page, that is a total of 4 page three's.   I already know how to duplicate a PDF page, simply by opening the thumbnail viewer on the side, holding down the "alt" key, and clicking and dragging the desired page to create a duplicate.  So what is the problem??? When you duplicate the page, the boxes into which you type, are linked.  So if on the original, you type "Job A", into the experience box, it forces the same answer on the duplicate page, making it impossible to describe different positions!!!!  Is there a way to work around that? Thank you!!!!!

    You're probably using Acrobat if you can duplicate pages like that. This is the Adobe Reader forum...
    To answer your question, though: The only way this can be done automatically, without having to manually rename each field, is to use a Template to spawn new pages. This is something the form's author should have done, but you can do it yourself as well, using some code.

  • I can't find the help instructions that fit my problem. You said go to the help page and copy the instructions, but I don't see my particular problem listed or the solution to it. I told you I'm no genius; I totally confused.

    [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFileInputStream.init]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://1clickweather/content/js/utils/filemanager.js :: <TOP_LEVEL> :: line 233" data: no]
    This is the error message I get when I log onto my Earthlink email program and onto any website. I don't see any solution to error messages of this kind on the troubleshooting page.

    That is a fault with the 1Click Weather extension. Disable it or un-install it.

  • My photosmart 8250 prints the headings & color blocks on the diagnostic pages, but not the text.

    My photosmart 8250 suddenly stopped printing ( I have Windows 7). The cartridges have ink & there are no error mssgs. The self-test disgnostic prints the headings, borders & color blocks, but not the text under each heading. I ran the diagnostic utility & it said there were too many print jobs (?) and I cancelled them as directed.I re-ran the test & It  said there were no problems found. But it still isn't printing. I went to the control panel and ran THAT diagnostic & it said it found some problem with the USB connection, but that it was resolved. But, it STILL won't print.  I tried everything the diagnostic utility suggested - uninstalled and reinstalled the updated  software & driver, restarted the computer, etc. and it still won't print.

    Hi - Try following the steps in this document.  It will walk you through cleaning the rollers, which in many cases is the cause of this type of problem.
    Hope that helps.
    Say Thanks by clicking the Kudos thumbs up. Please mark the post that solves your problem as an Accepted Solution so other forum users can utilize the solution.
    I am an HP employee.

  • How do I split a table over two pages in Pages?

    Hi
    I'm trying to split a table in Pages so that the text in the two adjacent rows will fall on two separate pages but I cannot find a way to do this. This was something that is easy to do if using MS Word so I can't believe it would be a feature missing from Pages?
    The document I'm working with is my resume and I had my jobs nicely formatted in a long table so it was easy to work with (job title, dates, achievements etc. in different cells). Since updating to Yosemite and Pages 5.5 I've noticed that I now have my career summary and 'Professional Experience' title on the first page but the table with all my job information is now starting on the second page - leaving just a lot of blank space on the first page. One of the jobs on the second page now also splits across pages 2 and 3. I can see that it is trying to keep everything in the table together and that what I need to do is just split the table at a certain point so that I can put the first part of the table back onto page 1 and the second part of it on page 2 - but it won't give me any option to do this.
    Any ideas?

    Although this thread is several months old, I felt compelled to reply as I have just encountered this gaping hole in Pages functionality.  Jerrold Green 1 is incorrect in asserting that the OP's problem is that Pages won't split a cell across pages.  The OP clearly indicates that Pages is not moving rows that won't fit on the first page of the table, but rather it moves the whole table to the next page.
    So for example, if I have a paragraph of text at the top of page 1, and then insert a table under this paragraph that contains more rows than will fit on the remainder of the page, rather than the rows that won't fit being moved to page 2, Pages moves the entire table to page 2 leaving a big blank space on page 1.  But bizarrely if the table contains more rows than will fit on one whole page, then it will move the overflow rows onto the third page, making you wonder why it didn't just do this on page 1.
    This is with the table arrangement set to Move with Text.  If I set it to Stay on Page, the end of the table just flows over the footer and off the page into oblivion.  If I set Text Wrap to None, it just plonks the table right on top of the other text.  So it gives you the option to do something silly, but not the most sensible option.
    If I am missing something, then can someone please correct me.  Without this basic functionality Pages cannot be considered a professional Word Processor.  I'll unfortunately have to go back to MS Word.

  • Extract Title and specific table of content/pages in set of PDF's

    I need to extract the title of each PDF and a specific content and its pages. For example i have a folder full of PDF's and i need to find in the Table of Contents a heading called Enhancements if there. If Enhancement content is there copy the Title of the PDF usually on first page and copy the Enhancement section and place in another PDF as chronology of enhancements.I have AA Standard X
    What tool can do this?

    You could certainly use the SDK to write a custom plugin to Acrobat (in C/C++) that would do what you require.  It's not trivial, however.

  • How to: Print table on first page, use second page (back) for text only

    Hi, I am looking for a clear document on how to use pagination and the Odd and Even pages.
    We need to print a table over several pages, but only on Odd pages.
    On the back of each page we need to print "Terms and Conditions". Is that possible? Can it be done without scripting
    We are on ADOBE version 8.1
    In the file properties, double sided is switched on, and version set to 8.1 and higher.
    I created two Master pages, a FrontPage with ContentArea1and a BackPage with ContentArea2.
    FrontPage is used for uneven pages, BackPage is used for the even pages. The masterpages are printed correctly (alternating properly).
    Two pages were created for the content area's:
    ITEMS: contains item data (table with header and footer). Place is "On Odd Page". After "Goto page BackPage". And if the table needs to be paginated it goes to BackPage with overflow leader "Conditions".
    CONDITIONS: contains a textfield (Terms and Conditions). Place is "On Even Page". After "Goto page FrontPage". No overflow.
    What should happen is that on the front pages the item table is printed. If there are too many lines it should overflow to page number 3 then 5 etc. All the even pages should display the text.
    What actually happens is that the item table also gets printed in the content area for the Condition text...
    Also the "Conditions" are not printed on the last back page. But only once before it...
    Cheers,
    Edwin.

    Fixed it... After a lot of creating, deleting, playing around with pagination and the inevitable cursing...
    I have created 5 pages:
    1. FirstPage
         - Odd/Even: Odd (Front) Pages
         - Placement: First page (In page set)
    2. FrontPage (For Odd pages)
         - Odd/Even: Odd/Front Pages
         - Placement: Rest of Pages
    3. BackPage (For Even pages)
         - Odd/Even: Even (Back) Pages
         - Placement: Rest of Pages
    4. LastPage
         - Odd/Even: No Odd/Even Restrictions
         - Placement: Last page (In page set)
    5. DummyPage
         - Odd/Even: Blank pages
    The 'Terms and conditions' are located on the BackPage and LastPage (as a text).
    The table that is printed is (of course) located on a normal page (flowed subform).
    Pagination tab: Placement = Following previous, and After = "Continue filling parent". No overflow... Basically, it's all default.
    The table lines will now start on the first page and if there are more lines than can be printed on this page, it will continue in the next content area. That will be on the FrontPage.
    The trick is that each master page must have a content area (mandatory). Except for Blank pages, but these cannot be used... Blank pages would only be used once, after the first page.
    What I discovered is that you can drag a content area away from the Master page and attach it to a different master page.
    Logically, if there is no content area on a page, then data cannot be printed there. So, I created a Dummypage. On this page I dumped the content areas from the LastPage and the BackPage. As a result, content cannot be printed anymore on the back of pages. Only the standard text (a text field) is printed there. When the data from the table is overflowing, it will automatically overflow from the FirstPage to the next content area. Which is located on the FrontPages only.
    The DummyPage is NOT used anywhere.
    The result is that the records can only be printed on the content areas that exist on the First and Front pages. The back pages are now skipped.
    Duplex printing is now working correctly, and the text is printed on the back of all the pages.
    Cheers,
    Edwin.

  • Using Pages, I have created a document and inserted a Table for use in logging an inventaory. When I came to print this off however the lines for the table were missing but the text was in the Table format, weird! How do I print the Table?

    Using Pages, I have created a document and inserted a Table for use logging an inventory. When I came to print this document the lines and boarders of the Table feature did not print however the text did print in the table format. How do I get the lines and boarders to print also?

    Using Pages, I have created a document and inserted a Table for use logging an inventory. When I came to print this document the lines and boarders of the Table feature did not print however the text did print in the table format. How do I get the lines and boarders to print also?

  • Dynamic display of table on ADF page

    I am looking for a ADF page which has a drop down box having table name as inputs and when selected it should show the data inside that table in the ADF table component.

    Hi John,
    Regarding your situation if you use different page fragment and then by using dymanic task flow decide which page fragment must be shown (each fragment has a table) in this case it is really performance effective because in the case of switcher or simpler (add 3-4 differenct table and just flag the rendered attribute of each table) your page must have all the iterator of the tables.
    when your page render all the iterator must be proceed.
    in the TAsk flow situation just the iterator of the fragment would be proceed.
    so the most simple solution is drag all the table to the page and just flag the rendered attribute of each of them so only one of them render base on the choice list.
    the best solution is to use the task flow.
    Good Luck.

  • How to emulate Word tables behaviour in Pages

    I am trying to create a document which has the text of a book in English in the left column of each page and the same text in Japanese in the right column. I want the beginning of each paragraph to align with the beginning of each corresponding paragraph in the other language.
    I was doing this in Word previously, but because I'm in the beta program, Word (2011 beta) starts to freak out with documents over about 300 pages. In Word, I did it by having a 2-column table, using a single row for each chapter. I then used line breaks to align the paragraphs within a chapter.
    Is there any way to get similar functionality in Pages? I tried doing it with a table (by importing the .docx I had been working on) but Pages only shows one row per page, hiding all the text in any row which doesn't fit on a single page. Can I make column rows flow over more than one page?
    I also tried working with text boxes, but they are such a clunky solution and it seems (unless I'm missing a trick) that I'd have to manually put new text boxes in the same position on each page, then manually create the link between each one.
    Many thanks

    Blahah404 wrote:
    As I understand it I can use Applescript to interact with Pages, is this correct? If so, is it possible to write a script which creates a new table row and fills it with content overflowing from the previous row, ad infinitum until all the content is visible in successive rows? It seems strange that there would be no tool available for this functionality.
    You may feel that it's strange.
    What is sure is that there is no such a feature.
    The support of tables in AppleScript is really short :
    just a command allowing us to create a table with a given contents, with or without a header row or/and a header column.
    no provision to rule columns widths, rows heights.
    I built a small script able to extract the contents of a table but at this time, I found no way to edit them.
    tell application "System Events" to set (UI elements enabled) to true
    tell application "Pages"
    activate
    set table_name to "Table 1"
    tell document "Sans titre 3"
    set window_name to name
    set existing_graphics to name of every graphic
    if existing_graphics does not contain table_name then
    add table data {{"Year", "Mac", "iPad"}, ¬
    {2009, 100, 0}, {2010, 200, 220}} with header column and header row
    end if
    -- get properties of every graphic
    set name of graphic 1 to table_name
    end tell -- document
    end tell -- application Pages
    Now we use GUI scripting
    tell application "System Events" to tell application process "Pages"
    tell table table_name of UI element 1 of group 1 of UI element 1 of scroll area 1 of splitter group 1 of window window_name
    -- get every attribute
    get properties of attribute "AXRowCount"
    -- {class:attribute, name:"AXRowCount", value:3, settable:false}
    (* We can get the Row Count but we can't change it *)
    tell first static text of UI element 2 of row 2
    get properties
    get attributes
    get properties of attribute "AXFocused"
    -- {class:attribute, name:"AXFocused", value:false, settable:false}
    (* We can get the value but we can't change it *)
    get properties of attribute "AXEnabled"
    -- {class:attribute, name:"AXEnabled", value:false, settable:false}
    (* We can get the value but we can't change it *)
    get properties of attribute "AXSelectedText"
    -- {class:attribute, name:"AXSelectedText", value:missing value, settable:false}
    (* We can get the value but we can't change it *)
    get properties of attribute "AXSelectedTextRange"
    -- {class:attribute, name:"AXSelectedTextRange", value:missing value, settable:false}
    (* We can get the value but we can't change it *)
    get properties of attribute "AXValue"
    -- {class:attribute, name:"AXValue", value:"100", settable:false}
    (* We can get the value but we can't change it *)
    end tell -- first static…
    end tell -- table…
    end tell
    With such tool, I feel that it's difficult to achieve your goal.
    It's why I responded :
    If this doesn't fit your needs, you must use an other tool.
    Yvan KOENIG (VALLAURIS, France) dimanche 11 juillet 2010 18:03:07

  • How to make column heading in a table cross multiple pages

    I have a large table that crosses over to a second page.  I would like the column headings to be displayed on the second page.  Is this possible and how to do it?

    Heading rows are automatically cloned to table continuations.
    if you aren't seeing heading rows on subsequent pages (and you can tell because you can see them but you can't edit them there), the usual reason is that what appear to be heading rows on the first page are just body rows with heading paragraph formats.
    If all real heading rows have been deleted, it's usually easiest to just create a new table with heading rows and copy the content over.

  • Shaded band on Table of Contents page

    Hi everyone
    I wonder if anyone can help me with a query on the Table of Contents page?  Everything is looking good except that at the bottom of the page there is a shaded square on the left and a band all the way across the page and extending beyond the green b/g.  It doesn't look like it is part of the design of the TOC page and is a bit unattractive.  This is the "Natural Science" template. 
    In chapters where I have lots of sections in the contents list, the section names do not show up well in this shaded part.  I have moved everything around on the page so that the text box with the section names is on the RH side and the heading on the left, but this section text box has to be pushed further up the page because of the lower shaded band and looks a bit unnatural there. 
    Any ideas?  I enclose a picture of an example page to show what I am seeing.
    Many thanks
    Eluned

    I can help a bit by saying that those shaded areas at the bottom are placeholders for the thumbnails or preview images of your chapter's sections and pages. When working properly it looks like a film strip.
    What I can't say is why yours aren't showing up. I'm having the same problem and signed into the forums to look for solutions to this. I hope someone else can offer a suggestion for us both.
    Ian

  • Internal table to BSP Page

    how do I fill up the internal table on BSP page.

    I have the following code in a view
    <htmlb:textView text   = "PO # "
                    design = "EMPHASIZED" />
    <htmlb:inputField invalid  = "false"
                      value    = "po number"
                      required = "true" />
    v_po_num type ref to my_model
    but when I execute the BSP, i'm getting "po number" displayed in the PO number field.  Couldn't figure out
    why it is not displaying the value retrieved from the model method.

  • Script to find out table and index candidates to keep in the buffer pool

    I am looking for a script to find out tables and indexes to keep in the buffer pool.
    Could you help me on this ?
    thanks...
    Markus

    this is more of a open question. As you know ur data well. We do not know whats ur data. cachin tables in buffer pool is okay, but it might age out after not being used...instead you can use the KEEP POOL...to cache small tables/popular tables into the keep pool...as keep pool guarantees full caching .....
    here are some links on keep pool cacheing
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/memory.htm#sthref410
    http://www.dba-oracle.com/oracle_tips_cache_small_fts.htm
    http://www.dba-oracle.com/t_script_automate_keep_pool_tables_indexes.htm
    http://www.dba-oracle.com/oracle_news/news_caching_keep_pool_large_objects_clob_blob.htm
    Edited by: user630084 on Apr 8, 2009 5:48 AM

Maybe you are looking for

  • Facing problem during uploadation of Routing data using CA01-BDC - URGENT

    Dear All, When I am trying to upload Routing data using CA01 in the Table Control scenario, then I am facing problem as my last 2 records are not getting uploaded from my Test file. For example, I am having 47 records in my Test File and after settin

  • Log apply service in 10g dataguard

    Very Good Morning to all ; I  have a doubt when applying redo data at standby site. (MAXIMUM PERFORMANCE) In physical standby database ,  I know , Redo Data is applied from  standby redo log (real time apply )  or  archive redo log ( redo apply)   1)

  • LMS 4.1 Credential Verification Report

    Hi, when running Credential Verification Report, I get following notification: "None of the devices have credential verification data". I have made different Default Device Credential sets that I'm using when I add devices to LMS. I been looking at t

  • How to get dev server files in to SAP@webstudio

    Hi, I have installed SAP@webstudio in my PC for doing some enhancements for my project.How can i get all development files which are in existence into my toool Webstudio? I did as below. tools>Repository>Connect to R/3 System. Then it is displayed al

  • On which Macbook does Aperture really work?

    I've recently started working with aperture with a macbook air. When using the brushes on RAW photo's it frequently stops and freezes. I've contacted apple directly. However they could not answer my question on which systems Aperture should be workin