How to insert text from the text file saved using the line number of the indesign document to point specific cursor?

I use indesign for books of the brand. I need always insert quotes from some holy books. so I need to insert text using the verse number

If you are looking for a way to automate where to insert the text? I really don't understand what you're trying to do.

Tags: InDesign

Similar Questions

  • How to insert images from the external file in the block of text using AppleScript

    the value myFile to null

    say application 'Finder '.

    the value ArtFolder to choose a folder with guest "Select the folder of Art: - > >".

    the value Chap1 to (get 1 folder from the folder ArtFolder)

    the value myFile to (Download file 1 to file (chap1 as alias))

    end say

    say application "Adobe InDesign CS5.5.

    set myDoc for the active document

    say myDoc

    set figureNode to XML element 1 of XML element 2 of XML element 1 of myDoc

    the value myFrame to do text block with properties {the geometric limits: {-13, 13, 3, -3}}

    tell text frame myFrame place (file (myFile))

    markup myFrame with figureNode

      end say

    end say


    ==========================================

    Condition: I want to Insert a picture of external & case content currently in the text frame... document node

    I am using above code but belowe the line does not...

    : - tell text frame myFrame place (file (myFile))

    Can someone help me please...

    Thank you

    Problem solved by code below :===>>

    say application "Adobe InDesign CS5.5.

    set myDoc to the active document

    myDoc say

    set figureNode to 1 to 2 to 1 of myDoc XML element XML element XML element

    set ArtFrame on to do text block with properties {geometric limits: {-13, 13, 3, -3}}-{y, w, h, x}

    Select ArtFrame

    Place (myArtFile as alias) on ArtFrame

    say fit myFrame given frame to content

    end say

    end say

  • How to insert rows from an xml file in a table

    IM Using Oracle 11g, is show below error when I run...



    declare
    charString varchar2 (80);
    finalStr varchar2 (400): = null;
    whole rowsp;
    v_FileHandle UTL_FILE. TYPE_DE_FICHIER;
    Start
    -the name of the table specified in our DTD
    xmlgen.setRowsetTag ('Zipcodes');
    -the name of the data set as shown in our DTD
    xmlgen.setRowTag ('mappings');
    -to get the result on the screen
    dbms_output. Enable (100000);
    -Open the XML document in read-only mode
    v_FileHandle: = utl_file.fopen (TMP_DIR1,'XML_NEW_CITIES.) XML', 'r');
    loop
    BEGIN
    UTL_FILE.get_line (v_FileHandle, charString);
    exception
    When no_data_found then
    UTL_FILE.fclose (v_FileHandle);
    "exit";
    END;
    dbms_output.put_line (charstring);
    If finalStr is not null then
    finalStr: = finalStr | charString;
    on the other
    finalStr: = charString.
    end if;
    end loop;
    -for the insertion of XML data in the table
    rowsp: = xmlgen.insertXML('SYS.) Codes POSTAL, finalStr);
    dbms_output.put_line ('INSERT FACT' |) To_char (rowsp));
    xmlgen.resetOptions;
    end;
    /




    XML_NEW_CITIES. XML is

    <? XML version = "1.0"? >
    < zip codes >
    < Record mappings = "4" >
    CA < STATE_ABBREVIATION > < / STATE_ABBREVIATION >
    < ZIPCODE > 94301 < / code >
    < CITY > Palo Alto < / CITY >
    < / maps >
    < Record mappings = "5" >
    < STATE_ABBREVIATION > CO < / STATE_ABBREVIATION >
    < ZIPCODE > 80323 < / code >
    < ZIP_CODE_EXTN > 9277 < / ZIP_CODE_EXTN >
    Boulder < CITY > < / CITY >
    < / maps >
    < / zip codes >




    Error report:
    ORA-06550: line 8, column 3:
    PLS-00201: identifier ' XMLGEN. SETROWSETTAG' must be declared
    ORA-06550: line 8, column 3:
    PL/SQL: Statement ignored
    ORA-06550: line 10, column 3:
    PLS-00201: identifier ' XMLGEN. SETROWTAG' must be declared
    ORA-06550: line 10, column 3:
    PL/SQL: Statement ignored
    ORA-06550: line 14, column 34:
    PLS-00201: identifier 'TMP_DIR1' must be declared.
    ORA-06550: line 14, column 3:
    PL/SQL: Statement ignored
    ORA-06550: line 31, column 12:
    PLS-00201: identifier ' XMLGEN. INSERTXML' must be declared
    ORA-06550: line 31, column 3:
    PL/SQL: Statement ignored
    ORA-06550: line 33, column 3:
    PLS-00201: identifier ' XMLGEN. RESETOPTIONS' must be reported
    ORA-06550: line 33, column 3:
    PL/SQL: Statement ignored
    06550 00000 - "line %s, column % s:\n%s".
    * Cause: Usually a PL/SQL compilation error

    Published by: 898235 on November 20, 2011 23:02

    OK, so you tried the XMLTable example, or wait for someone write at the bottom for you? :)

    You must first create an object of directory Oracle pointing to the physical location of the file (must be somewhere on the db server or at a location that the db server can access on the network).
    Then, create the procedure, in this case a simple INSERT SELECT:

    SQL> create directory tmp_dir as 'c:\temp';
    
    Directory created
    
    SQL> create table zipcodes (
      2   state_abbreviation  varchar2(2),
      3   zipcode             varchar2(5),
      4   zip_code_extn       varchar2(10),
      5   city                varchar2(80)
      6  );
    
    Table created
    
    SQL> CREATE OR REPLACE PROCEDURE insertZipcodes (
      2    p_directory IN VARCHAR2
      3  , p_filename  IN VARCHAR2
      4  )
      5  IS
      6  BEGIN
      7
      8    INSERT INTO zipcodes (state_abbreviation, zipcode, zip_code_extn, city)
      9    SELECT state_abbreviation
     10         , zipcode
     11         , zip_code_extn
     12         , city
     13    FROM XMLTable('/Zipcodes/mappings'
     14           passing xmltype(bfilename(p_directory, p_filename), nls_charset_id('AL32UTF8'))
     15           columns state_abbreviation varchar2(2)  path 'STATE_ABBREVIATION'
     16                 , zipcode            varchar2(5)  path 'ZIPCODE'
     17                 , zip_code_extn      varchar2(10) path 'ZIP_CODE_EXTN'
     18                 , city               varchar2(80) path 'CITY'
     19         )
     20    ;
     21
     22  END;
     23  /
    
    Procedure created
    
    SQL> exec insertZipcodes('TMP_DIR', 'xml_new_cities.xml');
    
    PL/SQL procedure successfully completed
    
    SQL> commit;
    
    Commit complete
    
    SQL> select * from zipcodes;
    
    STATE_ABBREVIATION ZIPCODE ZIP_CODE_EXTN CITY
    ------------------ ------- ------------- ---------------
    CA                 94301                 Palo Alto
    CO                 80323   9277          Boulder
     
    
  • OFA: how to insert values from the front end of the OPS to the database page

    Hi friends, I am new OAF, iam using jdeveloper version 9.0.3.5

    I created a QueryPG .in this page I HAV set a "create" button on this page when I click that "create" button must navigate to another page (ie) createPersonPG, I have hepatitis has created this createPersonPG in a RegionStyle of = > defaultsinglecolumn, with some of my attribute as "personId, phoneno, e-mail, address" in my createPersonPG I hav also set a button titled "save"...»»» " After you enter the data when I click on save button means a new line should be added to my database table that was my task... for which I wrote the code in my MainCO

    Successful work means:
    --------------------------------------
    I can able to query the data from the database
    From my QyeryPG, I can access createPersonPG

    MY PROBLEM
    -------------------
    When I enter values in the createPersonPG wen I click on "Save" button means that the data that I enter are not save to database, but in my QueryPG I get confirmation that saved successfully in my QueryPG. " I want data to be saved in the database... when I get select * from table_name average, should be a rank more

    can anyone help me with this task please I'll be greateful to you.. _ I was doing this job for more than 20 days Please helpme I complete this task

    Thank you
    Thilib

    my code for in MainCO

    in LICS I HAV written query command and navigate to the code "createPersonPG" like this:

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processFormRequest (pageContext, webBean);
    String actionInMainProgramScreen = pageContext.getParameter (EVENT_PARAM);
    String personId = pageContext.getParameter ("PersonId");
    If (pageContext.getParameter ("GO")! = null)
    {
    System.out.println ("Submit button");
    OAQueryUtils.checkSelectiveSearchCriteria (pageContext, webBean);
    String firstName = pageContext.getParameter ("FirstName");
    String phoneNO = pageContext.getParameter ("PhoneNO");
    [Serializable] parameters = {personId, firstName, phoneNO};
    System.out.println ("AM method is called");
    OAApplicationModule am = pageContext.getApplicationModule (webBean);
    am.invokeMethod ("initQuery", parameters);
    }


    If (actionInMainProgramScreen.equals ("Create"))
    {
    System.out.println ("create key");
    () pageContext.setForwardURL
    'OA.jsp?page=/gwp/oracle/apps/xxi/aaaPersonDetails/webui/createPersonPG '.
    null
    OAWebBeanConstants.KEEP_MENU_CONTEXT
    null
    null
    true
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES
    OAWebBeanConstants.IGNORE_MESSAGES);
    }
    }------------------------------------------------------------------------------
    IN MY createPersonCO I HAV wrote this code

    ' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processRequest (pageContext, webBean);
    String paramPersonAction = pageContext.getParameter ("xxParamActionOnPerson");
    OAApplicationModule am = pageContext.getApplicationModule (webBean);
    PersonParamList serializable [] = {paramPersonAction};

    If (paramPersonAction! = null & & paramPersonAction.equals ("Create"))
    {
    am.invokeMethod ("createPerson");
    }
    }

    /**
    * How to manage remittances form for form elements in
    * a region.
    @param pageContext OA page context
    @param webBean the grain of web for the region
    */

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processFormRequest (pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule (webBean);

    If (pageContext.getParameter ('Save')! = null)
    {
    System.out.println ("first line button Save");
    am.invokeMethod ("saveProgramToDatabase");
    System.out.println ("navigate to home page');
    String message = "saved successfully ';
    OAException exp = new OAException (message, OAException.CONFIRMATION);
    pageContext.putDialogMessage (exp);
    () pageContext.forwardImmediately
    'OA.jsp?page=/gwp/oracle/apps/xxi/aaaPersonDetails/webui/aaaPersonDetailsMainPG '.
    null
    OAWebBeanConstants.KEEP_MENU_CONTEXT
    null
    null
    true
    ADD_BREAD_CRUMB_YES);
    }
    }-------------------------------------------------------
    IN my AM I wrote this code

    ' public void initQuery (String personId, String firstName, String phoneNo)
    {
    System.out.println ("Am initQuery");
    aaaPersonDetailsVOImpl vo = (aaaPersonDetailsVOImpl) getaaaPersonDetailsVO1 ();
    System.out.println ("aaaPersonDetailsVO initQuery method called");
    vo.initQuery (personId, firstName, phoneNo);
    }

    Public Sub createPerson()
    {
    System.out.println ("first createPersonMethod line");
    aaaPersonDetailsVOImpl vo = (aaaPersonDetailsVOImpl) getaaaPersonDetailsVO1 ();
    System.out.println ("Line before if condition createPersonMethod");
    If (!) VO.isPreparedForExecution ())
    {
    System.out.println ("first line If condition createPersonMethod");
    vo.setMaxFetchSize (0);
    }
    System.out.println ("creating New Row");
    Line r = vo.createRow ();
    System.out.println ("new insertion line");
    vo.insertRow (r);
    System.out.println ("inserted row");
    r.setNewRowState (r.STATUS_INITIALIZED);
    System.out.println ("before"sequence initialized");
    Number personId = this.getOADBTransaction () .getSequenceValue "(XXI. PER_DETAIL");
    System.out.println ("after"sequence initialized");
    vo.getCurrentRow () .setAttribute ("Person_Id", personId);
    System.out.println ("sequence number =" + personId);
    System.out.println ("last line of the Create method");
    }

    Public Sub saveProgramToDatabase()
    {

    System.out.println ("before validation.");
    getOADBTransaction () .commit ();
    System.out.println ("new program created.");
    }

    Published by: user13307444 on July 26, 2010 10:20

    Hello

    This could be the problem if there is that data validation is there that does not back up the data on the page. Because for example I had this problem when my database column has been primary key while on the EO page it wasn't. & When I tried to record data EO was allowing me to record, but the database did not allow. Please check your OA

    AJ

  • How to get data from an Excel file exist using report generation tools

    I try to use the Excel vi get the data of the report generation tool, but I can't understand how to activate a path can be explored in the right type for the VI.  I tried to use the new Report.vi, but this does not work unless you use a template.  It will not open an existing excel file and make an open report to extract data from.

    Essentially, I have a bunch of excel files that have data in them, and I want a VI allows to analyze the data.  I'm going to pull in all the data directly from the excel file so I don't have to reproscess them all in text so I can use the more standard datasheet live but to convert even the excel file programtically in labview I still need to be able to open the excel file and get the data?

    I found my problem.  It turns out that only not to have had a problem with the tool box new report vi.  I had accidentally wired an input control of path of folder instead of an input control of path of file to it.  Changing the file type took care of her and I was able to access excel files, I tried using the new report VI to extract the file, and Excel Get Data to extract the data.

  • Insert text in a jpg file space? How to insert text into a picture file?

    How to insert text in a space from a jpg file?

    If you are wanting to use the text of the flattened jpg file, you will need to make a selection of the text. Without seeing it, I guess that using the wand would work to select. Then you can press cmd/ctrl-J to put it on its own layer, and either move it or move it to a new file. Your best option would be to find the font and use the editable text. Save as a jpg destroyed the ability to edit the text, then save it as a PSD and then save for web to your jpg.

  • Computer crashed recently, used the version 3.6.15, now with 4.0, how do I bookmarks from the previous version that was on the old computer. All files of this computer on the new computer under HD1?

    Computer crashed recently, used the version 3.6.15, now with 4.0, how do I bookmarks from the previous version that was on the old computer. All files of this computer on the new computer under HD1?

    bookmarks.html contains no bookmarks, this file is no longer used to store.

    Are you sure you're looking in the right folder, you are possible to search in the installation of Firefox rather than the profile folder folder. The following link provides details on the location of the profile folder - http://kb.mozillazine.org/Profile_folder_-_Firefox

    If you do not find places.sqlite you may not have access to your old profile folder.

  • How to save data from the COM port to file?

    Hi all

    can someone tell me please how to save data from the COM port on file? I transfer 1 byte of serial port... attached is the image of the vi... very basic.

    I would like to save the data in a table... I mean, 1 data--> data--> data tab 2 tab 3rd--> tab

    and so on... can anyone help?


  • How to extract information from the ovf file from a file of eggs by programming?

    How to extract information from the ovf file from a file of eggs by programming?

    Hello

    Please provide details:

    -On what OS you are programming (Linux, Windows,...)?

    -What programming or scripting language do you use?

    An EGG file is just a tarball of hard, .ovf and .mf files. The .ovf file is always the first. For example, on a Unix like operating system, this should be easy.

    For Windows, there are several options available to manage programmatically the tarballs. See for example http://www.codeproject.com/Articles/470999/tarlib-Windows-TAR-Library.

    And the ovf itself file is in XML format. For handling XML files are libraries available for literally every OS and programming language.

    Google is your friend.

    Andreas

  • How to insert data in the XML file?

    Hi guys,.

    How to insert information into an XML file. I tell you, I have a CFM file with some questions to the user

    When users submit this form within the form information is send in an XML file.

    How can insert this information in the XML file?

    When I don't have a DB?

    Thank you

    Kind regards

    Fabiano Magno Pechibella

    You must

    1. Read in the XML file
    2. Analyze the document in an XML (just one big struct) object
    3. Insert your XML code of the object where you need
    4. rewrite the XML file with your data now included

    You can Google 'ColdFusion working with XML' and find hundreds of items to help you. Here's a beginning tutorial to help you get started:

    Intermediate ColdFusion Tutorials - working with XML

  • After downloading my file from the word document is mostly gibberish.  Why? the service used exportPDF

    After downloading my file from the word document is mostly gibberish.  Why? The service used "exportPDF.

    Hi shelbyrn,

    The quality of conversion is really depends on the quality of the original PDF file. Please see Will Adobe ExportPDF convert text and shape... | Adobe Community.  Do you know what who or how the PDF was created?

    You can have better luck by disabling OCR as described in this paper: How to disable the optical character recognition (O... |) Adobe Community. (Note, however, this is option is is not optimal if the PDF file is created from a scanned document, you wish to OCR enabled to convert the text from the image in the PDF file to editable text).

    Best,

    Sara

  • How to insert images in the content pane HTMLEditor?

    How to insert images in the content pane HTMLEditor? or a hyperlink?

    > know the position of the caret

    Well, there is no public API on the HtmlEditor to know that.

    You could create an tweak asks to add such an api.

    In the meantime, I believe that the HtmlEditor is implemented as a contentEditable has WebView below, so I think it's possible to hack together a solution if you want to.

    To do this:

    1. create a program that uses the HtmlEditor.

    2. run the program and use ScenicView to work on the css to display embedded Web search path.

    3. Once your HtmlEditor appears on a scene, use a node search to dig up a reference to the Web view.

    4. Once you have a reference to the Web mode, use executeScript to get the position of the caret by using JavaScript.

    5. Once you know where the caret, use a mechanism similar to my example program above to allow you to insert an image to the location of the caret (get the html text, put the position appropriate, up-to-date then set it again).

    Of course, you don't need to use a HtmlEditor control to do this, you can also just use a plain WebView with contentEditable flag put on it or any number of 3rd party JavaScript html editors have image insert functions.

  • How to transfer data from the 7 Millennium

    How to transfer data from the 7 Millennium

    You will need to manually back up your files by copying and pasting on a device from external storage such as a USB key or external hard drive.

    Then copy them on Windows 7:

  • How to extract pages from a large file?

    How to extract pages from a large file?

    Free Adobe Acrobat Reader cannot extract pages. This would require the purchase of the full version of Adobe Acrobat.

  • How to insert multiple images into a file

    How to insert multiple images into a file

    Hi Mary,

    See this tutorial on adding images in Photoshop Mix and the grantor together: http://tv.adobe.com/watch/learn-photoshop-cc/combine-two-photos/

    Hope that helps,

    Concerning

