Tests with Speech-to-Text transcription in PPro CS5

As a follow up to my earlier thread about the apparently reworked or, at least, enhanced speech transcription capability in PPro CS5, I just conducted a few tests to see if it is indeed any better than what we had come to expect of it from CS4. The results are, well, encouraging...
QUICK BACKGROUND: I have an approximately two-minute long voiceover, verbatim from a script, professionally recorded, that was originally delivered to me as a 192kbps, 44.1kHz MP3. Since transcription won't work on MPEG assets (at least, not in the trial which is what I'm using--the files import, but the transcription "analyze" button is grayed out), I used Soundbooth to convert it to a 48kHz, 32-bit floating point WAV. I created a couple of copies, so that each one would have its own transcription metadata. I always used the High quality (slower) option.
I ran the test four times, as follows:
Just the WAV, without a reference script
The WAV with a verbatim reference script as a text document (.txt), with "Script Text Matches Recorded Dialogue" option checked
The WAV with a verbatim reference script as an Adobe Story script document (.astx), with "Script Text Matches Recorded Dialogue" option checked
The original MP3 in Soundbooth CS4
I've linked to a text document with the results of these tests (no editing), along with the original text from the script, if you're interested in seeing how they stack up: right-click and save as.
As one would imagine, #1 (no script) was... not perfect. However, I think it did a decent enough job for most purposes. Granted, this was a professionally-recorded voiceover, with not competing background noise, but it was still marginally useful. What's funny to note is that the transcription process seems to trip up every now and again and then it seems to lose its momentum for awhile. It'll bobble a "difficult" word, and then for half-a-dozen words following, it's all over the place. Once it regains its footing, though, it'll be pretty much spot on for a sentence or so. Unfortunately, this repeats, but again I think you could make use of it.
For #2, the transcription was LEAGUES better... but still not perfect. That part is bewildering to me. The transcription generated a couple weird passages--for example "Enjoy" became "and Gillian"--which I could understand if there was NO reference script. However, my impression of how the reference script should work--particularly if the "Script Text Matches Recorded Dialogue" option is activated--is that the transcription should basically copy and paste the reference script into the metadata, NOT invent words and phrases that don't exist in either the script or the dialogue/speech. This process actually preserved capitalization (though punctuation was discarded), so that means it is definitely using that reference script; there is no way to discern capitalization from the spoken word.
I thought that maybe, just maybe, I could eliminate the anomalies by using Adobe's own script format, generated by the new Adobe Story--hence test #3. I copied and pasted the text into a new Story script, downloaded the ASTX file, and used that as a reference script as above. Unfortunately, it fared no better than the text document (I suppose this makes sense, but I was hoping...), but it was still about 98+% accurate. I'm reasonably satisfied.
For giggles, I tried test #4, where I used Soundbooth CS4 to transcribe the original MP3 file. Since CS4 doesn't have the reference script capability, this would more or less pit the transcription engine in CS4 against that in CS5. As expected, it turn the dialogue into textual chop suey, BUT... it actually did BETTER than CS5 sans reference script did on some phrases! Observe:
Original script: Our Club is YOUR CLUB.
CS5, no script: our love is your laugh
CS4, no script: our club is your class
Mish-mash that only Mad Libs could love! For the record, the tests that used the reference scripts were spot-on, capitalization included.
So, I'm feeling better about using this for the massive documentary and archival project I'm about to embark upon. I have human-typed transcripts for most of the interviews in this project--over 100 interviews, constituting some 200-plus hours--and keeping that text with the footage is going to be a great thing. There are some flaky things--I wish the punctuation could be preserved--but all in all, the reference script addition seems to make this feature much more plausible in a working production environment.

