How delete a document into a Book Indesign?

I generate a book with a script and I would like scan my doc "testimonies.xml" to know if it's an empty file. If it's empty I would like my book don't integrate the file testimonies.indd. How can I do that?
Thanks for your help
Joseph

I generate a book with a script and I would like scan my doc "testimonies.xml" to know if it's an empty file. If it's empty I would like my book don't integrate the file testimonies.indd. How can I do that?
Thanks for your help
Joseph

Similar Messages

  • Can't import csv document into address book

    Hi folks, I can't import a csv document into address book. Just get a spinning wheel. I am an OSX 10.5.9 (Leopard) I exported a csv file from Excel then tried to import but nothing happens except a spinning wheel some times.
    Any thoughts?
    Thanks in advance.
    Ed Carreon
    http://www.carreonphotography.com

    You need to have setup your document with the appropriate fields for each piece of data, otherwise Address Book can't import it. If you take your current Address Book and export all the contacts as a single vCard file, then use this online tool (http://labs.brotherli.ch/vcfconvert/) to convert them to a CSV file, you can open the result in Excel or Pages to see how your document should be setup when you export it to CSV for importing into Address Book.

  • How to import Document in a book

    I am using cs3 (Mac os x).
    I created a book using javascript and then i save it.
    app.books.add(myPath + Save + ".indb");
    app.activeDocument.save(File(myPath + Save + ".indb"), false);
    My question is i need to add or import all the file into that book.
    I need to add all the document into the book these document are in the same folder where i save the book. Is there any way that i can add all the file from that folder to the book.
    --Avi

    I need to do three things in this code.
    1) I need to create a book.
    2) THEN ADD all the file in that book(This all file are content in a folder).
    3) Then save this book in the same folder from where i took the file.
    I am trying use
    app.bookContents.add(myPath + Save + ".indb");
    But i am getting error as object does not support the property.
    Can anybody help me to get this three things done.

  • Importing addresses in Word document into Address Book

    I have a Word document that has all of my addresses in a label-like format.
    How do I import this into Address Book? can I make some easy modifications so I do not have to retype the whole thing into Address Book.

    Mail can import a tab delimited text file. Do a find and replace to change the spaces to Tabs. If you have a double-return between records, then you can search for that and replace it with a manual line break. Then, change the rest of the paragraphs to tabs so that each record is one line.
    You can then change the manual line breaks back to paragraph marks.
    You may have to ensure you have the same number of fields for each record by adding tabs to ones that don't have all the info of the rest.

  • How to get documents into adobe reader iphone

    hi all -- new to my iphone -- i want to read pdfs using the adobe reader -- how do i get pdfs loaded into ???? so the phone can download it

    hazardzzz,
    Please take a look at the following FAQ document to see if it helps you get started with Adobe Reader on your iPhone.
    How to get PDF documents into Adobe Reader for iOS (iPhone on iOS 7 version)

  • How to scan document into forms directly ?

    hi all
    how to scan any document into oracle developer form directly
    (we are using forms 4.5 ..on win 98)
    thanks
    Abu zaid Saad
    [email protected]

    First I would suggest that you read the documentation about working with Active/X.
    The online version is in the documentation section of Forms on OTN.
    Then, you insert the scan.ocx into your form. you use the ole importer to create a pl/sql package to communicate with the ocx and you are ready to start calling methods such as scan etc...

  • How to group documents into folders

    How do you group documents into folders on iPad Adobe Reader

    You make a folder first, then you move files into the folder.
    Start with the Documents on the left. Click the Edit button (upper right). Click the Add Folder button (folder with + icon). Name the folder.
    Then Click the Edit button, if necessary. Click on the names of files (you'll see checkboxes). Then click the Add to Folder button (arrow into folder icon).

  • How to insert document into xmltype column through an http post request with perl

    Oracle 11.2.0.3
    Windows server 2008r2
    Apache tomcat 7.0
    Oracle APEX 4.2.1
    Oracle APEX Listener 2.0
    I would like to insert a XML document into the database through an APEX restful web service. The POST into the web service in done with PERL. The following code will insert an empty record in a table with column of XMLType type.
    Perl Code
    use strict;
    use warnings;
    use LWP::UserAgent;
    use HTTP:Headers;
    my $headers = HTTP::Headers->new();
    my $url = "http://host:port:apex/<application_workspace>/<restfull service module>/<uri template>/
    my $sendthis = ('<?xml version="1.0" enconding="utf-8"?>
    <students>
    <row>
           <name>Mark</name>
          <age>30</age>
    </row>
    <./students>';)
    $headers -> header('Content-Type' => 'text/xml; charset=utf-8');
    my $request = HTTP:Request->new('POST', $url, $headers, $sendthis);
    $request-> protocol('HTTP/1.1');
    my $browser = LWP::UserAgent->new();
    my $response = $browser->request($request);
    my $gotthis= $response->content();
    my $the_file_data = $response->content();
    APEX restful service
    Method: POST
    Source type: PL/SQL
    MIME Types allowed: blank
    require secure access: none
    source:
    {declare
    doc varchar2(32000);
    begin
    insert into table <column name>
    values(doc);
    commit;
    end;
    Table code
    { create table <tablename>
    (column name XMLType>);
    The above code will insert an empty column into the table.
    Any ideas why?

    It's a really bad idea to assemble XML using strings and string concatenation in SQL or PL/SQL. First there is a 4K limit in SQL, and 32K limit in PL/SQL, which means you end up constructing the XML in chunks, adding uneccessary complications. 2nd you cannot confirm the XML is valid or well formed using external tools.
    IMHO it makes much more sense to keep the XML content seperated from the SQL / PL/SQL code
    When the XML can be stored a File System accessable from the database, The files can be loaded into the database using mechansims like BFILE.
    In cases where the XML must be staged on a remote file system, the files can be loaded into the database using FTP or HTTP and in cases where this is not an option, SQLLDR.
    -Mark

  • Turning 81/2 x 11 document into small book

    How do I take a document that is on 81/2 x 11 sheets of paper and turn it into side by side reading like a book so I guess the pages would now be
    81/2 by 5 1/2 and have it print that way.  I can make it do it to read but not to print.

    Hi kiki,
    Your printer driver may offer the ability to scale printing to fit multiple pages on a single sheet. Press command-P to open the Print dialogue, then check the 'Copiers and Pages' pop-up menu for 'Layout':
    This will scale the pages to fit, and place 2 or 4 (or more) onto one side of a single sheet.
    What it will NOT do, though is 'impose' the document; change the order of pages to place them in correct order in a booklet made from several sheets of paper, printed on both sides.
    Peter Breis has written a set of instructions for imposing pages here. Scroll to near the end of the page, or use command-F to Find 'imposing pages'.
    Peter also includes links to several software solutions for imposing pages from Pages documents. They're at the end of the article.
    Regards,
    Barry

  • How to import attachment into Address Book "Notes" field

    Is it possible to import an attachment into the Address Book "Notes" field? Jpg, PDF, pages doc, whatever...? Don't really care if the file is "visible" (IE if photo, can actually SEE photo)... a clickable icon would be fine.
    Thanks
    Ian

    Hi and Welcome to the Forums!
    I'm not aware of any direct connector provided by RIM for this purpose. They do supply an ASCII/CSV import capability...see this KB:
    KB11194 How to import contacts from an CSV file to the BlackBerry device
    You'd have to find out from AOL how to get your contacts exported to an ASCII or CSV file.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to move documents into a new folder in Pages for iPad

    I have several files in a folder in Pages on my, and want to move some of them into a new folder. How can I do that?  Thank you.

    copy two of them out into the "root" folder, make a new folder with those two, and then start moving the others in that you want to put together.
    Jason

  • How to convert a large document into a InDesign Book w/Chapters?

    Hello!
    I just started a position with a company that has a number of catalogs full of the widgets they sell. Previously the catalog work was outsourced to a company that uses Quark, and the first thing I did when I started was to convert them to InDesign using a 3rd party plugin.
    The one I'm working on now is 400+ pages, including a TOC and 2 indexes (words / item nos.), and is currently 4 VERY large files that take 5-10 minutes each to open.
    What I'd like to do is split the entire catalog along logical lines into a bunch of 10-50 page documents, then stitch them all back together as Chapters in a Book file. The plan is to have the smaller documents be usable either as stand-alone brochures or as pieces of the big catalog. Once I can get it all organized the way I want, I'll be redoing the TOC and indexes as well.
    So, to boil it down to a few questions:
    1. How do I split a large document into smaller pieces?
    2. I have a basic understanding of creating a Book file, but are there any pitfalls I should watch out for when stitching the bits back together?
    3. Is it possible to have page numbering automated so that if I open a chapter on its own the pages will be, say, 1-20; but if I open it in the context of the book file the pages will be, say, 84-104?
    4. Are the page numbering, TOC, and indexing tools flexible enough to where if I modify a section such that it adds or removes pages in that section, the entire book file will restructure to accommodate?
    A thousand thanks in advance to all who read this, and to any who respond!

    S_Atwood wrote:
    Hello!
    I just started a position with a company that has a number of catalogs full of the widgets they sell. Previously the catalog work was outsourced to a company that uses Quark, and the first thing I did when I started was to convert them to InDesign using a 3rd party plugin.
    The one I'm working on now is 400+ pages, including a TOC and 2 indexes (words / item nos.), and is currently 4 VERY large files that take 5-10 minutes each to open.
    What I'd like to do is split the entire catalog along logical lines into a bunch of 10-50 page documents, then stitch them all back together as Chapters in a Book file. The plan is to have the smaller documents be usable either as stand-alone brochures or as pieces of the big catalog. Once I can get it all organized the way I want, I'll be redoing the TOC and indexes as well.
    So, to boil it down to a few questions:
    1. How do I split a large document into smaller pieces?
    Saving x-number of copies as new names, then chop off the unwanted parts is pretty efficient.
    2. I have a basic understanding of creating a Book file, but are there any pitfalls I should watch out for when stitching the bits back together?
    Nothing specific, other than learning the ins and outs of working with book files. For example, if you change a style in one file, you'd want to use the Synchronize feature to propagate the change to the other files, but you'd also need to remember if any change in one file shouldn't be propagated to others, and deselect it in the Synchronize dialog box.
    It's a good idea to open all and save all book files before doing any book-wide operation; even better to save the whole directory for safety. Working on open  files gives you some undo powers that working with closed files doesn't.
    3. Is it possible to have page numbering automated so that if I open a chapter on its own the pages will be, say, 1-20; but if I open it in the context of the book file the pages will be, say, 84-104?
    The individual files need to be checked and perhaps updated or have their numbering restarted when they're removed from the book file's control. It depends on how you've set up the numbering.
    4. Are the page numbering, TOC, and indexing tools flexible enough to where if I modify a section such that it adds or removes pages in that section, the entire book file will restructure to accommodate?
    A thousand thanks in advance to all who read this, and to any who respond!
    Both TOC and Index have check boxes to include all files in the current book. You need to update the TOC, and generate the index again with Replace Existing Index checked, after making changes.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • I need to turn an indesign document into an editable pdf. how do I do that?

    I need to turn an indesign document into an editable pdf, how do I do that?

    InCopy is a solution, but it's not the only viable solution.
    I update many books, from 200 pages to 3,200 pages every year, long document, very techincal tax books.
    Some are done through InCopy, some are edited word files and rtfs exported from InDesign, some are marked up hard copies etc.
    It totally depends on the clients technical ability with computers. Last year I taught over 30 authors of ours how to use InCopy. Some were receptive, some were dubious, some were totally clueless.
    And on the dubious and totally clueless I spent more time troubleshooting their problems than I would normally with a Word/RTF option.
    Some people are capable of switching to InCopy or even know how to use it in the first place. For anyone never used InDesign or InCopy before then it's a massive learning curve to jump from MS Word et al word processors, to InCopy.
    I do agree, it is the best solution that's out there, technically. But that solution is not usable by a lot of people.
    Yeh if the client is comfortable with InCopy then it's the way forward.
    But in most cases, in my experience, it's faster and more efficient to Export the text as RTF and let the author update the RTF. That leaves you in control of reinserting the text and formatting it correctly. Rather than letting the client add bold, underline, italics, superscript, subscripts, crazy workarounds because they didn't know how to do it properly. And in the end you end up with 2 or 3 times the amount of work than is necessary, just cleaning up what the client has done in InCopy that does not suit the overall formatting of the publications.

  • How Do I combine 2 InDesign Documents into 1 (in a very particular way)

    How do I combine two InDesign Documents into one in a very specific way.
    Here's my problem: I have two separate InDesign CS5 files for playing cards. File one is the front. File two is the back.
    The company that does my final print production needs the the cards sent as two separate PDFs. One for the card fronts, one for the card backs. Both of these InDesign (and the PDF export) files are arranged in the same way: page 1 is card #1, page 2 is card #2, etc. Nice and simple.
    However, I use a different company for producing prototype versions of the decks (the production printer can't do this economically). My prototype producer needs me to send a single PDF where page 1 is Card #1 Back, page 2 is Card #1 Front, Page 3 is Card #2 back, Page 4 is Card #2 front, etc.
    The decks I am building usually run 56 cards, but can be as large as 180 cards.
    So, what's the easiest way to automate this process? is there a way to combine two separate indesign files by "interleaving" the pages from the two original documents into a new larger document (where I could do a new PDF export)?  Or, is there a better way to do this in Acrobat Pro? At the moment I have to resort to drag and dropping each card from one PDF thumbnail pallet to the other. It's really time consuming and mind-numbingly boring.  Any Ideas?

    This script is actually pretty straightforward, so it's a good first
    challenge I think.
    I would script this in InDesign -- probably because I'm more familiar
    with InDesign scripting.
    To start learning the InDesign scripting basics, open the ExtendScript
    Toolkit (ESTK) which is almost certainly installed on your computer
    already. Go to the Help menu, and you'll find an entry there called
    Adobe Intro to Scripting. Read that. I think that's the best place to start.
    For the script in question, you would want to:
    1. make sure both InDesign documents are open. They would both have the
    same number of pages. (No scripting involved here, just make sure
    they're open before running the script.)
    2. loop backwards through the collection of document pages of one of the
    documents. (document.pages is the collection you're looking for)
    3. use the move() method of a document page to move it. (myPage.move())
    4. Learn about the LocationOptions enumerator so that when you move the
    page you can tell InDesign if you want to move it before, or after
    another page. (LocationOptions.AFTER or LocationOptions.BEFORE)
    5. Get a reference to the page in the second document before (or after)
    which you want to move the page in the first document.
    5. that's basically it
    I suggest that as you work your way through this (if you decide to take
    up the challenge), you post any questions you may have on the InDesign
    Scripting forum here.

  • How do I open a pdf book cover file using Acrobat XI into Indesign CC?  Everytime I try, it says I am trying to open a file that has been saved wrong.

    How do I open a pdf book cover file using Acrobat XI into Indesign CC?  Everytime I try, it says I am trying to open a file that has been saved wrong.

    PDF files cannot be natively opened in InDesign. They can only be placed as graphics.

Maybe you are looking for

  • Hide Top level navigation if user assigned only one role

    Hi, I would like to hide the top level navigation if user assigned with only one role. I can create role based rule to show desktop using Master rule collection, but is it possible by doing to with role count. If user has multiple roles show desktop1

  • Choppy playback/pixelating but previews and plays on compter fine.

    I have been hunting through the forum answers but..........my project has been edited/saved multiple times,(trying to get a successful burn!). It is from iMovieHD, runs56 minutes with 26 scenes. There are a few iTune tracks on a like number of clips

  • How do I change a PDF file to a MSPowerpoint File?

    How do I change a PDF file to a MSpowerpoint file

  • Making a straight line aligned with text and adjusting length

    i am trying to make a simple straight line above some text in after effects cs5 that lines up with the beginning and end of the text. Not touching or anything. Nothing special. then a line perpendicular to it of a different stroke size. Also i want i

  • Final Cut Pro markers

    I often use Final Cut to edit floorball games that I shoot in my spare time. These projects are quite long, rarely less than an hour. In order to make the DVD from a game user friendly, I add chapter markers for when things in the game occurs; scorin