[Win CS5] Import text from *.txt, analyse and place

Hello everybody!
I hope this hasn't been posted before, I've used the search function, but haven't found anything...
This is my problem:
I have a *.txt file with vocabulary, organised like this:
vocable<tab>1. translation
<tab>2. translation
vocable<tab>translation
(vocables and traductions are separated by tabs)
Example:
suscipio, is, ere, suscepi, susceptum<tab>(ici) prendre sur soi, entreprendre
deposco, is, ere, depoposci, /<tab>demander avec instance, exiger, réclamer
injungo, is, ere, injured, injunctum<tab>1. appliquer dans
<tab>2. joindre à, relier (tecta injuncta muro)
<tab>3. infliger (injuriam alicui)
<tab>4. imposer (servitutem alicui)
I want to place the vocable on a page in a textframe (4x5 textframes on a page), and the translation on the next page in a textframe, at the position where the vocable is located on the back, if you print the two pages duplex on a sheet (so that if you cut the textframes out, the vocable is on one side, the translation on the back). The problem is that I have no idea how to write a script in JavaScript which analyses the text from the *.txt file, and pastes the vocable and its translation in the rigth textframes. Another problem is, if it's easier to generate the textframes first, and paste the text, or to search the vocable and the translation and then generate the textframe and its content :-S
It'd be kind if anybody could help me with this or give me a hint!
Thx a lot!
Jean-Pierre

But all white color are not the same…
If your background is the size of the entire book page that's not a problem. Your picture will simply sit on top of your all white background with the letters at the bottom - no chance of seeing an outlined box around it. If there ever was a discernible difference you certainly wouldn't notice it from one page to another. And anyway, won't full white (100%) register as no ink when the book is printed?
Again, if you're unsure why not just go for the simplest solution? Do your page design in Photoshop (you're already creating your background) and use the book tool to do the final layout and send it out. Sometimes simple is the best answer!

