FileRecover recovered as txt files, how to fix?

I have a client using Panther whose hard drive, it turns out, was too full. She was moving a selection of about five messages from her Inbox (POP) (described as having "thousands" of messages in it) to a new On My Mac folder. Suddenly all the messages in the Inbox vanished.
First I gave her the standard lectures about hard drive space, mailbox size limits, and backups. Then I checked the sizes of files in the Mail folder. Neither the Inbox nor the target mailbox had a large enough filesize to be hiding the missing messages.
Data Rescue didn't find anything useful.
FileRecover turned up some files in .emlx format (isn't that Tiger? but they were all spam anyway), plus 146 files named 1.txt through 176.txt which appear to contain at least some of the missing messages (as you can see about 30 of the pieces are missing). Each txt file has one or more emails separated by lots of gibberish (attachments, maybe?). I surmise this is a mailbox that got broken up into pieces, since Panther didn't store individual messages, right? Is there any way to reconstitute it?
In case it helps, here's the beginning of 1.txt:
From [email protected] Sun Mar 27 13:45:55 2005
Mime-Version: 1.0 (Apple Message framework v613)
Content-Transfer-Encoding: 7bit
Message-Id: <[email protected]>
Every one of the txt files starts with a From line, but sizes vary from 80k to 1.6mb.
Any enlightenment, suggestions, or general discussion of mail recovery is welcome. I'll be posting a similar-but-different problem in the Tiger Mail forum.
Cube, iMac G5, MacBook   Mac OS X (10.4.7)  

First of all, Mail 1.x doesn’t store messages in individual files, so trying to recover those messages with a data recovery utility doesn’t even make sense. No file is deleted as a result of deleting individual messages in Mail 1.x, only as a result of deleting mailboxes.
Second, Mail 1.x knows nothing about *.emlx files, so it doesn’t make sense that you’ve found any such files on a Mac OS X 10.3 (Panther) system either. BTW, what is ‘FileRecover’? Did you mean FileSalvage?.
Your only hope is that the messages may still be in the original mailbox, but inaccessible for some reason. If that’s the case, the following procedure would allow you to recover the messages from Inbox:
1. Quit Mail if it’s running.
2. In the Finder, go to ~/Library/Mail/POP-username@mailserver/.
3. Locate INBOX.mbox and move it to the Desktop.
4. Open Mail. A new empty INBOX.mbox will automatically be created within the account folder, and this will allow you to continue using Mail normally while trying to solve the problem.
Although INBOX.mbox appears to be a file, it’s actually a special kind of folder (a package) that contains several files. Ctrl-click on INBOX.mbox and choose Show Package Contents from the contextual menu to see the files it contains. Of these files, mbox is the most important and is where all your messages are stored. Depending on the size of the mbox file, you may or may not be able to directly import it back into Mail in the next step.
An Incoming_Mail file may also be present, in which case it might contain messages that couldn’t be transferred to mbox. Incoming_Mail is also a standard mbox file like mbox proper, just named differently, and can be imported back into Mail in the same way.
5. In Mail, do File > Import Mailboxes and follow the instructions to import the INBOX.mbox that’s on the Desktop. I’m not sure what the import options available in Mail 1.3 are, but you should choose Other / Standard mbox or something like that, so that Mail looks at the mbox file only (and Incoming_Mail, if present) and ignores the other files in the package.
If Mail doesn’t let you select INBOX.mbox in step 5 because it’s a package instead of a plain folder, rename INBOX.mbox to just INBOX (i.e. remove the .mbox suffix) so that it becomes a normal folder, and try again. You cannot do this directly in the Finder because removing a suffix by normal means causes the Finder to hide the suffix instead of renaming the file. To remove the suffix from the name, you must do File > Get Info (⌘I) on the file and change the name there.
Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder, i.e. ~/Library is the Library folder within the user’s home folder.

Similar Messages

  • Writing scripts to edit or parse txt file How To?

    Not sure if this is the correct forum for programming type question. If not someone point me in the right direction?
    I'm a programming student and I'd like to teach myself some scripting skills over the summer break.
    In particular, I've got a txt file I'd like to split into three txt files. A google calendar file that I'd like to divide into three separate calendars.
    I know what strings I want to put where. My problem is what scripting language am I trying to use? Applescript? Something else?
    Any suggestions or ideas? Recommendations on reading materials or sample scripts I should look at?
    Thanks for the help.

    Perl is a huge programming language. A more expedient project would be to learn some basic shell commands such as sed, awk, tr and cut. The sed command is optimized for linewise operations, awk is optimized for columnwise operations and tr is a basic character translation tool especially useful when feeding Mac files into a UNIX command.
    Setting up sed and awk commands to read and write files is a big part of learning, especially since shell commands cannot normally write to a file in situ.
    Applescript is not ideal for text manipulation as it is slow, uses a bulky delimiter system and has irritating file access limitations. However it can be a powerful interface for the above mention shell commands. Applescript offers an ideal way to assemble shell commands with user-input variables. Of course, shell commands cannot be interactive with Applescript, so you learn to do incremental operations on text files.
    Another handy use for Applescript is to send your command to Terminal, which makes an ideal output display.

  • .JS files download as .TXT files how can I download the files corectly

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [/questions/750416]<br>
    Thanks - c</blockquote><br>
    Recently upgraded to version 3.6.3 and since then when I try to download .JS files they actually download as .TXT files. I can download word files without a problem. I'm downloading scripts from my internet hosted database. In previous versions of FF I didn't have a problem. Is there a setting that I need to change or plugin I need?

    Try "Reset Download Actions": http://kb.mozillazine.org/File_types_and_download_actions

  • HT201210 my ipod is in recover i dont know how to fix it how do i fix it?

    i need to know how to fix my ipod its in recovery and i dont know to fix it how do i fix it

    Connect the iPod to your computer and restore via iTunes.
    For how to restore:
    iTunes: Restoring iOS software

  • Windows will not start up because of a corrupt or missing file how to fix

    Windows will not start up because of a corrupt or missing file how to fix

    http://support.apple.com/kb/HT2801?viewlocale=en_US

  • IPod full but now won't recognize any files; how to fix without "restore"?

    My iPod mini suddenly won't recognize any of my files or extensive playlists. I just uploaded several songs to it, and when I disconnected and tried to play it, it suddenly showed as completely empty, like I'd deleted everything. I plugged it back in, and while nothing shows up in iTunes with - no songs, no playlists - it says it's still nearly full.
    Reading another thread, I found the files on the iPod through My Computer. So they are still there, but for whatever reason the iPod, literally suddenly, can't recognize them as present. How do I fic this WITHOUT having to restore the iPod and then re-add those files (and recreate all of my playlists?)
    Please, please help!

    See this.
    What to do if iTunes displays a corrupt file message.
    And this thread.
    Da Gopha's corrupt file info.

  • IWeb hanging; No iWeb plist files; how to fix in Lion?

    I updated to LION (yes, big mistake) and now iWeb hangs within 2 sec. of opening the program. I went looking for iWeb.plist files to delete, but do not have any in my Preferences folder. How do I get iWeb to not hang upon opening and work again, in the interim? Please help.

    In Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    For opening your domain file in Lion or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application.
    Just launch the application, find and select the domain file you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
    do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
    tell application "iWeb" to activate
    You can download an already compiled version with this link: iWeb Switch Domain.
    WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder.  So rename your domain files once they've been created to something other than the default name.
    OT

  • Problems with Transitions in FCP Exported Files - How to Fix?

    I have completed an HD 16:9 project which plays properly with transitions in FCP 5.1.4, but when I export it, the transitions have a momentary "blink" to black just as the they begin, and then they complete normally -- a very distracting annoyance. I tried several different transitions, and the same problem occurs. I also tried exporting to several different formats and the problem persists. I also tried applying the flicker filter and the deinterlace filter with no success. I would appreciate any help!

    I would also check to make sure the frame rates between your media and sequence really match. This type of thing has also been seen when working with 24p DV50 material - renders such as transitions were showing time shifts and repeated frames.
    If this is HDV, you might try isolating one offending transition, exporting the clips as AIC and rebuilding an re-rendering it just to see if it helps. If it does, you could probably use media manager to convert all of the clips in your sequence and reconnect automatically.
    Hope this helps -
    Max Average

  • How to save in CSV or TXT file the Powershell script output?

    Hi,
    I am not sure how to expot this to csv/TXT file, should I use export-csv "c:\test.csv" ?
    my code:
    $site = Get-SPSite "http://tst.pg.com/sites/tsta"
    Write-Output("`n" + $site.URL)
    $myweb = $site.AllWebs | where {$_.url -eq $site.url}
    Foreach ($list in $myweb.Lists) 
    if($list.BaseType -eq "DocumentLibrary")
          Write-Output("")
    Write-Output("Doc Library Name:" + $list.Title)                
    Write-Output($list.roleassignments | ft Member,RoleDefinitionBindings -auto)
    }$site.dispose()

    Hi there - If you just want to dump the output as a txt file, how about the following?
    .\yourpowershell.ps1 > output.txt
    Please remember to mark your question as answered and vote it helpful if this solves or helps with your problem. *******************************************************************************************************

  • Conver a report in to txt file

    Hi all,
    I need to convert the report output into txt file .How can i do that?. can any one post some sample codes.
    Regards,
    Lisa.

    Here is a sample program which submits the report program, brings the output back from memory and downloads it to a text file.
    report zrich_0003 .
    data: begin of listout occurs 0,
          line(1024) type c,
          end of listout.
    * Submit the report and export list to memory
    submit your_report_program exporting list to memory
                and return.
    * Get list from memory and convert to ascii
    perform retrieve_list_from_memory tables listout.
    call function 'GUI_DOWNLOAD'
         exporting
              filename = 'C:Test.txt'
         tables
              data_tab = listout.
    * RETRIEVE_LIST_FROM_MEMORY
    form retrieve_list_from_memory tables reportlines.
      data: list like abaplist occurs 0 with header line.
      data: txtlines(1024) type c occurs 0 with header line.
      clear list.  refresh list.
      clear reportlines. refresh reportlines.
      call function 'LIST_FROM_MEMORY'
           tables
                listobject = list
           exceptions
                not_found  = 1
                others     = 2.
      check sy-subrc = 0.
      call function 'LIST_TO_ASCI'
           tables
                listobject         = list
                listasci           = txtlines
           exceptions
                empty_list         = 1
                list_index_invalid = 2
                others             = 3.
      check sy-subrc = 0.
      reportlines[] = txtlines[].
      call function 'LIST_FREE_MEMORY'.
    endform.
    Regards,
    Rich Heilman

  • When I open .txt files with firefox all underscores disappear. How do I fix this?

    I have a list of websites in a .txt file and they all contain underscores. When I open the file with firefox all underscores turn into spaces, so that the links don't actually work.

    Can you post a short excerpt of this text file?
    Note that you usually need an extension to open links in a text file via a left-click with the mouse.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How to skip first 5 lines from a txt file when using sql*loader

    Hi,
    I have a txt file that contains header info tat i dont need. how can i skip those line when importing the file to my database?
    Cheers

    Danny Fasen wrote:
    I think most of us would process this report using pl/sql:
    - read the file until you've read the column headers
    - read the account info and insert the data in the table until you have read the last account info line
    - read the file until you've read a new set of column headers (page 2)
    - read the account info and insert the data in the table until you have read the last account info line (page 2)
    - etc. until you reach the total block idenfitied by Count On-line ...
    - read the totals and compare them with the data inserted in the tableOr maybe like this...
    First create an external table to read the report as whole lines...
    SQL> ed
    Wrote file afiedt.buf
      1  CREATE TABLE ext_report (
      2    line VARCHAR2(200)
      3          )
      4  ORGANIZATION EXTERNAL (
      5    TYPE oracle_loader
      6    DEFAULT DIRECTORY TEST_DIR
      7    ACCESS PARAMETERS (
      8      RECORDS DELIMITED BY NEWLINE
      9      BADFILE 'bad_report.bad'
    10      DISCARDFILE 'dis_report.dis'
    11      LOGFILE 'log_report.log'
    12      FIELDS TERMINATED BY X'0D' RTRIM
    13      MISSING FIELD VALUES ARE NULL
    14      REJECT ROWS WITH ALL NULL FIELDS
    15        (
    16         line
    17        )
    18      )
    19      LOCATION ('report.txt')
    20    )
    21  PARALLEL
    22* REJECT LIMIT UNLIMITED
    SQL> /
    Table created.
    SQL> select * from ext_report;
    LINE
    x report page1
    CDC:00220 / Sat Aug-08-2009 xxxxp for 02/08/09 - 08/08/09 Effective Date 11/08/09 Wed Sep-30-2009 08:25:43
    Bill to
    Retailer Retailer Name                  Name on Bank Account           Bank ABA   Bank Acct            On-line Amount  Instant Amount  Total Amount
    ======== ============================== ============================== ========== ==================== =============== =============== ===============
    0100103  BANK Terminal                  raji                           123456789  123456789            -29,999.98    9 0.00         99 -29,999.98
    0100105  Independent 1                  Savings                        123456789  100000002            -1,905.00     9 0.00         99 -1,905.00
    0100106  Independent 2                  system                         123456789  100000003            -800.00       9 -15.00       99 -815.00
    LARGE SPACE
    weekly_eft_repo 1.0 Page: 2
    CDC:00220 / Sat Aug-08-2009 Weekly EFT Sweep for 02/08/09 - 08/08/09 Effective Date 11/08/09 Wed Sep-30-2009 08:25:43
    Bill to
    Retailer Retailer Name Name on Bank Account Bank ABA Bank Acct On-line Amount Instant Amount Total Amount
    ======== ============================== ============================== ========== ==================== =============== =============== ===============
    Count On-line Amount Instant Amount Total Amount
    ============== ====================== ====================== ======================
    Debits 0 0.00 0.00 0.00
    Credits 3 -32,704.98 -15.00 -32,719.98
    Totals 3 -32,704.98 -15.00 -32,719.98
    Total Tape Records / Blocks / Hash : 3 1 37037034
    End of Report
    23 rows selected.Then we can check we can just pull out the lines of data we're interested in from that...
    SQL> ed
    Wrote file afiedt.buf
      1  create view vw_report as
      2* select line from ext_report where regexp_like(line, '^[0-9]')
    SQL> /
    View created.
    SQL> select * from vw_report;
    LINE
    0100103  BANK Terminal                  raji                           123456789  123456789            -29,999.98    9 0.00         99 -29,999.98
    0100105  Independent 1                  Savings                        123456789  100000002            -1,905.00     9 0.00         99 -1,905.00
    0100106  Independent 2                  system                         123456789  100000003            -800.00       9 -15.00       99 -815.00And then we adapt that view to extract the data from those lines as actual columns...
    SQL> col retailer format a10
    SQL> col retailer_name format a20
    SQL> col name_on_bank_account format a20
    SQL> col online_amount format 999,990.00
    SQL> col instant_amount format 999,990.00
    SQL> col total_amount format 999,990.00
    SQL> ed
    Wrote file afiedt.buf
      1  create or replace view vw_report as
      2  select regexp_substr(line, '[^ ]+', 1, 1) as retailer
      3        ,trim(regexp_replace(regexp_substr(line, '[[:alpha:]][[:alnum:] ]*[[:alpha:]]', 1, 1), '(.*) +[^ ]+$', '\1')) as retailer_name
      4        ,trim(regexp_replace(regexp_substr(line, '[[:alpha:]][[:alnum:] ]*[[:alpha:]]', 1, 1), '.* ([^ ]+)$', '\1')) as name_on_bank_account
      5        ,to_number(regexp_substr(regexp_replace(line,'.*[[:alpha:]]([^[:alpha:]]+)','\1'), '[^ ]+', 1, 1)) as bank_aba
      6        ,to_number(regexp_substr(regexp_replace(line,'.*[[:alpha:]]([^[:alpha:]]+)','\1'), '[^ ]+', 1, 2)) as bank_account
      7        ,to_number(regexp_substr(regexp_replace(line,'.*[[:alpha:]]([^[:alpha:]]+)','\1'), '[^ ]+', 1, 3),'999,999.00') as online_amount
      8        ,to_number(regexp_substr(regexp_replace(line,'.*[[:alpha:]]([^[:alpha:]]+)','\1'), '[^ ]+', 1, 5),'999,999.00') as instant_amount
      9        ,to_number(regexp_substr(regexp_replace(line,'.*[[:alpha:]]([^[:alpha:]]+)','\1'), '[^ ]+', 1, 7),'999,999.00') as total_amount
    10* from (select line from ext_report where regexp_like(line, '^[0-9]'))
    SQL> /
    View created.
    SQL> select * from vw_report;
    RETAILER   RETAILER_NAME        NAME_ON_BANK_ACCOUNT   BANK_ABA BANK_ACCOUNT ONLINE_AMOUNT INSTANT_AMOUNT TOTAL_AMOUNT
    0100103    BANK Terminal        raji                  123456789    123456789    -29,999.98           0.00   -29,999.98
    0100105    Independent 1        Savings               123456789    100000002     -1,905.00           0.00    -1,905.00
    0100106    Independent 2        system                123456789    100000003       -800.00         -15.00      -815.00
    SQL>I couldn't quite figure out the "9" and the "99" data that was on those lines so I assume it should just be ignored. I also formatted the report data to fixed columns width in my external text file as I'd assume that's how the data would be generated, not that that would make much difference when extracting the values with regular expressions as I've done.
    So... something like that anyway. ;)

  • Importing fixed width text from a .txt file

    I am really struggling to do in Numbers '09 something which I can do easily in Excel.
    I have a txt file containing plain text in fixed-width columns which I would like to import into numbers.
    I just cannot find a way to do it.
    I have tried using the Insert/choose menu item - but it won't take .txt files.
    I have tried to copy/paste the data, but it get's pasted into a single column.
    The data consists of many lines like this:
    Part Value Device Package Library Sheet
    A-IN JST-2.0-4 JST-2.0-4 JST-20M KMILLAR 1
    A-IN JST-2.5-4 JST-2.5-4 JST-25M KMILLAR 1
    A-IN JST-2.8-4 JST-2.8-4 JST-28M KMILLAR 1
    (and so on....)
    (Each column is an exact number of characters wide, but these forums make that hard to see due to the variable spaced fonts).
    How can I import this data into numbers?
    (Sorry, but I cannot get the data in any other format, such as CSV, the application which exports it only support fixed width colums with spaces for padding).
    Many thanks in advance,
    Kenny

    Here is a script treating the case of fixed widths values.
    --[SCRIPT fixedwidth_values_toTSV.scpt]
    Enregistrer le script en tant que Script : fixedwidth_values_toTSV.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    aller au menu Scripts , choisir Numbers puis choisir fixedwidth_values_toTSV
    Choisir un fichier texte.
    Le script détermine la largeur des différentes colonnes puis remplace les groupes séparateurs par des caractères TAB.
    Le résultat est passé dans le presse-paiers et est enregistré à la place du contenu initial.
    Vous pouvez alors
    (1) coller dans le document de votre choix
    (2) ouvrir le fichier texte modifié dans Numbers qui accepte sans broncher les ficiers .txt.
    Utilisation alternative : enregistrer le script en tant que Progiciel (Application sous 10.6.x)
    Glisser-déposer l'icône d'un fichier texte sur celle de l'application lancera le traitement voulu.
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    Sous 10.6.x,
    aller dans le panneau "Général" du dialogue Préférences de l'Éditeur Applescript
    puis cocher la case "Afficher le menu des scripts dans la barre des menus".
    --=====
    Save the script as a Script: fixedwidth_values_toTSV.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    go to the Scripts Menu, choose Numbers, then choose "fixedwidth_values_toTSV"
    Choose a text file.
    The script scan the file's contents to extract the width of every column then it replace the separator groups by TAB characters.
    The result is passed to the clipboard and is written in the original file.
    So you may :
    (1) paste in the document of your choice
    (2) open the modified text file with Numbers which is fair enough to do that.
    An alternate track is to save the script as an Application Package (Application under 10.6.x)
    Drag and drop the icon of a text file on the application's one will do the job.
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox.
    Under 10.6.x,
    go to the General panel of AppleScript Editor’s Preferences dialog box
    and check the “Show Script menu in menu bar” option.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2010/08/19
    --=====
    on run
    set un_fichier to choose file with prompt "Choose e text file…" of type {"public.plain-text"} without invisibles
    my commun(un_fichier)
    end run
    --=====
    on open (sel)
    set un_fichier to item 1 of sel
    tell application "System Events" to set type_ID to type identifier of disk item ("" & un_fichier)
    if type_ID is "public.plain-text" then my commun(un_fichier as alias)
    error "The file “" & un_fichier & "” isn’t a text file !"
    end open
    --=====
    on commun(le_fichier)
    set le_contenu to read le_fichier
    set le_contenu to "azer ertyuio wxcv dfghj
    qszaed dc fghj mlkjhgf nbvcxw
    aqwzsx edcrfv tg byhn aaaaaaa "
    set listedelistes to {}
    set plusgrandelongueur to 0
    set pluspetitelongueur to 999999
    set listelignesbrutes to paragraphs of le_contenu
    repeat with refd_uneligne in listelignesbrutes
    set maybe to contents of refd_uneligne
    set maybe2 to count of maybe
    if maybe2 > plusgrandelongueur then set plusgrandelongueur to maybe2
    if maybe2 < pluspetitelongueur then set pluspetitelongueur to maybe2
    copy my decoupe(maybe, space) to end of listedelistes
    end repeat
    set differencedelongueur to plusgrandelongueur - pluspetitelongueur
    set des_espaces to space
    repeat differencedelongueur times
    set des_espaces to des_espaces & space
    end repeat
    set largeur1 to 0
    repeat with refd_uneligne in listedelistes
    set maybe to length of first item of refd_uneligne
    if maybe > largeur1 then set largeur1 to maybe
    end repeat
    set liste_finale to {}
    repeat with refd_uneligne in listelignesbrutes
    set maybe to contents of refd_uneligne
    set maybe2 to text 1 thru largeur1 of maybe
    repeat while maybe2 ends with space
    set maybe2 to text 1 thru -2 of maybe2
    end repeat
    copy maybe2 to end of liste_finale
    copy text (largeur1 + 2) thru plusgrandelongueur of (maybe & des_espaces) to contents of refd_uneligne
    end repeat
    Enter the bigger loop *)
    set cest_Lafin to false
    repeat
    Deprieve the stored rows of the treated column's items *)
    set flag to 0
    repeat
    set flag to flag + 1
    set flag2 to 0
    repeat with refd_uneligne in listelignesbrutes
    if "" & character flag of contents of refd_uneligne is space then set flag2 to flag2 + 1
    end repeat
    if flag2 < (count of listelignesbrutes) then exit repeat
    end repeat
    repeat with refd_uneligne in listelignesbrutes
    copy text flag thru -1 of contents of refd_uneligne to contents of refd_uneligne
    end repeat
    Prepare the extraction of next column *)
    repeat with refd_uneligne in listelignesbrutes
    copy my decoupe(contents of refd_uneligne, space) to end of listedelistes
    end repeat
    Extract the width of the column to treat *)
    set largeur1 to 0
    repeat with refd_uneligne in listedelistes
    set maybe to length of first item of refd_uneligne
    if maybe > largeur1 then set largeur1 to maybe
    end repeat
    Extract the column's values *)
    repeat with i from 1 to count of listelignesbrutes
    set maybe to contents of item i of listelignesbrutes
    set maybe2 to text 1 thru largeur1 of maybe
    repeat while maybe2 ends with space
    set maybe2 to text 1 thru -2 of maybe2
    end repeat
    copy (contents of item i of liste_finale) & tab & maybe2 to item i of liste_finale
    try
    copy text (largeur1 + 2) thru -1 of maybe to item i of listelignesbrutes
    on error
    set cest_Lafin to true
    end try
    end repeat -- i
    if cest_Lafin then exit repeat
    end repeat -- bigger loop
    set le_contenu to my recolle(liste_finale, return)
    set the clipboard to le_contenu
    set eof of le_fichier to 0
    write le_contenu to le_fichier
    end commun
    --=====
    on decoupe(t, d)
    local oTIDs, l
    set oTIDs to AppleScript's text item delimiters
    set AppleScript's text item delimiters to d
    set l to text items of t
    set AppleScript's text item delimiters to oTIDs
    return l
    end decoupe
    --=====
    on recolle(l, d)
    local oTIDs, t
    set oTIDs to AppleScript's text item delimiters
    set AppleScript's text item delimiters to d
    set t to l as text
    set AppleScript's text item delimiters to oTIDs
    return t
    end recolle
    --=====
    --[/SCRIPT]
    Yvan KOENIG (VALLAURIS, France) vendredi 20 août 2010 12:44:33

  • How continuously write data to a txt file

    hello, 
    first of all, sorry for bad English, but I have a problem to continuously write data to the txt file.... I have one 2D array with values of some function and based on 2 sliders (values of the sliders) i want to interpolate value using bilinear method... and after that value of the sliders, interpolated value, and value of the nearest points i wish to write to txt file ... for every 2-3 seconds perhaps it would be ideal to be formated as :: 
    x   y   f     f1   f2   f3   f4
    but... first i have problem with writing data, because every time it deletes old data and just write new one and it's not horizontal... I'm very very new at this (it is obvious) and any help will be very appreciative  
    thanks  
    Solved!
    Go to Solution.
    Attachments:
    Proba.vi ‏21 KB

    Hi there,
    May I suggest you start with the LabVIEW tutorial?  Or perhaps this one?
    I say that because 1) you said you're new at this, and these tutorials are great for getting started; and 2) you don't seem to understand the concept of dataflow.
    A structure, such as a loop or subVI or function, cannot start executing until it has all of its inputs available.  Therefore, the loop which contains your file write (bottom loop) cannot execute until your top loop is done executing, because it depends on inputs from your top loop and those inputs aren't available until the top loop is finished.  Thus, your file will contain only the data from your final top loop execution.  You might be thinking that your loops are executing in parallel.  They are not.  Your file loop is executing after your data loop has finished...that is to say, your file loop executes exactly once, after you press your stop button.
    You can do two things here to fix that:
    1.  You can move your file write into the top (data) loop. (probably easier for now)
    2.  You can use a queue to transfer the data from your top (data) loop into your bottom (file write) loop. (more complex, but a better idea in the long run)
    One other thing.  Move the "open file" function outside the loop.  Opening and closing the file in each loop iteration will cause problems.  Open the file once.  Write to it in each loop iteration.  Close it when you're done.  Like this:
    Note that this is not complete code...you need to provide the data to write.  This is just to show you how to set up a continuous file write.
    Ok, start with the tutorials and we'll go from there. 

  • How to recover corrupt passwd file for c6000+x6270?

    i met a problem.
    passwd file corrupts and nobody can login.
    hardware platform is c6000+x6270 blade, os disks have mirrorred.
    in this environment, how to recover the passwd file(we have one copy)?
    Thanks

    The procedure can differ depending which volume manager software you use, it this is the case. But basically, you should boot with an external media, like DVD or jumpstart server, mount the root partition and fix the /etc/passwd file, umount the partition and finally reboot.

