ExportPDF unique pages with the heading text (content) file name

Hi all

I found PEU5 for export in the form of simple pages it works fantastic!, now how can I call the content of the topic as file name in the export to Pdf

any help please...

HI DAVID DAVA!

TRY THIS

app.findGrepPreferences = null;

app.findGrepPreferences.appliedParagraphStyle = "Title";

result = app.activeDocument.findGrep ();

While (result.length)

{

Str = result.pop ();

myDoc var = app.activeDocument;

app.findGrepPreferences = NothingEnum.nothing;

app.findGrepPreferences = NothingEnum.nothing;

app.findGrepPreferences.findWhat = str.contents;

var myFind = myDoc.findGrep ();

for (var a = myFind.length - 1; a > = 0; a-) {}

Alert (myFind [a]. (Happy);

myFinds = myFind [a]

}

for (var myCounter = 0; myCounter<>

myCounter ++) {}

myPageName = myDocument.pages.item (myCounter) .name;

app.pdfExportPreferences.pageRange = myPageName;

Tags: InDesign

Similar Questions

  • When I opened the window "save the Page under", the drop-down box file name indicates the files that have been saved a long time ago. It is not cleared by a function 'clear history' that I can find. How can I erase this?

    1. Question

    When I opened the window "save the Page under", the drop-down box file name indicates the files that have been saved a long time ago. It is not cleared by a function 'clear history' that I can find. How can I erase this?

    Hello.

    I think this is a related issue of Windows, because it is the Manager to save the windows file that we are talking about here (right?). You should contact Microsoft for help with this one, I think. You expect to be able to delete entries simply by touching delete on your keyboard when they are concentrated (that is how it goes for the removal of the form entries specific autocomplete in Firefox), but I have not tried.

    I'm sorry I can't be more helpful.

  • Startup applications with the mime type or file-name extension

    Hello

    is it possible to start the corresponding application for a mime-type file or a file extention? I have for example a JPEG image or PDF file stored on the SD card and wants to open by calling the assosiated on the BlackBerry Smartphone application.

    Lars

    Ok. I've got so far. But how do I know which deals with the application for example .jpg or .pdf? I found the registry as the place of registry types mime and file-extensions for a particular application, but could find no way to recover this information with other applications from there. Any idea?

    Lars

  • How do I click a button and have a fill in Firefox as I am with the specified text?

    I have support for a specific group of customers. I find myself repeatedly in writing almost the exact same paragraphs. What add-on would allow me to simply fill a field on a page with the exact text - I'm hoping to set up 20 or 30 replies I can just select instead of having to retype everything. Thanks for the tips.

    Try the cuts:

  • find a block of text on the page with the name of script

    Hi all

    I need to create a script for

    find a block of text on the page with the script titled "xxx".

    and read its contents into a variable.

    The content of the text block is a number.

    Thank you

    Hello Roberto,

    Welcome to the forum,

    This is the textFrame marked on the current page.

    var myLabel = "Foo", // change to label
          myPage = app.properties.activeWindow && app.activeWindow.activePage,
          myTextFrames = myPage.textFrames.everyItem().getElements().slice(0),
          l = myTextFrames.length,
          myVariable
    
    while (l--) {
        if (myTextFrames[l].label != myLabel) continue;
        myVariable = myTextFrames[l].contents;
        break; // presuming there's only one "Foo" labeled frame on the page
        // Otherwise you'll nead an array
        }
    
    alert(myVariable)
    

    Trevor

  • I'm filling out a form that is available on a site. When I click on the option to fill out and submit the form 'online' a pdf document is displayed in chrome with the following text "to display all of the content of this document, you need a later version

    I'm filling out a form that is available on a site. When I click on the option to fill out and submit the form 'online' a pdf document is displayed in chrome with the following text

    «To display all of the content of this document, you need a later version the viewer PDF.» You can upgrade to the latest version of Adobe Reader from www.adobe.com/products/acrobat/readstep2.html for further support, go to www.adobe.com/support/products/acrreader.html"

    Needless to day, I installed the latest version. I even reinstalled using the link in the message, but nothing helped. Whenever I click on the link to go forward, I get the same message. Question: (i) is it my PC/software (Vista), (ii) is the site where I'm trying to submit the form, or (iii) is it the software acrobat reader. Note that I used successfully the last version to fill out and sign forms.

    It is none of them. It's Chrome, which is ignoring Adobe Reader and showing the message.

    Solution: just save the document (with the message) to your desktop. Then open it in Adobe Reader. The 'real' should then display.

  • When I generate the table of contents from a new .book, I get blank pages between each page of the table of contents

    With FrameMaker 2015. When I generate the table of contents from a new .book, I get blank pages between each page of the table of contents, they are totally blank does not even a block of text. I click on Add> autonomous Create TOC. I keep the default settings. And that's what I'm left with.

    TOC Frame 2015 small.png

    I can get rid of them by special> Delete page. But I never had to do before the 2015 version. I tried with older files generated in frame 10. same thing. If someone has encountered this?

    Master Pages are part of each document.

    You can import master pages from another document (i.e. a ' model') in your current document using the file > import > Formats... option and select layout from the list (deselect all others).

    If you have changed the current TOC for the problem of the Page Master on the left, then simply save the file and use the Edit > update book option for that OCD regenerated by using the new page templates.

  • Need help with the "stationary" text box

    Hola

    Why the "stationary" text box do not appear in this page? Welcome to TummyTime, 4 d 3D Ultrasound, Salida, Modesto, Ceres, Turlock area.

    The text of "stationary" should appear as you go over the photos at the bottom of the page in the ANGELS RECENT section.

    As see you in this page (under the heading 'Our projects'):model HOME - Arctic

    the "stationary" text box appear as you go "on" image, but in "my" page is not.

    Now, when I have "preview" in my computer, I can see the "text box" appear but when I download, it just does not work.

    Can you please check it out and help me with this you problem?

    Thank you.

    OK, now is fix.
    The problem is in a js.scripts, was a syntax error, and I stop the script of twitter to watch.
    It is therefore fix :-)

    A big thank you to you all.

    Saludos

  • Problem: The Page with the title bar, Vertical alignment Center does not work BB 10 keyboard (720 x 720)

    Hello

    I want centered vertically align something (for example, a label) on a page with the qml following, but it is not aligned properly on the keyboard BB (720 x 720), it aligns on the contrary always on top. It aligns not centered vertically as expected on BB 10 all touch (1280 x 768).

    import bb.cascades 1.0
    
    Page {
        titleBar: TitleBar {
            title: "Title"
        }
        Container {
            layout: DockLayout {
            }
            background: Color.create("#444444")
            verticalAlignment: VerticalAlignment.Fill
            Label {
                text: "label"
                verticalAlignment: VerticalAlignment.Center
            }
        }
    }
    

    I realize also realize that if I remove the title bar, and then it snaps as I want. Anyone have a solution this? Thank you.

    Try with this:

        titleBar: TitleBar {
            title: "Title"
            scrollBehavior: TitleBarScrollBehavior.Sticky
        }
    
  • Data merge encoding error with the Arabic text.

    Hello, I was wondering if anyone has any advice for the use of data with the Arabic text merge.

    I saved the text to Unicode.  It displays corectly in the TXT file.

    But when trying to use datamerge I get an error that says that some of them could not be encoded.  All my Arabic resembles numbers/letters/puctionation.

    (this is with the world ready paragraph composer on).

    In the comments on this page someone sugested using notepad ++ to convert the internal encoding UTF-8 WITHOUT BOM.

    I have not understant what this is, but I don't have the error message after doing this.

    My text is still incomprehensible, but now its symbols like this: o¨o§u «Ù...» UŠoª f rather than nubers/punctuation.

    Nobody knows what's goining on? or how I can fix this?
    Thank you!

    I appreciate it.

    Just in case: windows 8, adobe cs6, excellent 2010

    It seems that ive got I had to combine this solution

    with what I was doing previously.

    Missed me this little milestone:

    Import Options box when you select the CSV file to tell InDesign what encoding it is saved in.

    EDIT: That's what I'm doing, incase anyone else has this problem:

    Save as unicode txt.  Make sure that under options adtional > web options > encoding is set to utf 8

    then, under import box Options when you select the CSV file to tell InDesign what encoding it saved in.

  • Import multiple Word documents of several pages with the same master page?

    Hi, I should start by saying that I have no experience with script.  However, I wonder if there is a simple script for the following problem:

    I created a master page with three linked text boxes. Right now, I use Cmd + D to select a file in word, and then Shift + click in the first box to place the text on the page. But I have 125 pages that are exactly the same, just different layout Word files to import. I could repeat this process 125 times, but I wonder if there is a way to tell InDesign to create 125 pages using the Master Page X and a for each import file?

    I use InDesign CS5 v 7.0.4 on Mac OS x Snow Leopard 10.6.7 v

    I thank in advance for any help you can offer,

    NW

    I'm sorry. The problem is that InDesign treats the two pages of the spread of master together, I guess you have to make a few hoop jump. Try this, then:

    var
        d=app.activeDocument,
        p=d.pages,
        i, frames, masterPage, page;
    
    for (i=0; i
    

    We have to check the whether the page is a left-hand page, and if it is, use the first page (0) of the master spread, otherwiseuse the right page.


  • Problem with the Oracle text markup

    Hello

    I have a problem with the Oracle text markup.

    I am looking for keywords in a text which is composed by a question and answer.
    Here is the structure of my text:
    & lt; div class = 'question' & gt;
    & lt; a & gt; the title of my question & lt; /a & gt;
    & lt; div class = "reply & gt;
    content of response
    & lt; / div & gt;
    & lt; / div & gt;

    It is possible to search those keywords in the question or answer only. For this, I use the stored procedure:

    {call CTX_DOC. MARKUP)
    index_name = >?
    textkey = >?
    text_Query = >?
    restab = >?
    query_id = >?
    startTag = >?
    (EndTag = >?)}

    _with these parameters: _

    index_name = < my index >
    textkey = < id for the search text >
    text_Query = < a query containing the keywords >
    restab = < a table SQL to store the marked text >
    query_id = < id >
    startTag = ' < span class =-"highlight\" >. "
    EndTag = "</span >.

    The markup should be done only in the place you want (question, answer, or both).
    The markup is good when I search a keyword throughout the text, in the question or answer only.
    * If I search two key words in the question or answer, the markup is bad *.

    _Example: __
    I am looking for the words "* Internet *" in question only.
    Here's the query passed to the stored procedure:
    + * text_query * = 'service & internet' INPATH (//div[@class = 'question'] / has) +.

    In the question, these words are well marked.
    In response, only the first word is marked.

    * Why the first keyword is also marked in the response while the query specifies a search in question only? *

    The same problem appears when I search for the same keywords in the response only.
    In this case, in the answer, these words are marked as well.
    In the issue, only the first word is marked.

    Thanks for your help

    Edited by: user11088931 Apr 21. 2009 06:17

    Try text_query = (service & internet) INPATH (//div/a)

    Single quotes in a query do nothing. I think that your request has been treated as

    Service & (internet INPATH (//div/a))

  • FF won't open links to e-mail, just empty page with the correct address

    FF in the past few days stopped at the opening of the pages when I click on a link in an e-mail. For example:
    https://mail.Google.com/_/SCS/mail-static/_/js/k=gmail.main.en.so9sxCEetKI.O/m=m_i, t/am=PiMewvzf-4NYZ5Bd-kDF_v33u0-KnXke_9-bAJK9Avi_2f8D-D94H30hAQ/rt=h/d=1/t=zcms/rs=AHGWq9D8SCuVUpZg9oFS9tQOL0c2MfFJFQ
    As much as I hate IE, I tried to open the page with the link in IE and it worked fine. All my plug-ins must be up-to-date.
    Please answer in simple terms, I get confused easily.

    Thank you
    Bernadine

    Thanks for the reply. I am connected to several days and it has no importance.

    Helping has get rid of Panda anti virus I had just installed. I'm back with Avast and everything works well again.

  • When the page opens, the scroll bar appears only if I move to bottom of page with the mouse

    It started last week with Firefox 5 and continues with the upgrade to Firefox 6. Each new page that opens in Firefox does not display a scroll bar. By entering the lower right of the page with the mouse and move the mouse to the right, the scroll bar appears and is usable. This "correction" is required on each new page.

    This condition looks similar to the condition met when Firefox 5 was introduced. The fix was to open appearances in tools then choose the default setting. This patch doesn't work anymore.

    Troubleshooting extensions and themes

    Check and tell if its working.

  • HP7520: How to scan 2 pages with the automatic document feeder and save to a file?

    How can I scan 2 pages with the automatic document feeder and save to a file?  (Right now, it happens that 2 separate files)

    I have a HP7520, & again, I wish scan 2 pages into a single jpeg file.

    Thank you

    Well, in general JPEG format does not support several concept as a document page. Thus, each image in the JPEG file is saved in a single file. If you are considering of reduction of 2 images in 1 paper size (example: A4), you may need some image editor to do

    If you are looking for a mulit-page image format, TIFF can be a format suitable to use.

    https://en.Wikipedia.org/wiki/TIFF

Maybe you are looking for

  • 33 FF won't work with TabGroubs 2011.11.28.1 Manager

    I back to FF 33 to 32 FF because TabGroups Manager 2011.11.28.1 failed. I've tried RESETTING FF, new profile, all deleted Add ons, TGM clean install and it still has not. I go back to 32 FF and everything is great. I realize, or so it seems that TGM

  • Why FF is recommended to disable the Hotspot shield?

    Hello... I see the warnings of FF on Hotspot Shield. In the last FF and HSS last, I see no problem of stability (18 months ago I wouldn't have said that). But then, there is still this warning. The page explaining the warnings seem generic and covers

  • Applications using the "MAILTO".

    My application is supposed to generate an e-mail message and put it in the Outbox.Version 12 Firefox stops with a Google search page with the MAILTO info in the search field.FF and TB are default This application has since worked on version 3 ff. No

  • Can I use RAID0 on Satego X 200-21 L?

    Hello everyone I have a question. I can create a RAID0 on my Satego X 200-21 L and if so how? Thank you in advance.

  • El Capitan for Mac Pro 1.1?

    Can I upgrade my 1.1 Pro Mac OS x 10.6.8 El Capitan?