Finding folios in the indesign document

i want to find the folios in the indesign document and i want to write in csv file. filename.foliosexistpage.
could anyone tell me

Hi,
There is no folio in InDesign, You can get a pagenumber with section prefix. by using the following code:
app.activeDocument.pages.everyItem().name;
Regards,
Ramkumar .P

Similar Messages

  • Is there any way to get the height/width of an image before importing it in the indesign document.

    Hi All,
    I need to obtain an image's attributes such as dimensions (height, width in pixels) without placing image in indesign document.
    I have full path of the image (say abc.jpg is stored at c:\my pic\abc.jpg).
    I have obtained the IDFile for this image, tried getting size using GetFileSize() which correctly return size in bytes.
    Is there any way to get the height/width of image without importing it in the indesign document.
    Please, give me some hints. I have spent quite a lot time digging in CHM. I have searched in FileUtils, IDFile API's but found no method which serves this purpose.
    At this point I am clueless where to search next.
    Any help will be appriciated.
    Just a point to mention, I am able to get image height and width for an image in indesign doc though Its not my requirement.
    Thnx,
    D.

    You might be able to examine the contents of the PlaceGun after calling kImportAndLoadPlaceGunCmdBoss without actually placing the image in a document. Not sure, but would be worth looking at.
    Otherwise you will probably have to write platform specific code, ideally with a generic platform-independant wrapper (see SDKSamples/paneltreeview/PlatformFileSystemIterator).
    For the Mac, look at CGImageGetWidth() etc., not sure what the best option is for windows.
    Perhaps Quicktime could provide you with a platform independant solution.

  • Opening XFL in flash is maintaining the geometry of the indesign document

    Hi ,
    I have expoerted XFL out of indesign document .The indesign document contains 3 pages and each page contains a text element .Exported into XFL and opened in flash CS4 that contains 3 frames and each frame contains a movieclip.And inside each movieclip whatever the text element in the indesign is existing but geometry of the text element was different in flash as compared to indesign .How i can achieve same geometry in flash.can some one help in this.
    Rejani R

    OK, I see it now.  For some reason I had it in my head that all you could do was to set the Adobe PDF Presets, then export the entire document using those presets. I wasn't paying attention when exporting. 
    Out of curiosity, why can you set the PDF presets seperately, when it's all there again when you are actually exporting to PDF?  What's the advantage?
    Thanks

  • How can I find out in the billing document, who creat the billing.

    how can I find out in the billing document, who creat the billing.
    thanks.

    On  VF03 -Enter billing document number>>press on enter button>>you will get overview of billing document item>> select menubar>>Goto>>header>>header parthner>>you will get full screen with Name "Created By".
    Thanks&Rgds,
    Rajesh

  • Problem while changing the width of the Indesign document through inx.

    Hi Guys,
    I am facing a problem related to the width of InDesign documents. Description of the problem is as follows:-
    I have created an InDesign document with height = 700 and width = 500 and export this as an inx file (lets say Doc1.inx).
    As "Doc1.inx" is just an xml file I have made certain changes to the height and width fields of the dcoument in it. (Height =900 and Width = 600)
    For Height changes are made under following tags :- <docu>
                                                                                   <docp>
                                                                                     phgt = "U_900" ;
    For Width changes are made under tags :- <docu>
                                                                    <docp>
                                                                      pwdt = "U_600";
    Now when I opened the modified "Doc1.inx" file with InDesign the modifications for height are correctly reflected, but the width of the column doesn't gets changed. Please open the attachments to see the difference.
    Attachment contains the snap shots of documents created at step 1(Initial_Doc1.indd) and step 3(Modified_Doc1.indd).
    What should be the modifications we have to do in inx file to reflect the correct modified width of the document. Also is there any document or article which gives the correct understanding of the tags used in inx files.
    Any help will be appreciable.

    I'm having troubles getting any sensible values at all using CS -- on the other hand, you forgot to mention your version, so I figgered I could try.
    (Just as an example, setting width & height to 600 pt and 900 pt -- you don't mention your units of measure either, is it meters? inches? -- I get "phgt="u_408c2000~0" pwdt="u_4082c000~0"", which doesn't make sense. Cicero's!? [*])
    But further below, I can see some definitions for columns: count (colc="l_1") and some measurements in that same system, which I suspect to be the width and height you are looking for. You switch between describing you succesfully changed the width and height of the document, and complaining the column does not change. Apparently, the column width is defined in itself, rather than using the "document marges" you are used to in the interface itself.
    [*] On second look, I can see more hexadecimal digits in other 'numbers'. It must be hexadecimally encoded IEEE floating point numbers -- "408c2000" decodes to 4.378906, and 4082c000 to 4.085938 -- both valid floating point numbers, but still I wouldn't know in what system.
    I hope your version uses regular decimal notation!

  • [IDCS2]How to move the Snippet in a folder inside the Indesign Document Using Script?

    Hi
    How should i move all the snippet objects in a folder in to an Indesign Document using Javscript?
    Thanks
    myriaz

    Once you have the snippet in your document, how do you move it/select it? My snippet is a text frame with a table in it.
    This does NOT work:
    var myFoot = myDocument.pages.item(0).place("Hard Drive:Users:Casey:Desktop:footer.INDS")
    myFoot = myFoot[0]
    myFoot.geometricBounds = ["1", "1", "1", "1"]
    The snippet gets placed, but my error says "Object does not support the property or method 'geometricBounds'. This code works for normal images I place.
    JS - Mac - CS3
    Casey

  • Find the Missing font text content in indesign document

    How to find and get the missing font content in the indesign documents by using the SDK. give a tips and techniques.
    Anybodys help me.

    It wont answer your question, but you could have this problem too:
    I have a problem in my current project where text frame having no text make the document report the usage of a font wich we dont want the project to use (times by exemple). The problem being that Indesign report usage of a font wich is in fact not applied to any text. Weird!
    The easy fix is to identify those items (text frame class + no text) and reassign them as "unassigned".

  • Is it possible to link and update external files in a Indesign document when sharing the Indesign file in Creative Cloud with multiple users?

    I am new to Creative Cloud, but have been using Adobe software for many years.
    Now we are considering sharing an Indesign file with my project group using CC.
    The Indesign file contains links to external files (one Illustrator and multiple .txt files); and we export the approved version to an Hi-Res PDF.
    These .txt files are currently hosted on our internal server but have not been linked directly: we first copy them over to local desktop and update the links in Indesign before creating a new PDF. 
    Since these file can be update by different people we would like to keep them outside the Indesign and Illustrator files.
    Is it still possible with CC to link directly to the files on our server in Indesign and see if there have been updated?
    Or can they also be stored in the CC cloud? Or is there another method?
    Thanks in advance for any help or suggestions
    Ronald

    This will work if you all use the file syncing of the Creative Cloud desktop application and then you use the Collaborate option for the folder containing all the files. Then it will work on each of your desktops.
    Links to files will not work in the browser when viewing the InDesign document from https://creative.adobe.com/files.

  • My InDesign document is getting bigger with every saving, but i didn't change the placed images

    The related ebook PDF is 70 MB heavy - while the InDesign Document only has 3 pages (A4). I can't downsample the PDF-Size.
    Is ther a BAK in the latest Update of InDesign or Acrobat? The InDesign size mutates from 4 MB to 177 MB to 230 MB.

    Is it possible not to post this screenshot public?
    I have also placed the file sizes in the Explorer-Window (bottom left), and the situation, while i generate the ebook PDF (so that you can see my settings).
    Many thanks!

  • How to map the elements in Indesign document with the PDF elements

    I wanted to know any way of mapping elements in the InDesign document with the elements in the exported PDF document from the same InDesign document.
    E.g If I have an Image X in InDesign document, Can I point out the same element in exported PDF using some mapping?
    Thanks in advance
    -Sandeep

    What is meant by me is, if there is a Text element in InDesign document, I should able to point out the respective PDF object.
    I am looking for some way to mark a specific InDesign element and once we export the document to PDF, I want to point out to the same element in some way so that I can process it.
    Requirement is simple, one user will mark some elements in the InDesign document and export it to PDF and send it to the other user. Other user will parse the PDF and extract the same element back or process it and use it.

  • EPS files placed in InDesign can't be saved in Photoshop until the ID document is saved

    Hi!
    I'm wondering if there's a way around this problem.
    When mounting an EPS images in InDesign that image can't be saved in Photoshop until the InDesign document has been saved.
    Is there a workaround for this problem?
    It doesn't happen with TIFF files, for example.

    What Bob means here is that when Photoshop opens an EPS it instantly rasterises it. Whereas you can save an eps with vector shapes, vector masks and type and it outputs as vector, once it's reopened in Photoshop it's completely rasterised by default.
    The preferred format would be a PDF as this would retain the vector shapes, masks, type for both editing and output.
    A psd will output everything as raster at the native file resolution, although you can open the PSD file and edit the vector elements.
    If the original EPS from the OP has no vector elements and is just a raster document, then it won't do any harm opening it in Photoshop.
    EPS won't support layers though.
    Whereas PSD and PDF (version 6 and above) do support layers.
    There's plenty of info in this document regarding the subject - http://www.adobe.com/designcenter/cs4/articles/cs4_printguide.html (links are on the right to download the document)

  • Structure inDesign document and export as XML for use in the web

    Hello everyone,
    I just recently started using inDesign and I am fascinated by its possibilities! I use it for a project where a finished inDesign layout that is used for a printed publication is now supposed to be transformed for implementing it on a web site. My job is to export the inDesign document as an XML file. After massive reading the last weeks I'm quite familiar with the structuring and tagging in inDesign. Though there's some issues I do not understand. Your precious advice would be of highest meaning to me
    The programmer who will later use my XML output for the web-transformation needs the document structured in different levels like "Root > Chapter > Subchapter > Text passage / table". I already structured the document with tags like title, text passage, table, infobox,... but the structure is just linear, putting one item following to another.
    How can I structure the document with reoccuring tags that enable me to identify the exact position of an item in the document's structure? So that I can say for example "text passage X" is located in chapter 4, subchapter 1. This has to be done because the document is supposed to be updated later on. So maybe a chapter gets modified and has to be replaced, but this replacement is supposed to be displayed.
    I hope my problem becomes clear! That's my biggest issue for now. So for any help I'd be very thankful!

    Our print publications are created in InDesign CS5 for Mac then the text is exported to RTF files then sent to an outside company to be converted to our XML specifications for use by our website developers.  I would like to create a workflow in which our XML tags are included in the InDesign layouts and then export the XML from the layouts.
    Some more detail about what kind of formatting is necessary might be helpful.
    I know that IDML files contain the entire layout in XML format.  Is it a good idea to extract what we need from IDML, using the already-assigned tags?
    Well, if you want to export the whole document, it's the only reasonable approach.
    We use a workflow system such that each story is a seperate InCopy document, stored in ICML format (Basically a subset of IDML). Our web automation uses XSLT to convert each story into HTML for use on our web site; it also matches it up with external metadata so it knows what is a headline and what is not, etc.. It is not exactly hassle free, and every once in a while someone uses a new InDesign feature that breaks things (e.g., our XSLT has no support for paragraph numbering, so numbered paragraphs show up without their numbers).
    You could do the same thing with with IDML, you'd just have to pick out each story, but that's small potatoes compared to all the XSL work you're going to have to do.
    On the other hand, there may be better approaches if you're not going to export the whole document. For instance,  you could use scripting to export each story as an RTF file, and then you could convert the RTF files into HTML using other tools.

  • Once uploaded, my indesign document has a different typeface.  Why is the font replaced?

    We have a standard branding font that we are required to use throughout all of our marketing collateral.  The cloud has replaced it with Times when it's saved.  Thanks for your help!

    We do not have access to your customer fonts. The fonts we support for image previews of InDesign files is documented here http://www.adobe.com/type/browser/fontinstall/cs6installedfonts.html.
    One solution is to convert the InDesign document to a PDF and upload. The PDF will retain the custom font. And the image preview will display as you expect.

  • Finding then combining content from several indesign documents in one document

    Hi everyone,
    I wonder if someone can help...
    I'm trying to write scripts for indesign server which I want to:
    a) search for,
    b) pick out, then
    c) put together content from one or many indesign documents into a template on the server starting at a pre-defined point in the template. 
    After that we produce a pdf of the document to pass on / do whatever. I've got so far with the scripting documentation but I'm stuck!  This is what I've done so far:
    1/ create a document template with a script
    2/ add text elements to the document template (header and footnote, title,       body text i.e. intro and data, and the contact details)
    3/ add text / content from another indesign file into this       document (so far only done it with a .txt file) ...
    ... I'm stuck on the indesign documents at the moment.  I have       looked at various options, the most appropriate way I can see in       the manuals to get content from one document to another is by       duplicating.  My understanding is to do this you have to target the text in the source       document, duplicate it and then add it into a text frame on the       target document.  It's the targettting of the text and surrounding       elements in the source document I'm battling with. 
    any ideas on how I go about this effectively? 
    Any help and advice appreciated!

    The story so far...
    I've added the code kindly provided by getZinger (thanks again!) and am now stuck on the next stage, .  I've commented the code where I'm having problems, and essentially have two key issues to resolve:
    1/ how I get the documents to be placed one after the other, avoiding the overlay I get on the first insertion page.
       (I am using a fixed value as an insert point as the template I'm using will always have inserts starting on page 3).
    2/ how I access the pdf's I want to insert from a location other than C:\Users\Whoever\Documents\
    try{
    for(myCounter = app.documents.length; myCounter > 0; myCounter--){
    app.documents.item(myCounter-1).close (SaveOptions.no);
      myDocument = app.open(File("C:/.../template.indd"));
      myPDFFiles = ["pdf1.pdf","pdf2.pdf","pdf3.pdf"];
    insertPdf();
    function insertPdf(){
    //I've gone for a static number here as the datapage in the skeleton doc  is page 3.
    //This seems to result in some of the pages being placed on top of each  other :-(
        var myPage = myDocument.pages.item(2);
        /*var myPageNames = new Array;
        //Get the names of the pages in the document
        for(var myCounter = 0; myCounter < myDocument.pages.length;myCounter++){
            myPageNames.push(myDocument.pages.item(myCounter).name);
        var myPDFSet = File("C:/Users/Simon/Desktop/Mexico.pdf");
        for(myIndex=0;myIndex<myPDFFiles.length;myIndex++){
        myPDFSet = File(myPDFFiles[myIndex])
        myPlacePDF(myDocument, myPage, myPDFSet);
        myDocument.exportFile(ExportFormat.pdfType, new File("C:/.../test_insert.pdf"), false);
        myDocument.close(SaveOptions.no);
    }catch(e) { myDocument.close(SaveOptions.no); }
    function myPlacePDF(myDocument, myPage, myPDFSet){
    var myPDFPage;
    app.pdfPlacePreferences.pdfCrop = PDFCrop.cropMedia;
    var myCounter = 1;
    var myBreak = false;
    while(myBreak == false){
    if(myCounter > 1){
    myPage = myDocument.pages.add(LocationOptions.after, myPage);
    app.pdfPlacePreferences.pageNumber = myCounter;
    //the files seem to be automatically placed from C:\Users\Whoever\Documents
    //I need to change this to accept a different file path somehow but I  don't know how
    //this is why the myPDFFiles array only has filenames at the moment
    myPDFPage = myPage.place(File(myPDFSet), [0,0])[0];
    if(myCounter == 1){
    var myFirstPage = myPDFPage.pdfAttributes.pageNumber;
    else{
    if(myPDFPage.pdfAttributes.pageNumber == myFirstPage){
    myPage.remove();
    myBreak = true;
    myCounter = myCounter + 1;
    once again, thanks for taking the time to read this, any help greatly appreciated :-)

  • InDesign document for proofreading in Word?

    Hi,
    Our office is producting a monthly newsletter of about 52 pages. So far, we have been doing it in Microsoft Word and this is working quite well. When the newsletter is finished, I email it to a proofreader who makes the necessary changes and returns it to me. All the changes are clearly visible and can be accepted or rejected with the help of the Reviewing Toolbar.
    However, we are soon switching over to InDesign, and my question is: How can I convert the InDesign document into a format that can be reviewed in Word? Our proofreader (doing his work at home) does not have InDesign.
    I would be gratefull for any suggestions and comments.
    Irmgard Wesselbaum
    (Melbourne, Australia)

    This is a workflow issue.
    Typos and other word-proceesing changes should be fixed PRIOR to placement of the story in InDesign so you aren't correcting dozens of those mistakes after layout is complete. Word files with changes that are waiting for acceptance or rejection are a very large source of trouble.
    That's the theory, but here in the real world there are still usually a few errors that get by, so some changes are pretty inevitable. Since line endings are generally different in Word and ID, one of the most common changes I see is editing to add or lose a line for copy fit or to fix a "runt."  Many of us use PDF for proofing -- sending a PDF to the proofer that has been enabled for commenting in Adobe Reader. This works pretty well, though I find it helps if you can train the proofreader to use the highlighter tool in conjuction with whatever other tool they might be using to make changes.
    ID also comes with a free year of the CS Live online service that is full of bells and whistles for commenting and other markup of your project. I don't use it, primarily because I don't want to get hooked on a service that I'll have to pay for to continue using only a few times a year, but you may feel differently.
    Bottom line, I think is that you should contine to do the writing in Word, but don't attempt fancy Word formatting to make it "look like" your newsletter -- just type. ID is the program for layout. Send the Word file as usual for editing, Accept/reject changes, then place the file into ID. When layout is complete send a new PDF proof with commenting enabled with the understanding that YOU will need to make any new changes, and the types of changes should really be limited to layout issues (if possible) rather than wholesale re-writes. The same goes for images, by the way. If they need some sort of correction, that really should be done before they get to you for inclusion, but again, that isn't always what happens. Fortunately, ID's integration with Photoshop and Illustrator make it a snap to choose "edit original" to pop over to those apps, edit a linked asset, and go back to ID where the link will update automatically.
    Do your writers use styles in Word? Do they even know what that means? Your life in ID will be much simpler, and the layout faster, if you get properly styled (meaning text is tagged with styles, not necessarily that those styles have the correct final formats) documents from your authors. That's seldom the case out here in the real world, but we can all wish. There are several free scripts floating around that will take a typical Word file that is 100% formatted using Normal and bold and italic buttons and will preserve the local changes, creating proper styles. You'll want to try these...

Maybe you are looking for

  • SmartView 11.1.2.2 Crashes when attempting to access "Options"/"Formatting"

    Hello all - We are encountering a problem with SmartView 11.1.2.2 installed on a virtual machine. When the user goes to the Formatting tab after clicking the Options on the SmartView ribbon, their Excel crashes every time. We have other users who hav

  • G/L Account Balance RFSLD00

    If anybody has worked on this program, I just wanted to know in the LD, SDF, what is SKC1A is doing and how it is derived from GLDB and what is GLDB? Thanks

  • Error on installing AIA Demo

    I am trying to install AIA Demo on Windows XP. The version I am trying to install is 2.2.1. Getting the following error. [exec] deploy: [exec] [echo] =============D:\oracleaia\AIAHOME/util/DeployTool/AIABuild.properties============= [exec] [exec] run

  • Why does my iphone 3g keep freezing?

    why does my iphone 3g keep freezing?

  • Upgrade from 10GR1 to 10GR2: Spatial Component invalid

    I'm currently upgrading a database on a solaris box from 10GR1 to 10GR2 (10.1.0.2.0 to 10.2.0.1.0). After running catupgrd the Spatial Component is marked as invalid. Spatial INVALID 10.2.0.1.0 00:30:28 I checked through the log file of the upgrade a