Did you link the Adobe story script through OnLocation?  For some reason this is required (to my knowledge) to do an exact match.
When you import an adobe story script into OnLocation; it creates a shot list that is linked to the script.   You then either shoot footage ot fill the shot list; OR link existing assetts to the shot list.  This creates the linkage between the adobe story script and the shot list.
If you just add itin premire; I think it is the same as just linking a text file.   But if you have ONE assett to ONE script; perhaps you will get the same results anyway.   In Onlocation you can link multiple assets to one script.
Then all this metadata come in to Pr script attached.
Some more details pasted from Help:
Improve speech analysis with Adobe Story, OnLocation, and Adobe Premiere Pro
You can use Adobe Story, OnLocation, and Adobe Premiere Pro to create the most accurate speech analysis. Import a script written in Adobe Story into OnLocation. OnLocation produces a list of shot placeholders for each scene. Either record these shots using OnLocation during production, or link the placeholder shots to their respective video files when you import the video files into OnLocation. In either case, OnLocation embeds the text for each shot from the original script into the metadata of the shot.
When you import the clips into  Adobe Premiere Pro, it automatically uses the Adobe Story script as a reference script. When Adobe Premiere Pro finds enough matches with the embedded script, Adobe Premiere Pro replaces the analyzed speech text with the embedded script text. Adobe Premiere Pro carries over correct spelling, proper names, and punctuation from the reference script, benefits that standard speech analysis cannot provide.
The closeness of the match between the embedded script text and the recorded dialog determines the accuracy of matched-script text. If 100% accuracy is important, edit and revise the script text first. Ensure that the script matches the recorded dialog before using it as a reference script.

