Extract the contents of the text box

Hello

I am trying to automate a process PDFing complex. A single indesign document should appear as several PDFs named, which fall into a number of folders that also have specific names. If I place the PDF names and folders in text boxes on the pasteboard of indesign pages they can be recovered by a script. Do I need to mark the text box, so the script knows where to look, and how this is done?

Thanks much for any help.

Hello

Create a new layer and name it as "printpdf", create a block of text with this layer on each page and fill in the content, as shown in the picture, the first line for the name of the folder and the second row for filaname. The text block should be placed within the page, not the editing table.

var doc = app.activeDocument;
var pages = doc.pages;
var _layer = doc.layers.item("printpdf");
_layer.printable = false;
for(var i =0;i

Kind regards

Cognet

Tags: InDesign

Similar Questions

  • Table of contents - power of the text box

    Hello

    I recently started using Adobe InDesign and love it! I have a question around the table of contents. At the beginning of each chapter, we have a simple page with a box in it. (each chapter has about 10 pages). The intention is to have the content of the text become the title of the chapter box and have it displayed in the Table of content. The text box itself has several characters of new line in. When I generate the table of contents, InDesign creates several entries in the Table of contents (one per each new line in the text box). So my question is... Is there a way to specify that the content of the entire text box appears as an entry in the Table of contents. (I'd like to update the table of contents by hand to avoid any errors).

    I appreciate any help in this matter.

    Thank you!!

    So, you say that, break forced line and you want that all the rows in the table of contents? I think that I misunderstood.

    If this is the case you're going to the trouble of formatting of the table of contents, as the forced line break will carry you through to the table of contents (you can change the colours using styles or nested GREP and those will not set if you use a different style in the table of contents list itself).

  • CS2 erase content and the text box

    I use CS2 on Windows. I have a file of 30 pages with the linked text boxes on each page with anchored objects. I would remove the first 10 pages, but NOT the text of these areas of 10 text wrap on the remaining pages. Is there a way to delete the text boxes AND their content before deleting these pages, that I don't have to highlight all of the text on them, remove it, then delete the text boxes themselves?

    Thank you

    Lloyd

    Ah ha! You need a script! I use CS2 and I only found on the scripts - you can find them on the CD-ROM or get you it from here (scroll to CS2.) Put them in the folder scripts in your presets folder, open the palette scripts (on Windows) and here they are. There are two useful in your goal - we split the history in separate text boxes, one pops up a text box in the story. Just select your text box and double-click the script.

    (Of course, once you cut your text out of the herd area you can remove it).

  • Using paint and how to change the text box.

    How can I select a text box that you want to modify in the paint - Windows 7 Home Premium?  Once I leave the text box I can't select again a second time to change the text or grab it to move... I must be missing something very simple?  Is there a manual program somewhere?  Yes, the zoom is 100% and I am the administrator.  Thanks for any help!

    The painting is a very simple program and does not support the re - select a text box to change the content.

    "mikecvista" wrote in the new message: * e-mail address is removed from the privacy... *

    How can I select a text box that you want to modify in the paint - Windows 7 Home Premium? Once I leave the text box I can't select again a second time to change the text or grab it to move... I must be missing something very simple?  Is there a manual program somewhere?  Yes, the zoom is 100% and I am the administrator.  Thanks for any help!

  • How to make a 'active' phone number in the text box?

    I'm testing in 10.1 and 10.2, using the following QML simulators.  What I'm trying to understand is that 'rules' the text box used to set the active text, including phone numbers.  All I'm trying to do is to put a phone number in the text box that my users the opportunity to click on it to the phone.  But I can't make it work, or more exactly, may not get the phone number to become active.  .

    As you can see that I tried a variety of number formats, some specific UK because I was afraid that he may use country specific recognition, but nothing I try works.

    On the other hand the address which I also put in the TextArea is 'hot' and started the map.

    FYI, the client is running in Canada on Q10s using 10.1.  The numbers are also completely fictitious, if they work, then that is a stroke of luck.

                    TextArea {
                        inputMode: TextAreaInputMode.Text
                        editable: false
                        content.flags: TextContentFlag.ActiveText
                        text: "#123 1234, #123-1234  ph: 780-784-1231. ph: (403)218-1248. ph: 403-242-1231. ph: (01637)123456. 81 Street NE, # 101 ,, Calgary. "
                    }
    

    I saw this:

    http://supportforums.BlackBerry.com/T5/native-development/textarea-showing-quot-phone-numbers-quot/m...

    I was expecting that I didn't set the attributes for the text using C box.

    And I don't have permissions phone - eslewhere in the application that I detect when the user is on the phone.

    Any ideas on how I could get a phone number in a TextArea to be active, would be appreciated.

    Well, for what it's worth here's what I get with your data :

  • How can I make the text in all the boxes down following objects when the text box is changed from 1 to 2 lines?

    Hi people Muse.

    I'm faced with a problem of text box:

    At the bottom of my page, I have the title "ACTING ERMUTIGEN ZUM". Without any manual adjustment, I was happy to see that the text box pushes down the following objects as soon as the title Exchange of 1 to 2 lines. Point out clearly: I didn t add any point to stop or change any additional settings to achieve this, it just happened automatically and that's exactly what I want to happen.

    To my confusion, I can´t find a way to apply this behavior for the second title 'COURAGE OBSERVES UND LOSEN. It s on the same page. When I drag the breakpoint controller in the design-time view from the left to the breakpoint 900 pxor do it in the browser after export of the site, the title changes from 1 to 2 lines, as assumed, , but then the next Don t objects react and stay in the same place they stay when the title takes only 1 line.

    You will find the site on businesscatalyst:

    WILLKOMMEN

    I´d appreciates your support very well. I m sure it s not a big problem, but after an hour of re - try and control and do not receive a millimeter in advance, I thought, he could be one of these 'Don t worry - here comes the solution'- Muse hero there, read this. What you...? ;-)

    Thank you in advance.

    Moritz

    –––

    1st Title: everything works fine...

    Bildschirmfoto 2016-03-15 um 17.24.43.png

    Bildschirmfoto 2016-03-15 um 17.25.25.png

    –––

    2nd title: the 1200 px BP do everything ready...

    Bildschirmfoto 2016-03-15 um 17.26.13.png

    .. .but as I drag the marker of BP to the left just as I did with the title 1, the 2nd title doesn´t lower content:

    Bildschirmfoto 2016-03-15 um 17.26.30.png

    If you set the text block "ZUM ACTING... "sensitive width via the resizing control, rather than"Stretch to the width of the browser", which will provide the behavior you're looking for.

    We will study the design compared to the difference of the browser view. It seems that how items are grouped in resizing behavior is different in the case of elements with parameters width Resize mixed, in the mode of creation of the Muse and the browser.

  • Cannot mount the frame to the text box

    Hello!

    I'm in InDesign CS6, on a 2011 iMac, and I often see this problem when I try to make a block of text to its content.

    Initially, it looks like this:

    by default 2015-08-20 at 22.14.53 PM.png

    Then I click on "mount the frame to the content" in the menu object, or by double-clicking on the handle at the bottom right of the text box.

    And then I get this thing:

    by default 2015-08-20 at 22.15.01 PM.png

    The police is Montserrat (free fonts, you can install it and see how it feels on your side).

    Editing is perfect on the left and right and on the bottom, but there's a margin of 10 pixels between the top of the text and the text box.

    It's really annoying when I try to align the text boxes with objects horizontally, because I then create outlines for text boxes.

    Given that this does not happen always, only with certain fonts, I am led to think that the height of the letters is not correctly calculated within the font file? I'll ask the proponent to the police for help as well, unless there is something like a value of high indentation of the hidden default page that I'm not aware of, or a solution of workaround that someone will report.

    Thank you

    In ID, select the block of text, right-click, and choose Options of text block, then the Baseline Options tab. You can set the first base line on the menu drop-down.

  • I can expand the text boxes CBC and link in the properties box floating?

    Just moved to CS5 to CC and to see that the text boxes are always short fixed width despite URLs always larger than the size of the content.

    At hope that they corrected it because it is really difficult to type manually or correct a URL in these boxes of short.

    Is there is way to be extended to a larger width of character?

    TIA

    NO.

  • How can I set the first row is 0, depending on the text box

    How can I set the first row is 0, according to the text box selected_text_to_inlineobj.jsx


    https://gist.github.com/milligramme/9368861@

    Try this,

    function boooxed (object_style_name) {
      if (app.selection.length !== 1) return
      var doc = app.documents[0];
      var sel = doc.selection[0];
      if ('baseline' in sel) {
        var bx = sel.insertionPoints[0].textFrames.add();
        bx.appliedObjectStyle = doc.objectStyles.item(object_style_name);
        bx.geometricBounds = [0,0,5,30];
        sel.duplicate(LocationOptions.AT_END, bx.parentStory);
        bx.insertionPoints[0].firstLineIndent=0;
        bx.fit(FitOptions.FRAME_TO_CONTENT);
        if (sel.contents.length) sel.remove();
      }
    };
    
    var object_style_name = "AAA"; //set anchored object settings, textframe preferences, and more
    boooxed(object_style_name);
    

    Vandy

  • Understand the text box

    I'm trying to understand and master the elements of text boxes in Muse.

    Why some text boxes seem to have a minimum size (sometimes) and cannot be resized to fit the text content?

    What does the line in dotted lines in the text box?  It seems to be linked to the entire text box, but I don't see how or why.

    It does not appear in certain text boxes?

    Why some text boxes have no effect on the BG Image.  for example when... Add text in an INFOCYCLER widget, text size box Exchange (even if there seems to be plenty of room for more text) and the bg image is contained in the size of the changes.

    There are many things that will come into force when we add the blocks of text that contains text, such as font, size, spacing between the characters, space after/before, space of text frame, text etc. frame border.

    The dotted line indicates a height for the text frame, if you drag the shorter than the text frame, the dotted line will appear. Muse inserts a style property called min-height in the code that tells the browser which frame should be less high and can develop in height, if the content he dictates.

    Text pixellisent if we use system so fonts on the browser, the text will be rendered as an image.

    Please go through details here:

    http://helpx.Adobe.com/Muse/using/typography.html

    Thank you

    Sanjit

  • Mobile side.  Using the drop down of your video.  I once put some text on the Mobile page the Menu drops down, but behind the image.  When I remove the text box the menu works correctly.  This also happens with a HTML code placed to Paypal.

    Mobile side.  Using the drop down of your video.  I once put some text on the Mobile page the Menu drops down, but behind the image.  When I remove the text box the menu works correctly.  This also happens with a HTML code placed to Paypal.

    Please check layers panel and put in place the menu item in the list, you can use the layers panel and move up or attempt to move the content.

    If there is still the same, then download a few screenshots of the design view.

    Thank you

    Sanjit

  • Add text without the text box in a form

    How can I add permanent text to a form without using the "Text Box" function?

    In Acrobat XI: Tools - content editing - add text

  • White type in the text box with fill with transparency

    This page of color in my INDD document a lot of transparency on this - in the following stacking order:

    1. downstairs are two boxes gradients covering the entire page.

    2. next is a background photo that's an advantage to feathers.

    3. then comes my text box that floats over a part of the photo in the background. The text box is filled with a gradient purple feather. The text box contains 8.5 PT. White type (Helvetica Neue Medium).

    4. a transparent dingbat straddles a corner of the text box.

    Where the white guy is pictured in the background, a color is reflected type. I have not noted on the PDF, but of course, the work of back of the printer, you can see.

    I thought all type except automatically eliminated black?

    I pulled out the file using PDFX-3 (1.3) because my printing does service provider ' t supports the 1.4. I underdstand this version flattens transparency. I scanned "Print Production Guide for transparency" Adobe and learned that the areas of complex transparency can cause unexpected results. Is what happened here?

    When I opened the flattening of transparencies and he asked to highlight objects with 'Text of Raster-Fill and Stroke' or 'Text described', this type area is highlighted. No other boxes on this page type were noted, even where it overlaps the background photo (which has applied feather).

    Several other transparent dingbats (such as duplication of the text box) are also highlighted as 'Raster - Fill and Stroke text'. They are all on the highest layer (type).

    This isn't a disaster - it's still readable - but the details of the publication who are affected, which is important. Maybe next time I won't be as lucky. What would I do different?

    It is possible in the more recent versions of ID to the value of transparency to the object, STROKE, fill and levels of content, and I suspect that you have applied your effects to the object level. I was able to recreate what you see as well by using the gradient feather tool and in the effect controls panel and using the pen it y to the entire object. Oddly enough, once the gradient feather tool has been used I couln can't access options in the effect controls panel or in the menu object.

    In all cases, if you can, select the block of text, open the effect controls panel or object > Effects > menu feather degraded, remove the gradient feather and reapply just the filling.

    If you are not able to do so, copy the text, delete the block of text and create a new and paste back the text, and then select the image and apply the gradient feather to complete using the effect controls panel or the menu object.

  • Table goes out of alignment in the text box

    I created a very simple table in InDesign CS5 on Windows 7, like this:

    1.png

    However, when you start typing in a cell, it goes like this:

    2.png

    To fix, you make the text bigger or smaller box and then resize it to what it is supposed to be. Also when I do a first page datamerge moves like that too, even if the rest is correct. When you export to PDF it comes out wrong as well. If anyone wants an example file that I can post it here.

    Anyone have any ideas what's causing the alignment change when text is entered into the table?

    Well, I think I see here the rub - if you left me speechless for a while there!

    So, I see that you have the text box that contains your table to help you align your table in the center of your page. (i.e. the box containing the text is organized around the outside of the page and the table is centered lef/right using point centering and up/down by using the command "Center" in the control bar. There is nothing particularly wrong with this method, I think it may be the source of your problems with alignment change unexpectedly.

    Looking at your file, I found that the removal of "Center" and change to the opposite to "align top" took the nervous behavior of the text box. It is more shifted when I tried to type. He however move the entire table to the top of the screen. For now we'll leave it there. Align the Page: Centre from left to right, Center t to b.

    Your final result should be an element that is always perfectly centered on the page, but which can be of type in without any unpredictable jump around!

    Now, we will select the entire area that contains the table. In the paragraph Panel, click "Left aligned". This will move the table to the top left of your document. Now, frame content. Go in the Align Panel.

  • How to have larger text that the text box so that it looks to break

    Hi all

    First of all, thank you for being so helpful last time!

    So here's my question, first of all, an illustration:

    Click and look at where he says "hector."

    http://www.Lulu.com/content/paperback-book/Hector/7496651

    I want to be higher than the black bar that sits on the white text, but I want the text to not be visible above the bar, so the final appearance will be that the top and the bottom of the text is limited. If I do the text to the size I want and then try to reduce the text box so that it is smaller, the text disappears and I get this little red box with the sign + in it (which indicates that there is in the invisible text box). I tried to make the text in Photoshop, and then import it, but unfortunately this particular text is kearning to make it look like how to do and this feature is not available in PS.

    Any suggestions? Thank you very much!!!

    Put the text in an image and do as you wish. Now select the text block and cut it to the Clipboard.

    Create a new image and choose paste into. Resize the new framework to crop the text as you wish.

    Bob

Maybe you are looking for

  • Dictation of texts long is possible with an iMac?

    I have to dictate texts long very often. Is this possible with an iMac? What do need me for this? The quality-related experiences?

  • iPad is trying to connect to the old e-mail address for the App Store

    Some time ago, I changed my email address (for example of A to B) and this reflects on my iPad - and I use it, B, under my Apple ID. Each setting that I can find on my iPad (iCloud Inc.) has my new address, B. However, when I try to download a new ap

  • Unable to choose more than 1 photo

    Hello! New to this forum but I'm really not a happy camper right now.I have had my t xperia for almost 2 years and love it, but lately, there is a problem that I can't fix...When, in the Album option is not where I choose a bunch a photos to send in

  • Cannot send faxes with activated delivery receipts

    I use Windows Fax Scan & on W7 Pro v6.1.  When I try to send a fax with the non-permit, I receive an error message that the fax will not go because my fax server doesn't support non-delivery.  I do not use a fax server.  I have a fax modem external a

  • Windows 7 installation on the new hard drive failure

    Install Windows 7 on a new hard drive. The new HDD is 750 GB Sata 3 GB 7 200 RPM. Windows 7 will not finish installing. Commissioning of repair using windows in the drive disk cannot complete until the end of Windows 7 install. I had installed Advanc