Maybe you are looking for

  • IC Webclient - Changing values in Text Type -Log in view IRecReason.htm

    Hi, I m working on IRecReason.htm view, in the right hand side corner there is a place to add comments, the field is named as text types. All comments are then stored & visible in the Field named as "LOG" which is also one of the valus in the drop do

  • Which performs better for windows development, bootcamp or parallels?

    I have an imac at home and am using parallels to host a w7 vm, wherein I do some web and db development.  It is quite sluggish at times.  I think i may need to tweak the config to perhaps allocate more ram to it but i'm not sure.  I just picked up a

  • SO cancelled after creation of PO

    HI Experts I have one issue. Some one created the sale order after run  MRP purchase request get created we have converted  the purchase request to Purchase order now some one cancelled the sale order there is no requirement how to trace which user c

  • Description and keywords meta tags

    Hello, Could you tell me if it's possible to create HTML output of an ADF page, that has "description" and "keywords" meta tags in the head? Something like: <meta name="keywords" content="adf jdeveloper description keywords meta tags"> <meta name="de

  • Upload data in infotype 1520 using BADi(HRECM00_BDG0001).

    hi experts, We have a requirement wherein the  BADi (HRECM00_BDG0001- which uses DETERMINE_BUDGET_VALUES method) needs to upload initial Budget Values into the Budget Structure, through an Excel Spreadsheet input (which will contain Organization Unit