Similar Messages

  • Importing Text From A .txt File

    Hey guys,
    I'm looking for a way to import text from a .txt file but I'm totally lost. If someone could point me in the right direction that would be awesome

    Hi Prails
    This script is basically what you asked:
    #target illustrator
    #targetengine main
    function copyText(){
        var textFile = File.openDialog ("Select the file");
        if (! textFile.exists || app.documents.length==0){
            return;
        textFile.open("r");
        var txtContent = textFile.read();
        textFile.close();
        var doc = app.activeDocument;
        var textItem = doc.textFrames.add();
        textItem.contents = txtContent   
    copyText ();
    Basically what you need to do is declare the text file, open it, read the content and close it. Then, you create a new text item in the Illustrator document and write the content once catched into the text item.
    You could continue to work with the variable "textItem" in my example script if you want to set properties like the size, color of the text, position and so on. Also, if you want, replace the first line of the function var textFile = new File ("~/Desktop/Test.txt"); by var textFile = File.openDialog ("Select the file"); so the scripts opens a dialog to ask you the file you want the copy the content.
    Hope to be helped
    Best Regards
    Gustavo
    Message was edited by: Gustavo Del Vechio

  • Selecting and importing text from Word

    Hi..
    I am interested in importing text from Microsoft Word into labview.
    The text will be identified by a particular 'style'. I have seen examples of reading text marked by 'bookmarks' however this doesn't appear to be sufficient or flexible enough for this application.
    I have tried adapting the 'bookmark' code (using different property/invoke nodes) but can't seem to find something that works in a similar way.
    Just wondering if anyone has already tried something similar.
    Any help is much appreciated.
    Regards,
    Mike
    (Labview 8.2.1 + Report Generation Toolkits)

    Hi Mark,
    The plan was to be able to sift through text in a Word document for blocks of text that match a particular 'style' (determined by us) and import the text into Labview to populate VI descriptions/free labels etc.
    I have adapted some code I have found to be able to cycle through table rows/columns and be able to match text/string patterns, however matching the 'style' property should make this operation a little cleaner or perhaps give us more control over what strings are matched.
    Mike

  • How can I import text from Word including paragraph indents?

    I'm using Captivate 7.
    I need to import text from a series of documents written in Microsoft Word.
    When I copy and paste most of the formatting is retained. Bold, italics and underline import perfectly but I lose the indented paragraphs. They all become left aligned.
    Is there a way to import the indented first lines in the paragraphs?
    Thanks in advance.

    Lilybiri, sorry it took me so long to get back to you. Life sometimes interferes with living.
    Thanks for sharing your opinions. Your deep and penetrating insights have changed my life forever. As in: "...that people expect ..." Gee; I've pondered that for years. Now that you've opened my eyes to "what people expect" I can let that go and concentrate on something else. Like, is cheese REALLY binding?
    With your helpful and concerned attitude I'm sure you'll be glad to know that my problem has been solved. Not by anything from Adobe; the company or the forum, but by simply finding another program that works as it should.
    By the way, I marked my own answer correct as it was clear that there is no answer and I just wanted to close the thread. Actually, after I reread what I said,  I realized my answer IS correct. So, I'll stand by it.
    Thanks again, it's been interesting.
    So long Lilybiri, and good-bye Adobe Captivate.

  • Import Text From Form Field into Subject Line of Email

    Hello,
    Is there a way to import text from a form field into the subject line of the email when sending back (attaching) the PDF form?  In other words, there is an "applicant name" and I would like that name to be the subject line of the email.
    I am using Adobe Acrobat X (10.1.7)
    If any one has aby guidance or resources online where I can locate this information I would greatly appreciate it!  I have been searching all day but have not found a solution yet. 
    Thanks!

    Thank you so much for the help.  For some reason I cannot get it to work though.   Now, when I hit the submit button it does not do anything.
    Previously, I had the following code under
    ACTIONS>Mouse Up>Submit a Form
    mailto:[email protected]?subject=Employee Application
    I removed the above mailto URL and put in your code as a Javascript function. I made sure that my field name matched the name in quotes within the code.
    I used the following:
    var subject = getField("lastname").value 
    this.mailDoc({
    bUI: false,
    cTo: "[email protected]",
    cSubject: subject,
    cMsg: "Type message here"
    Do you see anything obvious that I am doing wrong?
    Many thanks!

  • Importing text from word into indesign3

    I am importing text from a word document that has lots of footnotes in it into an indesign3 file  - I need to keep some of the formatting from the word document i.e italics and tabs however I need to be able to edit and reposition the 'word' footnotes within indesign - I don't seem to be able to do this without turning off the footnotes editing completely before importing? Is there a way around this?

    Word is wordprocessor. iWeb is an application to create webpages with.
    Copy/pasting formatted text always has unexpected results.
    To overcome that, save your Word document as a html file.
    Open it in a browser and then copy/paste the text.
    iWeb will retain the formatting.
    And Lion is an operating system. Just like a Mercedes is a car. Neither has anything to do with your problem.

  • HOW CAN I IMPORT TEXT FROM MICROSOFT WORD TO THE WEB PAGE?

    HOW CAN I IMPORT TEXT FROM MICROSOFT WORD TO THE WEB PAGE?

    Another method is tosave your Word document as an a web page.  Then open the htm file, copy the text and paste into an HTML snippet on your web page.  Resize to show all the document and publish. It will retain the style, font and alignment of the original Word document.
    OT

  • How to get Text from (.txt) file to display in the JTextArea ?

    How to get Text from (.txt) file to display in the JTextArea ?
    is there any code please tell me i am begginer and trying to get data from a text file to display in the JTextArea /... please help...

    public static void readText() {
      try {
        File testFile = new File(WorkingDirectory + "ctrlFile.txt");
        if (testFile.exists()){
          BufferedReader br = new BufferedReader(new FileReader("ctrlFile.txt"));
          String s = br.readLine();
          while (s != null)  {
            System.out.println(s);
            s = br.readLine();
          br.close();
      catch (IOException ex){ex.printStackTrace();}
    }rykk

  • I have been unable to print from FF to Brother HL-1440. print generate pages w/odd bits of text from the page, and sometimes one image. If I want to print off the web, I have to print PDF. Older versions of FF print fine.

    I have been unable to print from FF to Brother HL-1440. print generate pages w/odd bits of text from the page, and sometimes one image. If I want to print off the web, I have to print PDF. Older versions of FF print fine.

    I downloaded OpenOffice and am able to print documents (in particular, the same document I created in MS Word). I guess MS Word is to blame. I believe the issue is concluded, but I'd welcome any comments about the Active Directory, as I might have a problem
    with OpenOffice in the future regarding that.

  • Is it possible to import photos from a disk and retain the same order?

    Is i possible to import photos from a disk and retain the same order they appear on the disk?  When I import them, the come out in random order.

    When first imported the photos will be sorted in the Event chronologically. On the disk they well be sorted by the Finder and that's usually alphanumerically by file name. So select the photos in the event and type Commnad+N.  That will create a new album at the left with the photos in it. Then go to the View ➙ Sort Photo menu and select "By Title".  That should give you the same order as you view the photos on the disk via the Finder.
    OT

  • Import data from few tables and export into the same tables on different db

    I want to import data from few tables and export into the same tables on different database. But on the target database, additional columns have been added
    to the same tables. how can i do the import?
    Its urgent can anyone please help me do this?
    Thanks.

    Hello Junior DBA,
    maybe try it with the "copy command".
    http://download.oracle.com/docs/cd/B14117_01/server.101/b12170/apb.htm
    Have a look at the section "Understanding COPY Command Syntax".
    Here is an example of a COPY command that copies only two columns from the source table, and copies only those rows in which the value of DEPARTMENT_ID is 30:Regards
    Stefan

  • I uninstalled cs5 student version from my laptop and tried to install it on my desktop and I get these error.

    I uninstalled cs5 student version from my laptop and tried to install it on my desktop and I get this error.  This is a partial message.
    Exit Code: 6
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 58 error(s), 56 warning(s)
    WARNING: DW031: Payload:{3F023875-4A52-4605-9DB6-A88D4A813E8D} Camera Profiles Installer 6.0.0.0 has been updated and has been selected for repair. The patch {A189C479-C7CD-4E08-8CCF-D999B68C0C71} Camera Profiles Installer_6.3_AdobeCameraRawProfile6.0All 6.3.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{3F023875-4A52-4605-9DB6-A88D4A813E8D} Camera Profiles Installer 6.0.0.0 has been updated and has been selected for repair. The patch {A189C479-C7CD-4E08-8CCF-D999B68C0C71} Camera Profiles Installer_6.3_AdobeCameraRawProfile6.0All 6.3.0.0 will be uninstalled now.
    ----------- Payload: {635FED5B-2C6D-49BE-87E6-7A6FCD22BC5A} Microsoft_VC90_MFC_x86 1.0.0.0 -----------
    ERROR: Error 1935.An error occurred during the installation of assembly component {EC9C51A5-DD74-31C0-86E5-351D130E7097}. HRESULT: 0x80073712.
    ERROR: Install MSI payload failed with error: 1603 - Fatal error during installation.
    MSI Error message: Error 1935.An error occurred during the installation of assembly component {EC9C51A5-DD74-31C0-86E5-351D130E7097}. HRESULT: 0x80073712.
    ----------- Payload: {E5DD149F-8370-48F9-A32C-2E3DC776CFFB} AdobeJRE 1.6.0.0 -----------

    Hi Jeff,
    1)I purchased a license for Adobe Illustrator CC (and my expired trial version was for Adobe Illustrator CC)
    2) I am using Mac OSX, 10.7.5
    3) I just removed the previous installation with disable / remove Illustrator CC from the files programs

  • Myself and my partner had a iphones. Since the recent software update he now randomly receives texts from my contacts and also when im sending texts. Is this because we share the same apple id. This didnt happen before the software update.

    myself and my partner had a iphones. Since the recent software update he now randomly receives texts from my contacts and also when im sending texts. Is this because we share the same apple id. This didnt happen before the software update.

    You can both share the same Apple ID for purchases but i suggest one of you use another email for the use of iMessage, Facetime etc.
    It is easy to do, the easiest way is to set up an iCloud email directly from your iPhone. Once set up one of you will use this for iCloud services but both still use the existing Apple ID to make purchases.

  • How do I read text from specific rows and columns in a tree structure?

    How do I read text from specific rows and columns in a tree structure? In a table you can specify the cell to read from but I have not been able to figure out how to do this with a tree structure.

    You need to set two properties to activate the correct cell and then you can read it's string property.
    The positioning properties are the "ActiveItemTag" and
    "ActiveColNum" properties. With them you select the tree item by it's tag and the active column. The string can then be read from the "Cell String" property.
    MTO

  • How can I scan a photo from the printer and place it in i photo?

    How can I scan a photograph from the printer and place it in i photo?

    Scan the document as you normally would.
    Click Save and look for a format or option to allow you to save as a JPEG file. (The normal format is probably set to PDF)
    Seve to your desktop location or to a scanned items folder if you normally scan to that desitnation
    Drag the JPEG file onto the iPhoto icon on the dock and release the mouse key
    Once you have imported the image into iPhoto, you can delete the file on your desktop or in the scanned items folder if you prefer

Maybe you are looking for

  • Macbook goes to sleep but does not wake-up

    Hello, my Macbook is 3 years old and I am now having trouble with it. Whenever it goes to sleep, it does not wake up. This includes if I close the screen and then when reopening, it will not come back on. I am on version 10.4.11 Below is the power se

  • Flash Contest - Photo Gallery

    Hello, I hope this forum admins are OK with this post, else please re/move it. We are having a Flash contest at FFILES.com , users can submit a flash photo gallery, the user with best gallery system will receive $250.00. There are more details here:

  • PM G3 AIO Blown logic board?

    Hello everyone. I have a Power Mac G3 AIO running OS 9.2 that I upgraded from 233MHz to 300 MHz Apple orginal processor by exchanging the ZIF processor and resetting the jumpers. It was working very well and I should have been happy with it. But then

  • [SOLVED] - USB Pen Drive Unreadable

    I used gparted to create 3 Primary Partitins on my 2GB Kingston Pen Drive. After that I used the following command to change the label of one of the partitions: mkfs.ext3 -L Grub2 /dec/sdb3 After this the pen drive ha become unreadable. It gets liste

  • ProgramID creation/IDOC monitor

    Hi I have done  scenario BAPI-XI-IDOC using XSLT mapping. I'm calling BAPI on same server(R/3) and posting  IDOC on same(R/3) . 1. but unable to find any mesages in SXMB_MONI and MessageMonitor in RWB? 2. I dint find any IDOC adapter running in compo