Maybe you are looking for

  • Satellite L50 - B - 1 K 4 - series 8 Intel xHCI HC - 9 31 - lack of device

    Hello I have install all drivers for Toshiba Satellite L50 - B - 1 K 4/windows 7.butIntel (r) 8 series xHCI HC - 9 31This one is missing... Any help please?

  • Factory.wim file in the recovery disc

    There is a 4 GB file on my recovery disk named factory.wim, which I cannot open.  I also get error messages stating that my recovery disk is almost full.  What is this file, it belongs there, and if not, where should I put it?  In addition, a nearly

  • Insert text in the message

    I'm writing an application you can add text to a message that you are editing, but I can't seem to understand. I can add a MenuItem to all the message editing screen, but how I have the user select a message, and someone who pass back, and then what

  • Using "Alias" vs "Outside NAT"?

    Greetings, Recently, I started with a company that has a PIX 515. I upgraded the IOS from 1.0000 to 6.3 (5) and installed the PDM 3.04. When I try to run the PIX via PDM, it prompts with 'the PDM does not support the 'Alias' command in your configura

  • Thumbnails of video in the timeline is not displayed.

    My thumbnails of video for the clip in the timeline panel have inexplicably disappeared. I try to choose the head, head and tail or continuous video thumbnails but my clip is left blank in the timeline panel.Of course I tried to expand the clip verti