Similar Messages

  • Auto-rewind 5 or 8 secs on pause command possible? (for speech to text transcription)

    Having read your comments (thanks) on my previous question of yesterday I looked around the web and I understand that there are no off- the-shelve USB foot pedals that will work with Audition. Today I was shown a feature of the Philips SpeechExec Pro transcription software that would make the use of Audition for transcription, even without a USB foot pedal, a lot more attractive. The feature was that you could set the Philips SpeechExec to rewind from 1 sec to maybe minutes on the stop or the pauze command, so that it would repeat the previous 1 sec up to whatever minutes it was set.
    Does anyone know whether you set Audition to do the same, controlling it with a (single or combined)(F-) keystroke without having to manually set markers?
    Philippe M&L

    Having read your comments (thanks) on my previous question of yesterday I looked around the web and I understand that there are no off- the-shelve USB foot pedals that will work with Audition. Today I was shown a feature of the Philips SpeechExec Pro transcription software that would make the use of Audition for transcription, even without a USB foot pedal, a lot more attractive. The feature was that you could set the Philips SpeechExec to rewind from 1 sec to maybe minutes on the stop or the pauze command, so that it would repeat the previous 1 sec up to whatever minutes it was set.
    Does anyone know whether you set Audition to do the same, controlling it with a (single or combined)(F-) keystroke without having to manually set markers?
    Philippe M&L

  • Problem with CS3 InCopy text files and InDesign CS5

    I have a large annual magazine that I am developing. There is one section that doesn't change much from year to year and I was hoping to grandfather in the InCopy text files from last year's edition. I've successfully used this strategy the past few years without issue. However, now when I try to check out those text files from last year, I receive the following message "This story needs to be coverted to "InCopy Document" format in order to edit it."
    I am running both InDesign CS5 and InCopy CS5 in SL 10.6.4. The previous year's magazine document was in CS3 InDesign format and the text files were in InCopy CS3. Is there some sort of compatibility issue? Is there a specific method for converting them so I can check them out in InDesign? I haven't attempted to check them out in InCopy CS5 yet but I will try that next. But I really need the ability to check out the content via InDesign too.
    Thanks in advance.
    Robert

    AFAIK, you're going to actually need to open the INCX files in InCopy and then resave them as ICML file. You can then relink them all in InDesign.
    Other choice is killing the InCopy links and then relinking everything.
    Best practice would be to finish any job started in CS3 with CS3 and then move to CS5 with new projects.
    Bob

  • Third party garbage matte for ppro cs5?

    Hi there!
    I started using ppro cs5 some months ago, coming from fcp, because of the gamma issue in fcp, because of the fact that you can import Red's r3d's directly and because ppro and redcine x communicate nicely. To my amazement there's no decent way of handling a garbage matte, i.e. smoothing it or using edge feather. I'm not about to spend another large sum on after effects--if it communicates directly with ppro like redcine x I will, but I'm afraid it's a question of exporting and importing, which I really dislike--in other words: does anyone know about a third party plugin with a decent garbage matte for ppro cs5?
    Many thanks,
    Hans

    The build in gargage is no good as you cannot feather it BUT...
    ....you can make your own garbage matte in the Titler. Make a filled bezier shape in pure white.
    superimpose over you footage and add a blur to make it feather.
    Add Track Matte Effect to footage and set this to the matte.
    If you want an animated matte drop the garbage matte effect on a white color matte, add the blur and keyframe the points over time.

  • Soundbooth CS5 Transcription From Speech to Text

    Does anyone know if Soundbooth's transcription accuracy rate can be improved for a single speaker?  If not, is there another Adobe software program that will permit a user to accomplish that function?
    Thanks,
    KB Johnson         

    To use the Speech to Text option, you want to tap on the microphone icon in the Compose option  and a window will come up with that shows Speak now. 
    If this is not working for you, go into your phone settings and select applications, then Manage Applications. Locate your email and select clear the cache . 
    Thank you, 
    AraceliT_VZWSupport
    Follow us on Twitter @VZWSupport

  • TS4079 Trouble with Siri and speech to text feature

    iPhone 5
    Siri is enabled and location svcs is on, however Siri not responding, progress status sysmbol just spins and spins. Simularly - speech to text feature in other apps not functioning properly; after voice commands are accepted, the progress status symbol just continues to spin. I've closed down all apps, powered down the phone and retried with same results. What am I missing? Please help! Thanks 

    Let's start here:
    http://support.apple.com/kb/TS4079
    Something like toggling Siri on and off could work, but this list os a good start to fixing your situation.

  • Is there Speech to Text Software Capabilities? .... for Adobe Acrobat PDF Fillable Forms - Mac

    Hi,
    I hope that someone can help me with this.....
    I create forms in InDesign and export to Adobe Acrobat PDF. I create a fillable version in Acrobat so my clients "field therapists" can fill the forms out utilizing their laptops and iPads when on location with client. The forms they fill out, most use the mac, and they are now requesting that the fillable PDF forms have the capability to render text when it is spoken. (Speech to Text) also if written with a stylus pen the want it to render the text in the fields (handwriting to text)
    I have researched and have found a company that has software that does this for mac, called dragon, but they said I need to test the software to see if it does what I need it to do with the acrobat pdf.
    Has anyone implemented this "speech to text" and "handwriting to text" in any of their Adobe Acrobat PDF fillable forms?
    If so, what did you find worked, or what did you find that did not work.
    All responses welcome, I am hopeful I can find software that will work with existing mac adobe acrobat fillable PDF forms so I dont have to change the manner in which I am creating my forms for this client.
    P.S. FYI, I am not looking for responses that are a response for 508 Compliant forms which is speaking the text, this I do for clients and this I know how to do, it is quite different from "Speech to Text"
    Thanks in advance for all responses.
    Message was edited by: muralsbyamy

    There really is nothing Adobe can do about how non-Adobe software functions. The PDF standard is no longer controlled by Adobe, it's controlled by ISO. Some PDF viewers choose to have no support for forms, some have pretty good support, and some (like Preview) are simply malevolent. There is a lot of non-Adobe software that creates bad PDFs, and a lot that doesn't have nearly the support of Acrobat/Reader. Again, this isn't a problem Adobe can solve.
    Regarding, allowing image formats with the buttonImportIcon method and Reader, I know a feature request has been submitted for this. Reader 11 is the first version since Reader 5 that supports this, so I have hope for the future. In the mean time, it's fairly easy nowadays to convert an image to PDF. Even Preview can do it.

  • Speech to Text: Is it working for you?

    Is anyone finding the speech-to-text function accurate enough to be useful? I was really looking forward to this feature, but have found that it transcribes speech so badly that it takes nearly as much time to correct it as it would to do a complete transcription. The audio quality of my source is very good -- a well-recorded studio interview. Is anyone having better luck? If you are, do you have any tips? I'm using a Mac, and transcribing American English.
    Thanks.
    David

    This feature works best with "talking heads". Someone speaking into a good quality mic, in a clear measured pace. The best results I've seen were from audio that was recorded while someone was either reading or speaking from a prompter.
    That being said, I just read your post into my Macbook's built-in mic and got the following:
    "is anyone finding the speech to text function accurate enough to be useful I was really looking forward to this feature but it fell to the transcript speech so badly that it takes nearly as much time to correct it as it were to do a complete transcription the audio quality of my sources very good they will recording studio interview is anyone having better luck if you are do you have any tips I'm using a Mac and Trent spreading American English thanks David"
    Your mileage may vary... I selected "High Quality" for the transcription.

  • What's the best way to capture speech as text in live or recorded Adobe Connection sessions?

    Hi
    What's the best way to capture speech as text in live or recorded Adobe Connection sessions?
    We would like to have a transcript of the presentation. Is Adobe Connect compatible with Dragon speech recognition software - or is there a preferred Adobe product or method?
    We use PCs running Windows 7 Enterprise.
    thanks

    The class java.util.Date is not itself deprecated, however several of its methods are.
    For converting string -> date, you should use the class java.text.SimpleDateFormat. That allows you to specify format strings such as MM-dd-yyyy hh:mm:ss for converting date -> string -> date.
    If you are wanting to set day/month/year on the date object directly, instead of the Date methods setDay, setMonth, setYear, you should instead use the java.util.Calender class:
    calendar.set(Calendar.MONTH, 4);
    The calendar can then be converted to a Date object by calling calendar.getTime().
    If you are going to use the date as part of a sql query, I would recommend using a Prepared statement, and the java.sql.Date/java.sql.Timestamp class as well.
    To convert from java.util.Date to java.sql.Date)
    jva.util.Date utilDate = Calendar.getInstance().getTime();
    java.sql.Date sqlDate = new java.sql.Date(utilDate.getTime());cheers,
    evnafets

  • How to display data with the same text and key in the drop down list?

    Hi All,
    Would like so to seek for you advice on the above mention topic. How to display the data with the same text and key using function module 'VRM_SET_VALUES'. From my testing by writing a program, this function module will only show the text and key if both have different data. Please find the coding as below. Is the normal behaviour of this function module? How to overcome this problem? Thanks in advance.
    REPORT ZTESTING.
    TYPE-POOLS: VRM.
    DATA: NAME  TYPE VRM_ID,
          LIST  TYPE VRM_VALUES,
          VALUE LIKE LINE OF LIST,
          c(20) type c.
    *      c = 'select any'.
    data:begin of itab occurs 0,
          kunnr like kna1-kunnr,
          name1 like kna1-name1,
         end of itab.
    data:begin of jtab occurs 0,
          kunnr like kna1-kunnr,
          land1 like kna1-land1,
         end of jtab.
    PARAMETERS: p_list(20) AS LISTBOX VISIBLE LENGTH 20
                              default 'SELECT'.
    AT SELECTION-SCREEN OUTPUT.
    NAME = 'p_list'.
    VALUE-KEY = 'Name'.     "---> Data for key is the same with text
    VALUE-TEXT = 'Name'.    "--> Data for text is the same with key
    APPEND VALUE TO LIST.
    VALUE-KEY = '2'.
    VALUE-TEXT = 'Country'.
    APPEND VALUE TO LIST.
    CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = NAME VALUES = LIST.
    start-of-selection.
    select kunnr name1 up to 20 rows from kna1 into table itab.
    select kunnr land1 up to 20 rows from kna1 into table jtab.
    case p_list.
    when '1'.
    loop at itab.
    write:/ itab-kunnr,itab-name1.
    endloop.
    when '2'.
    loop at jtab.
    write:/ jtab-kunnr,jtab-land1.
    endloop.
    endcase.
    <Added code tags>
    Moderator Message: Please use the "code" tags to format your code snippet.
    Edited by: Suhas Saha on Nov 17, 2011 11:19 AM

    shawnTan wrote:
    Hi All,
    >
    > Would like so to seek for you advice on the above mention topic. How to display the data with the same text and key using function module 'VRM_SET_VALUES'. From my testing by writing a program, this function module will only show the text and key if both have different data. Please find the coding as below. Is the normal behaviour of this function module? How to overcome this problem? Thanks in advance.
    >
    >
    REPORT ZTESTING.
    >
    > TYPE-POOLS: VRM.
    >
    > DATA: NAME  TYPE VRM_ID,
    >       LIST  TYPE VRM_VALUES,
    >       VALUE LIKE LINE OF LIST,
    >       c(20) type c.
    >
    > *      c = 'select any'.
    >
    > data:begin of itab occurs 0,
    >       kunnr like kna1-kunnr,
    >       name1 like kna1-name1,
    >      end of itab.
    >
    > data:begin of jtab occurs 0,
    >       kunnr like kna1-kunnr,
    >       land1 like kna1-land1,
    >      end of jtab.
    >
    > PARAMETERS: p_list(20) AS LISTBOX VISIBLE LENGTH 20
    >                           default 'SELECT'.
    >
    > AT SELECTION-SCREEN OUTPUT.
    >
    > NAME = 'p_list'.
    >
    > VALUE-KEY = 'Name'.     "---> Data for key is the same with text
    > VALUE-TEXT = 'Name'.    "--> Data for text is the same with key
    > APPEND VALUE TO LIST.
    >
    > VALUE-KEY = '2'.
    > VALUE-TEXT = 'Country'.
    > APPEND VALUE TO LIST.
    >
    > CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = NAME VALUES = LIST.
    >
    > start-of-selection.
    > select kunnr name1 up to 20 rows from kna1 into table itab.
    > select kunnr land1 up to 20 rows from kna1 into table jtab.
    >
    > case p_list.
    > when '1'.
    > loop at itab.
    > write:/ itab-kunnr,itab-name1.
    > endloop.
    >
    > when '2'.
    > loop at jtab.
    > write:/ jtab-kunnr,jtab-land1.
    > endloop.
    > endcase.
    >
    > <Added code tags>
    >
    > Moderator Message: Please use the "code" tags to format your code snippet.
    >
    > Edited by: Suhas Saha on Nov 17, 2011 11:19 AM
    This surely seems to be a bug to me(if not by design),  did you check for any SAP notes? Perhaps a front end trace can help(Note 407743) !
    -Rajesh.

  • Service order with blank short text

    Hi all,
    In my case Service orders are getting generated from sales order and the short text of the service order is the material description in the sales order line item.This is the standard behaviour.
    Now the client wants short text should be blank and they will key in the text later.Means order has be created with no data in short text.
    I have tested with exit IWO10009 and its not catering my needs.Is there is any other exit which whips the data in the shorttext while saving of the order.
    reagards
    A.Sureshbabu.

    MODERATOR COMMENT:
    Welcome to the forum. Do take time to read the [rules|https://www.sdn.sap.com/irj/scn/wiki?path=/display/home/rulesofEngagement], in particular:
    Step 4: Thank Others by Giving Points
    -Paul
    Moderator

  • I am using an early 2008 MacBook Pro and am having issues with it deleting text on its own (in word, emails, etc.). As I am typing it all of a sudden starts deleting and I can't stop it. What can I do?

    I am using an early 2008 MacBook Pro and am having issues with it deleting text on its own (in word, emails, etc.). As I am typing it all of a sudden starts deleting and I can't stop it. This happened once before and it was due to a buldging battery pressing on the track pad. I checked the battery and it appears to be fine. What can I do?

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up guest users” (without the quotes) in the search box. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    When you see the gray Apple logo, release the shift key.
    If you are prompted to log in, type your password, and then hold down the shift key again as you click Log in.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    *Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • How to Create a Auto Generated number with some preceding text in Sharepoint 2010

    I am trying to create a auto generated number field in Sharepoint 2010 list item. My requirement is to have the following format number generated when new request is created in Sharepoint using form. Auto generated Ticket ID should be in the following format
    "IR13000" "IR13001" "IR13002"....... Please let me know how to get this done. I tried to use combination of default ID and Characters but its not working for new requests, its only reflecting for existing uploaded requests. I
    am trying this for taking up Ticket requests by filling up some fields in the form. Any quick help is much appreciated.
    Thanx

    Here are the steps:
    1 - Open your SharePoint site in SP Designer 2010.
    2 - Click Workflows and add a List workflow. Associate this workflow on the list where you want the Random Text to be generated.
    3 - Inside the workflow editor, select the Action "Update list item"
    4 -  Select 'Current Item'.
    5 - Click Add.. and select the field which needs to be updated with the Random Text. Make sure this column is not of type "Calculated" type, otherwise you won't see it in the list of the fields within the workflow.
    6 - Click "..." button in the next textbox which will open String Builder dialog box.
    7 - Type IR and then click 'Add or Change Lookup and select ID column from "Field from source". Hit OK.
    8 - It should look like IR[%Current Item:ID%]
    9 - Hit OK.
    10 - Save and publish the workflow. (Please note that currently this workflow is not set to auto run on creating new items. That's because we want to test it at this point of time).
    11 - Go to your list in SharePoint and create a new item. After creating, select the item and click Workflows and then run this workflow.
    12 - You should be able to see the text "IR1" in the designated column.
    13 - Once you see that it's working, go to SPD and set the workflow to run automatically on creation of the new item. Save and publish and then return to your list in SharePoint.
    14 - Create a new item there and you should see the Random value in the column.
    15 - You will also see the column in the New form. In order to remove it, go to List settings > content types > Item content type > and select Hidden for this column so that it doesn't showup in any form.
    Try it and let me know how it goes.
    Thanks,
    Ashish

  • Why does footnote text mix with the main text in a documents?

    Hello good people
    I have a annoying problem where the footnote text mixes with the general text in the document in Pages 5.2.
    I'm writing research papers and I use considerable amount of footnotes.  When there is more than a certain amount of footnotes in in one page, the main test of the document seems to fall behind the footnotes, making it almost impossible to read.  The doc prints the same way.  Saving, closing and reopening does not fix the problem.  Exporting to Word does not fix the problem either.  Neither does restarting the computer.
    If I however hit enter until all the text is on a new page, sometimes that fixes the problem.
    I'm using Pages 5.2 on a PowerBook Pro with fully updated Maverick.
    Any solutions or good ideas ?
    All the best

    I don't know about text, but with Email, you are limited to how many bytes an attachment can be. Truthfully, I forget the limit, but there is a limit. One thing you can do is put it on YouTube and then direct the people you want to see the video to that particular URL. Also, I believe that there are a couple of apps which will allow you to send longer videos.

  • Write into existing file with "write to text file"

    Hi all,
     I have a text file that contains several lines of data (text). Now I would like to replace the first three lines with text coming from a string array.
    My approach is shown in WriteToFile.vi that is attached.
    When I am executing this vi (with an empty file), everything seems to be working fine in the first place.
    The file will contain the following text:
    oneoneone
    twotwotwo
    threethreethree
    Now, when the third element in the array is shortened (lets say to "threethr") before execution,  the file will contain  the following text:
    (the file was not emptied before execution)
    oneoneone
    twotwotwo
    threethr
    three
    How can I avoid the last line being written? I have made many tests and I could not find a solution.
    One more example:
    Lets say we have an existing file, inside this file is:
    oneoneone
    twotwotwo
    three
    fourfourfour
    Now I would like to overwrite line three with "threethreethree". Therefore I execute my vi as shown in the attachment.
    What I get as a result is:
    oneoneone
    twotwotwo
    threethreethree
    ur
    So, the text in line four, which should not be touched, is "ur" instead of "fourfourfour".
    Any idea to solve this problem?
    What I basically need is replacing a line of a text file in a conveinient way.
    Thanks,
    Holger
    LV 8.5.1
    Attachments:
    WriteToFile1.jpg ‏17 KB
    WriteToFile.vi ‏11 KB

    The remaining fourth line is there because the third line has a <nl> at the end. You have not emptied the file so the rest of the file will be kept. This is because your line is shorter.
    In the scond example the third line is longer and it will overwrite the beginning of the fourth line.
    Files aren't organized in lines they are oganized in bytes. And what you write are bytes to the file even with text files.
    Replacing a single line in a file is done by reading the file line by line. All unchanged lines are written to a temporary file and the line with the new text will be written instead of the original line to the temporary file. When the writting is done rename the original file, then rename the new file into the original file and then delete the renamed original file.
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

Maybe you are looking for

  • Need help for a newbie problem

    I am VERY new to all this Java programming but have really started to enjoy it. I have two problems with my program that I can not find answers to. 1. I am looking to find out why my code will not select the right answers when I select the first choi

  • [SOLVED - sort of] display resolution woes after pacman update

    When doing a recent pacman -Syu, I was asked if I wanted to change from mga-dri to libgl video. I (foolishly) chose the default (Y) and was informed mga-dri had been removed. After the rest of the update, I was unable to start X. Did some reading, co

  • How to use two "field separator" in the same Comunication Channel

    Hi experts, I  upload flat files with XI, and my Comunication Channel is configured to use the field separator "~". FILA.fieldSeparator     ~ Is posible to configure that Comunication Channel to accept two field separator. I want that upload flat fil

  • Access denied when trying to show table in jsp fragment?

    I've had one page which has been groving obese over time. Now I've started to split out parts into jsp fragments using f:subview                   <f:subview id="frontStoreSupport">                     <jsp:include page="/frontStoreSupport.jsff"/>   

  • On-line Rejection

    Dear PP Gurus, Can anyone guide me what is the SAP Best practice in the scenario - 'on-line rejection after payment is made to vendor'. Thanks in advance Kailash T.