Adding text to a text file problem

I have used an Apple script to create a text file and I am having problems with it
First the script creates a file containing text, as a example "ABCDE" then I enter test to the file, say "12345" and the file now has "ABCDE12345". At this point I run my Apple Script to add more data to the file, in this case "FGHIJ".
The problem I am having is the file does not contain "ABCDE12345FGHIJ" as I expect, but instead has "ABCDEFGHIJ" because the EOF was not updated when I added "12345".
I typed the additional text into the text window and saved it to the disk and even closed the window, quit TextEdit and reloaded the file but the results were "ABCDEFGHIJ" and not "ABCDE12345FGHIJ"

At this point I think you should get Applejack...
http://www.versiontracker.com/dyn/moreinfo/macosx/19596
http://www.macupdate.com/info.php/id/15667
After installing, Reboot holding down CMD+s, (+s), then when the DOS like prompt shows, type in...
applejack AUTO
Then let it do all 5 of it's things.
The 6 things it does are...
Correct any Disk problems.
Repair Permissions.
Clear out Cache Files.
Repair/check several plist files.
Dump the VM files for a fresh start.
Delete old Log files.

Similar Messages

  • Added a check to Text to sequence file result in Test Stand hang up.

    I added the check in text to sequence file translator.vi (the file is attached)
    With this addition I generated the dll.
    Test Stand load the sequence file without any problem for the first time.
    If I add a space to the sequence file and save the file; test stand tries to load the new sequence file saying file has changed do you want to load the new sequence...
    But fails to load the sequence (Test Stand hangs up)
    The only way to overcome is kill the TestStand thru task manager.
    Which displays
    "You chose to end the nonresponsive program, SeqEdit.exe"
    Attached the displayed error (error.doc)
    Attachments:
    Changed code.vi ‏55 KB
    Error1.doc ‏45 KB

    Hi Vidula,
    Is it only when you add a space to the file name that you see this behavior? If, for instance, you add a '1' to the beginging of the file name does the same thing happen?
    Adam
    National Instruments
    Applications Engineer

  • Indesign CS3-JS - Problem in reading text from a text file

    Can anyone help me...
    I have an problem with reading text from an txt file. By "readln" methot I can read only the first line of the text, is there any method to read the consecutive lines from the text file.
    Currently I am using Indesign CS3 with Java Script (for PC).
    My Java Script is as follows........
    var myNewLinksFile = myFindFile("/Links/NewLinks.txt")
    var myNewLinks = File(myNewLinksFile);
    var a = myNewLinks.open("r", undefined, undefined);
    myLine = myNewLinks.readln();
    alert(myLine);
    function myFindFile(myFilePath){
    var myScriptFile = myGetScriptPath();
    var myScriptFile = File(myScriptFile);
    var myScriptFolder = myScriptFile.path;
    myFilePath = myScriptFolder + myFilePath;
    if(File(myFilePath).exists == false){
    //Display a dialog.
    myFilePath = File.openDialog("Choose the file containing your find/change list");
    return myFilePath;
    function myGetScriptPath(){
    try{
    myFile = app.activeScript;
    catch(myError){
    myFile = myError.fileName;
    return myFile;
    Thanks,
    Bharath Raja G

    Hi Bharath Raja G,
    If you want to use readln, you'll have to iterate. I don't see a for loop in your example, so you're not iterating. To see how it works, take a closer look at FindChangeByList.jsx--you'll see that that script iterates to read the text file line by line (until it reaches the end of the file).
    Thanks,
    Ole

  • IDML file problems - text disappears & unselectable when found

    Hi,
    My first question here.
    I use Adobe CS5.5 and I need to export .indd files into the .idml format so they are readable by my translation software.
    I exported my file to idml, but when I open this file, I get a "unable to set bounding box message", and all the text has disappeared from the text boxes. When I toggle the text box (make it bigger), I find the text, but I am unable to select it. Saving the idml file as indd doesn't make any difference.
    My translation software actually reads the idml and my translated text is there when I re-export it, but still not visible on normal view, and still not selectable (so I can't cut and paste it back into my original indd file).
    I have tried various "unlock" suggestions found on other forums, but nothing is working. I have installed all the CS5.5 updates... I am wondering if there is a problem with my original file.
    Any help most appreciated, I've been grappling with this all morning.
    Melissa
    Message was edited by: mel_mcm69 PS I'm on a Mac Version 10.6.8

    Ok, this problem is half-solved, and there's a few leads.
    It turns out the text is selectable, it just doesn't show it has been selected (no blocking shows), and this was also also the case I realise with the original .indd file. This resolves the situation for my practical purposes, as I can copy and paste my (translated) text from the idml file back into the original .indd file.
    Still don't know why the text disappeared from the boxes in the first place, or the relationship to the "bounding box", but it seems likely the whole thing is derived from issues with the original file.
    Thanks to those who had a look anyway! Hope there's something here that can help someone else.

  • I am facing problem regarding graphical user interface. I am using text box for editing files. I want to show the line numbers and graphical breakpoint​s along with text box. Can anybody help me in this? Thanks.

    I am facing problem regarding graphical user interface. I am using text box for editing files. I want to show the line numbers and graphical breakpoints along with text box. Can anybody help me in this? Thanks.

    Thanks for you reply.
    But actually I don't want to show the \ (backslashes) to the user in my text box. 
    Ok let me elaborate this problem little more. 
    I want to show my text box as it is in normal editors e.g. In Matlab editor. There is a text box and on left side the gray bar shows the line numbers corresponding to the text. Further more i want that the user should be able to click on any line number to mark specific line as breakpoint (red circle or any graphical indication for mark). 
    Regards,
    Waqas Ahmad

  • UCM 11.1.1.4 : indexation : Text conversion of the file failed

    Hello,
    I'm facing an indexation issue with MS Office files, pdf, ...
    For instance :
    Text conversion of the file '/opt/oracle/middlewarehome/ucm/cs/weblayout/groups/public/documents/document/mdaw/mdaw/~edisp/virtuoz2dev000342.doc' failed.
    Content has been indexed with Info only. Resubmit should only be performed if the problem has been resolved.
    This a new installation of UCM 11.1.1.4 with Oracle DB 10.2.0.5.2 and WLS 10.3.4, all on a SUSE10 server.
    This issue is very similar to this one :
    Re: XML Not Indexing???
    But in my case, xml and txt files have no problem.
    thanks for your help,
    Vince

    Hi Srinath,
    Thanks for your reply. I checked the certification matrix and the certified version of DB with UCM 11g are :
    Oracle 10.2.0.4+
    Oracle 11.1.0.7+
    Oracle 11.2.0.1+
    It doesn't include 10.2.0.5 ??
    I managed to trace the server output.
    It seems there is a missing file : search.cfg
    also, what is the meaning of the "mdaw" directories ?
    thanks for your help,
    system/6 04.08 09:40:47.648 IdcServer-5934 Configuring tracing verbose: true; sections: indexer
    (internal)/5 04.08 09:40:47.652 IdcServer-5934 !csTraceChangedSectionsList,indexer!csTraceIsVerbose
    indexer/7 04.08 09:41:11.454 index update work /opt/oracle/middlewarehome/ucm/cs/search/search.cfg doesn't exist.
    indexer/7 04.08 09:41:11.455 index update work isRebuild?false; IndexerStep:Init; Class:intradoc.indexer.Indexer
    indexer/7 04.08 09:41:11.455 index update work isRebuild?false; IndexerStep:CheckCollection; Class:intradoc.indexer.IndexerCollectionManager
    indexer/7 04.08 09:41:11.456 index update work isRebuild?false; IndexerStep:BuildChanges; Class:entoracle.indexer.EOIndexerBuildChanges
    indexer/7 04.08 09:41:11.468 index update work Saving 1 update changes
    indexer/7 04.08 09:41:11.469 index update work isRebuild?false; IndexerStep:PreIndexingStep; Action:preIndexingStep
    indexer/7 04.08 09:41:11.469 index update work isRebuild?false; IndexerStep:CheckForWork; Class:intradoc.indexer.Indexer
    indexer/7 04.08 09:41:11.469 index update work Found work:Additions; Type:+; Change count: 1
    indexer/7 04.08 09:41:11.469 index update work isRebuild?false; IndexerStep:IndexAdditions; Class:intradoc.indexer.CommonIndexerBulkLoader
    indexer/7 04.08 09:41:11.470 index update work IndexerBulkLoader doing 'IndexAdditions' with m_change '+'; total count: 1; max count: 10000
    indexer/7 04.08 09:41:11.470 index update work WebChange retrieved. RevClassID:342; dID:364; Indexer State: ; ReleaseState:U
    indexer/7 04.08 09:41:11.477 index update work webFormat is application/msword
    indexer/6 04.08 09:41:11.477 index update work computeIndexableFileAttributes(); item:virtuoz2dev000342,formatType:webviewable,renditionCount:-1,format:application/msword,isAllowMap:true,isVault:false
    indexer/7 04.08 09:41:11.477 index update work Direct indexing allowed: false
    indexer/7 04.08 09:41:11.477 index update work Conversion allowed: true
    indexer/7 04.08 09:41:11.479 index update work Conversion handler for format 'application/msword' is 'TextIndexerFilter'
    indexer/6 04.08 09:41:11.479 index update work Added new item for indexing consideration. [format:application/msword, formatType:webviewable, filePath:/opt/oracle/middlewarehome/ucm/cs/weblayout/groups/public/documents/document/mdaw/mdaw/~edisp/virtuoz2dev000342.doc, fileSize:21504, url:/cs/groups/public/documents/document/mdaw/mdaw/~edisp/virtuoz2dev000342.doc,allowDirectIndex:false, allowConversion:true, conversionHandler:TextIndexerFilter, useMap:false, mapExtension:null
    indexer/7 04.08 09:41:11.480 index update work indexWebFile: true m_retryIndexing: false m_isFirstRetry: true
    indexer/6 04.08 09:41:11.494 index update work preparing 1 items
    indexer/6 04.08 09:41:11.549 index update work doing conversion with intradoc.indexer.TextConversionHandler@484f1ee on intradoc.indexer.IndexerInfo@47ef07e dID:364 key:null mdo:false iwf:true sta:-1 alone:true
    indexer/7 04.08 09:41:11.550 index update work InputFilePath is: </opt/oracle/middlewarehome/ucm/cs/weblayout/groups/public/documents/document/mdaw/mdaw/~edisp/virtuoz2dev000342.doc>
    indexer/7 04.08 09:41:11.550 index update work OutputFilePath is: </opt/oracle/middlewarehome/ucm/cs/search/IdcColl1/bulkload/~export/virtuoz2dev000342.txt> >indexer/7 04.08 09:41:11.550 index update work Sending document to conversion >(internal)/7 04.08 09:41:11.623 TextExport Abandon inattendu par le processus 'TextExport'. >indexer/6 04.08 09:41:11.624 index update work prepareDoc complete >indexer/7 04.08 09:41:12.001 index update work setting change on '364' to 'I' >indexer/7 04.08 09:41:12.005 index update work after handling indexing results: hasError: false m_retryIndexing: false m_isFirstRetry: true metaOnlyCount: 0 aSize: 1 >indexer/7 04.08 09:41:12.006 index update work isRebuild?false; IndexerStep:CheckForWork;  Class:intradoc.indexer.Indexer >indexer/7 04.08 09:41:12.006 index update work isRebuild?false; IndexerStep:DetermineSubscription;  Class:intradoc.indexer.DetermineSubscription >indexer/7 04.08 09:41:12.007 index update work isRebuild?false; IndexerStep:Replication;  Class:intradoc.server.IndexerReplication >indexer/7 04.08 09:41:12.008 index update work isRebuild?false; IndexerStep:PostIndexingStep;  Action:postIndexingStep >indexer/7 04.08 09:41:12.008 index update work isRebuild?false; IndexerStep:Cleanup;  Class:intradoc.indexer.Indexer >indexer/7 04.08 09:41:12.013 index update work cleanup for dID 364 change is I origChange is + newIndexerState is  >indexer/7 04.08 09:41:12.022 index update work isRebuild?false; IndexerStep:ContentRefresh;  Action:postDatabaseStep >indexer/7 04.08 09:41:12.024 index update work isRebuild?false; IndexerStep:Init;  Class:intradoc.indexer.Indexer >indexer/7 04.08 09:41:12.024 index update work isRebuild?false; IndexerStep:CheckCollection;  Class:intradoc.indexer.IndexerCollectionManager >indexer/7 04.08 09:41:12.024 index update work isRebuild?false; IndexerStep:BuildChanges;  Class:entoracle.indexer.EOIndexerBuildChanges >indexer/7 04.08 09:42:23.609 index update work /opt/oracle/middlewarehome/ucm/cs/search/search.cfg doesn't exist. >indexer/7 04.08 09:42:23.609 index update work isRebuild?false; IndexerStep:Init;  Class:intradoc.indexer.Indexer >indexer/7 04.08 09:42:23.609 index update work isRebuild?false; IndexerStep:CheckCollection;  Class:intradoc.indexer.IndexerCollectionManager >indexer/7 04.08 09:42:23.610 index update work isRebuild?false; IndexerStep:BuildChanges;  Class:entoracle.indexer.EOIndexerBuildChanges >indexer/7 04.08 09:42:23.613 index update work isRebuild?false; IndexerStep:Replication;  Class:intradoc.server.IndexerReplication >indexer/7 04.08 09:42:23.613 index update work isRebuild?false; IndexerStep:PostIndexingStep;  Action:postIndexingStep >indexer/7 04.08 09:42:23.613 index update work isRebuild?false; IndexerStep:Cleanup;  Class:intradoc.indexer.Indexer >indexer/7 04.08 09:42:23.617 index update work isRebuild?false; IndexerStep:ContentRefresh;  Action:postDatabaseStep >indexer/7 04.08 09:42:23.618 index update work isRebuild?false; IndexerStep:Init;  Class:intradoc.indexer.Indexer >indexer/7 04.08 09:42:23.618 index update work isRebuild?false; IndexerStep:CheckCollection;  Class:intradoc.indexer.IndexerCollectionManager >indexer/7 04.08 09:42:23.619 index update work isRebuild?false; IndexerStep:BuildChanges;  Class:entoracle.indexer.EOIndexerBuildChanges                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Adding hyperlinks to CP4 text

    Can anyone help with advise on how to add a hyperlink to text
    in Captivate 4. The hyperlinks from PowerPoint seem, to work, but I
    can't see a way to add a hyperlink in the text field to an external
    website.

    Hi
    Ok I was trying to record it, not working
    Make sure that you've copied or saved the pdf files are in the web site folder first
    1 insert text,
    2 with this text, create a fake link, blue and underline
    3 click on Click box in the tools box
    4 resize the click box over the fake link, I only keep the hint Type hint here (I deleted the 2 others) and I type Click on the link, in French Cliquez sur le lien
    5 click box is still selected, then in the left menu select Action tab
    6 In drop-down menu On success select Open url or file
    7 Click to browse, click on file or type the url
    8 Click on the drop down menu (arrow), click and select New so that way it will opens in a New browser window.
    When you export in swf
    You will have, at the end of the exportation, to copy paste manually the files in the web folder where is the swf file.
    Now we have a new problem. I didn't have this problem with all the projects published, but it happened once. Also, once on the server, the link would not open for that reason, see this blog. Still working on it. 
    http://sorcererstone.wordpress.com/2009/06/19/when-captivate-links-don t/
    sophie
    Date: Mon, 6 Sep 2010 19:21:40 -0600
    From: [email protected]
    To: [email protected]
    Subject: Adding hyperlinks to CP4 text
    Can someone provide me to the steps of adding hyperlinks
    to CP4?
    >

  • Text formatting in oam file disappears

    Hi,
    Here is the problem : I have an edge animate file with some text which supports letter-spacing and line-height. If i try this file directly from edge animate, no problem in the navigator (tested with Firefox). But when I export it as OAM file, import it in Muse, then publish.. all the settings (letter spacing and line-height) disappeared. (may be also with word-spacing and some other css settings, I haven't tried yet)
    I made a test with a very simple new Edge file and a new Muse file with only the oam file imported. The result is the same : no more settings for css like letter-spacing or line-height. You can try on your own.
    This happens since the last update of Edge and Muse. It worked well before.
    Hope this bug will be fixed very soon 'cause I was almost ready to publish my site.. but now it's unpublishable.
    Niko

    This bug has been reported already. It happens only after publishing to any format(web, oam).
    Line-height and text shadow properties have the problem. Rest all work as usual.
    You can use the below code as workaround for time being in the composition ready event handler for each text element. Add for text shadow also if you are using that proerty too.
              sym.$("Text").css({"line-height":"40px"});

  • Using browser javascript to copy selected text from a pdf file opened in Air app.

    I have posted this question on reader forum as well, but I think it is more suited here...
    I am trying to create a note-taking application in air. I want to extract selected text from pdf file as a string object or to the clipboard.
    Obviously, all pdfs in my local storage will not be scripted to recieve postMessages and act accordingly, and that is not practical either. So, my problem is, how can I copy the selected text in the pdf file (opened as an object in htmlloader within my Air app) to clipboard or directly in another control by say clicking a button in air application? I suppose, this is possible using javascript, however, I don't know which reader methods are exposed to the wrapper htmlloader control. In short, I want to execute app.execMenuItem("Copy") command through htmlloader javascript. Any alternate solutions are also welcome.
    This is similar to passing inbuilt commands/methods/functions (of adobe reader) to pdf-reader plugin embedded in a webpage via javascript. This is possible in IE where the pdf is rendered as activex object, and hence JSObject interface of pdf document/reader is accessible to the browser javascript. I have also read that this same JSObject is accessible to VB as interface for IAC, so as the Air is Adobe's own product, I was wondering if equivalent of JSObject is accessible to htmlloader control as well.
    Thanks in advance...
    Mits

    Thank you Thom for your reply...
    from
    http://www.adobe.com/devnet/acrobat/javascript.html
    ...Through JavaScript extensions, the viewer application and its plug-ins expose much of their functionality to document authors, form designers, and plug-in developers...
    As it is explicitly mentioned, that the functionality of adobe reader are exposed for plugin development, I thought someone here might have used external javascript to execute some safe methods in adobe reader. The functionality (i.e. external javascript interface-JSObject) is already available for VB programmers to develop IAC. Further, the Acrobat SDK example called "AcroPDFinHML" shows how one can embed a pdf-reader in a html page and execute some safe methods (like gotonextpage(), zooming etc.) in IE as ActiveX plugin. I have checked it myself for adobe reader 9, and it works perfectly, so there is no security issue as such to implement the same for another browser (like in my case, the htmlloader control in flex/air app).
    I intend to create a note taking application in air, where it is very much required that I should be able to copy selected text from various pdf documents, that are open in my app, and subsequently paste/collect/save the collected notes and process them afterwords (offcourse, from the pdfs that allow me copying text). However, it is not happening for me here. As the pdfs are opened through adobe reader plugin, it does not register the copy command executed by my air app. It registers the system level copy command (by keyboard shortcut Ctrl+C), but my air app has no way to execute the system level copy command programmatically. So I am kind of stuck here...
    Thanks again for your reply. Having known what am I intend to accomplish, any other (may be alternative) solutions will be appreciated nonetheless...
    Mits

  • [JS] CrossReference using Text Anchor of another file

    Hello I would like to make a document indesign resume all anchor text for different documents in a book.
    Anchors nome example is "26/90", I have posted their names with their contents separated by a TAB.
    Ink to create a text, I use the command ". HyperlinkTextDestinations.add (erg [i], {name: erg [i]. Contents}"
    but I do not know how to cross reference this anchor.
    Thank you for the info
    Traduction
    Bonjour je voudrais faire un document indesign reprennent tous les ancre de texte de diffèrent documents d'un livre.
    Les Ancres se nome exemple "26/90", je dois affiché leurs noms avec leurs contenus séparé par une TAB.
    Pour crée une encre de texte, j'utilise la commande ".hyperlinkTextDestinations.add(erg[i],{name: erg[i].contents}"
    mais je ne sais pas comment mettre une référence croisé sur cette ancre.
    Merci pour ces info
    Here's a first code:
    var myBookFilePath = File.openDialog("Choose an InDesign Book File", "Indb files: *.indb");
    var myOpenBook = app.open(myBookFilePath);
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.neverInteract;
    // Open up every file in the currently active Book
    app.open(app.activeBook.bookContents.everyItem().fullName)
    app.findGrepPreferences = NothingEnum.nothing;
    app.changeGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences.findWhat = "25/78";
    for (i= 0 ; i < app.documents.length; i++) {
        var myDoc = app.documents[i];
        var myFound = [];
        myFound = myDoc.findGrep();
        $.writeln("Found " + myFound.length + " Main headings.");
        for (var b = 0; b < myFound.length; b++)   {
            myDoc.hyperlinkTextDestinations.add(myFound[b], { name: myFound[b].contents + "_"+i + "_" +b});
               //myDoc.hyperlinkTextDestinations[x].name;
            $.writeln(myDoc.hyperlinkTextDestinations[b].name);
        $.writeln("There are now " + myDoc.hyperlinkTextDestinations.count() + " destinations.");
    anchors and I get the following non "25/78_1_0, 25/78_2_0, 25/78_2_1 and 25/78_2_2 "
    I do not parvien creates cross reference the anchor text in another Master File (app.documents [i]) Book .... examples I found did not help me.

    Hi,
    I advance the principle function but I have a problem with the line 51, and my knowledge of code is not very good.
    Here is the error message: The selected object is being used by another Hyperlink.
    Thank you for help can
    translation
    Bonsoir,
    J'avance, le principe fonction mais j'ai un problème à la line 51, et ma connaissance des code n'est pas très bonne.
    Voici le message d'erreur : L'Objet sélectionné est utilisé par un autre Hyperlien.
    Merci pour un peux d'aide
    #target indesign
            Ouverture du livre et des fichiers pour les encre
    // Variable globales p
    var leFichier01 = "106_TVA_OK3.indd";
    var leFichier02 = "107 TVA ok1.indd";
    var leFichier03 = "108 TVA ok1.indd";
    var leFichier04 = "113 TVA chrono.indd";
    var lesFichiers01 = [leFichier01,leFichier02,leFichier03];
    main();
    function main(){
        if(app.documents.length != 0){
            if(app.selection.length != 0 && app.selection[0].constructor.name == 'Table'){
                    var nomTableau = app.selection[0];
                        dirTVA_2012_deux(nomTableau);
                        exit();           
            else{
                        alert("Selection un tableau");
                        exit();
        else{
            alert("Ouvrait un document et Mettre son cuseur dans le points de départ");
            exit();
    function dirTVA_2012_deux(leTableau_Chono){
                        app.findGrepPreferences = NothingEnum.nothing;
                        app.changeGrepPreferences = NothingEnum.nothing;
                         with (leTableau_Chono.columns[2]) {
                             for (var tab = 0; tab < cells.length; tab++) { // sue toutes la colonnes
                             //for (var tab = 0; tab < 9; tab++) { // sur 10 cell pour le test
                            // faire une boucle par documents
                                if (cells[tab].contents != null) {
                                            app.findGrepPreferences.findWhat = cells[tab].contents; // remplacer le 1 par le conteur de colonnes "tab" conteur de cell
                                    for (var conteurFich = 0; conteurFich < lesFichiers01.length; conteurFich++){
                                             var leResultat = [];
                                            leResultat = app.documents.itemByName(lesFichiers01[conteurFich]).findGrep();
                                        // pas de IF le test est dans la boucle for!!
                                                  for (var b = 0; b < leResultat.length; b++)   {
                                                        var s = leTableau_Chono.columns[3].cells[tab].insertionPoints.firstItem(); // MON Problème est làà!!!!!!
                                                        var cr_destination = app.documents.itemByName(lesFichiers01[conteurFich]).hyperlinkTextDestinations.add(leResu ltat[b], { name: leResultat[b].contents + "_"+  conteurFich + "_" +b});
                                                        var cr_format = app.documents.itemByName(leFichier04).crossReferenceFormats.itemByName('Philou007'); 
                                                        var cr_source = app.documents.itemByName(leFichier04).crossReferenceSources.add({sourceText:s, appliedFormat: cr_format} );
                                                         var cr = app.documents.itemByName(leFichier04).hyperlinks.add ( cr_source, cr_destination);       
                                                } // fin du For su r "leResultat"
                                      } // fin du FOR sur les fichier "lesFichiers01"
                                } // fin du If test cell vide
                            } // fin du For sur les cell
         }// fin du with tableau   
    }// fin de la function

  • Why cannot I copy selected text from a pdf file opened in Adobe Reader XI?

    Hi all,
    I had a problem when I tried to copy some selected text on a pdf file([Linux.System.Programming(2nd,2013.5)].Robert.Love.文字版.pdf) , which was opened in Adobe Reader XI as below (non-English version):
    The error's text could be primarily translated as "An error occured when copied to clipboard. Internal Error." I'm not sure about the reason of this. I guess it is a problem or bug related to operating system or Adobe Reader XI. I had this problem when I used other versions of Adobe Reader though I cannot remember the exact number of versions now.
    The version of XI I'm using is 11.0.0.  The operating system is XP SP3.
    As I was writing this question, the problem disappeared and I cannot reproduce it again now.
    Could anyone help explain why the error message appearred or why the problem disappearred? If there is referrence provided, that would be finer. Thank you.
    Message was edited by: photonxp

    The document has been protected.
    Even if it doesn't have a password, the original author has applied "plagiarism" prevention to it.
    There is a program from Wondershare, called PDF Password remover, that will remove such restrictions, but I'm not allowed to recommend it, only to point out it's existence.

  • Embedding Full-text Index into PDF File

    Hello Everyone,
    I've tried to create and embed full-text index into PDF file, but with no luck. I've followed steps described at http://help.adobe.com/en_US/Acrobat/9.0/Standard/WSC28D4DBB-6A78-4027-9E04-F50FE411CFB9.w. html - there can be seen progress of collecting of data and at the end the button Update index is enabled. This is signal for me that Index was created. After clicking on Ok button, saving document as new one and then reopening "new created" document, there is info that no Index is embedded in the Manage Embedded Index dialog. Is there any other step necessary to do? Or is it bug? Adobe Acrobat Pro 9.1 on Windows Vista 32bit is used.
    Jan
    PS: Interesting is also comment at the bottom of above mentioned help page...

    Thanks for the response. It is true that if I make changes and look at the embedded index status, it shows that it needs updating
    However the problem I can't get around after extensive testing is that sometimes for no apparent reason the index is dropped on save. This can happen if I check the status of the index to make sure it is valid, save the file, and reopen it.
    I've concluded that this must be a bug and am using other indexing options for the time being.

  • Help with delivering dynamic text through an external file, through XML?

    I'm struggling to find the best way to deliver dynamic text
    from an external file, through XML, to a Flash file.
    I use small Flash pieces to deliver multiple sets of content
    through a single .swf file. An example is here:
    http://www.esi-intl.com/public/government/federal.asp
    In the .swf file at the bottom, I'm using a three-scene .fla
    file. I'm putting the actionScript in the Actions layer atop each
    frame. Example:
    stop ();
    loadVarsText = new LoadVars();
    loadVarsText.load("fedNews.txt");
    //assign a function which fires when the data is loaded:
    loadVarsText.onLoad = function(success) {
    if (success) {
    trace("done loading");
    //Now that we know the data is loaded,
    //set the text content of the Text Field
    //with the instance name "scroller" equal to the
    //contents of the variable
    scroller.html=true;
    scroller.htmlText = this.var1;
    } else {
    trace("not loaded");
    In that .txt file, I'm putting the information like this:
    var1=<font face="tahoma,verdana,sans-serif" size="11px"
    color="#000000"><b><a href='
    http://www.esi-intl.com/public/classroomtraining/dau.asp'>DAU
    Grants ESI Course CON353
    Equivalency</a></b><br>Advanced Business Solution
    in Contracting (CON 353) is an equivalency for DAU's CON 3535
    course, Advanced Business Solutions for Mission Support. <a
    href='
    http://www.esi-intl.com/public/classroomtraining/dau.asp'><U><font
    color="#996633">Continue</font></U></a></font>
    So much of this is pick-ups from what I've researched in
    Google. I'm looking for a way I can feel more confident in my code,
    and also have that code follow CSS.
    Lastly, I recognize the problems in XML with using single
    quotes / double quotes, and the & symbol. This is one of my
    largest time sucks, and I'd like to find a better way to do this.
    Thank you

    Hi,
    Did you ever find a resolution to this? I'm having a similar
    issue that I can't seem to get multiline dynamic text working in
    CS3.
    The font is embedded but it just displays the first line, and
    then a blank. I'm sure this worked fine in Flash MX.
    Cheers, Ant

  • How load text into dynamic text boxes from external file?

    hi all,
    my animation is very simple - a background image and 2 text boxes.  one of the textboxes shows a large word, which crossfades to another word, with a total of about 12 words (showing one at a time in different text boxes fading in & out in the same spot).
    i need a way to have the text be imported dynamically via xml or json (xml preferred).  this article is a good start, but i noticed he's putting all of the text into one box - i need separate strings put into separate boxes from the xml.
    Chris Gannon - Loading XML via AJAX into Adobe Edge
    he uses
    var outputField = $(this.lookupSelector(“xmlOutput”));
    for his text box.  what would be the best way to revise this code to include all my individual strings to be loaded into my individual text boxes?  thinking an array might work, but my js skills are limited.
    any other suggestions or tutorials you could point me to would be appreciated.
    thanks!!

    thanks joel_pau !
    this is helpful in seeing how the array is created, but after giving it a go I became a little confused.
    i wound up trying it again based on the example i linked out to previously, but it's not adding the text from my xml file when previewing.
    here's the code i'm using in edge animate on my stage.  something must be wrong somewhere.  let me know if you have any suggestions on this.
    // insert code to be run when the composition is fully loaded here
    // here i'm assigning a variable to each one of my textboxes at they're named in my edge animate comp
    var outputField1 = $(this.lookupSelector("helps2"));
    var outputField2 = $(this.lookupSelector("communicate"));
    var outputField3 = $(this.lookupSelector("experience"));
    var outputField4 = $(this.lookupSelector("interact"));
    var outputField5 = $(this.lookupSelector("understand"));
    var outputField6 = $(this.lookupSelector("overcome"));
    var outputField7 = $(this.lookupSelector("flourish"));
    var outputField8 = $(this.lookupSelector("collab"));
    var outputField9 = $(this.lookupSelector("trust"));
    var outputField10 = $(this.lookupSelector("grow"));
    var outputField11 = $(this.lookupSelector("engage"));
    var outputField12 = $(this.lookupSelector("survive"));
    var outputField13 = $(this.lookupSelector("thrive"));
    var outputField14 = $(this.lookupSelector("evolve"));
    var outputField15 = $(this.lookupSelector("connect"));
    var outputField16 = $(this.lookupSelector("achieve"));
    $.ajax({   
        type: "GET",
        url: "myxmlfile.xml",
        dataType: "xml",
        success: function(xml) {
    //here i'm trying to load the the text in my xml file into my textboxes in edge animate.  'txt1, txt2, txt3' are the tags in my xml file
            outputField1 = $(xml).find('txt1').text();
            outputField2 = $(xml).find('txt2').text();
            outputField3 = $(xml).find('txt3').text();
            outputField4 = $(xml).find('txt4').text();
            outputField5 = $(xml).find('txt5').text();
            outputField6 = $(xml).find('txt6').text();
            outputField7 = $(xml).find('txt7').text();
            outputField8 = $(xml).find('txt8').text();
            outputField9 = $(xml).find('txt9').text();
            outputField10 = $(xml).find('txt10').text();
            outputField11 = $(xml).find('txt11').text();
            outputField12 = $(xml).find('txt12').text();
            outputField13 = $(xml).find('txt13').text();
            outputField14 = $(xml).find('txt14').text();
            outputField15 = $(xml).find('txt15').text();
            outputField16 = $(xml).find('txt16').text();
    but nothing happens on preview.  my textboxes still contain the original text that lives in my comp.

  • Text Inset in Container File Loses Conditional Tag

    Hi,
    (Framemaker 8.0p277,unstructured)
    I have a number of books that make use of text inset and conditional text.  Some text insets contain conditional text in their source. Then, after the inset is put into the container file, the inset may be further conditionalized. This illustrates the situation:
    --- Text Inset ---
    This inset was created for end users.
    When using function X, blah blah blah
    -----End Inset----
    The red text indicates an InternalDocComment condition. This inset is then placed into the container file where it has another condition applied, PrintOnly for example. PrintOnly is in blue.
    The writer is able to set all this up fine. After placing the inset into the container, she selects the inset and applies PrintOnly.  The text inset appears in blue and the InternalDocComment as visible shows the maroon of two mixed colors. The writer saves the file, continues working on the files, then later in the week, the writer opens the container file. The blue color indicator is gone from the inset. When the writer selects the inset and chooses Apply Conditional Text, the Conditional Text dialog shows the current selection is Conditional (radio button) but no tags appear in the In portion of the dialog.
    I've tried using spacer paragraphs in and around the text inset to see if we can get the conditional tag to "stick" but nothing is working.
    Has anyone run into this before?
    TIA,
    Mary

    I use a lot of conditional text and insets but within a structured document. I have noticed that FrameMaker does not always do what one thinks it does. For example, copy a piece of unconditional text and paste it in the middle of conditional text and the pasted text remains unconditional. Each time you open the document, FrameMaker updates the text insets. In your case, it is updating a text inset that is on the whole unconditional. So, my guess is that it bringing it in as unconditional, much like the copy and paste example above. You might test this by creating a small document with the inset and over conditioning, saving it in the mif format, opening the mif file, and looking at how the conditioning is applied. Then save the Frame file, open it, save as mif, and repeat the above. If the containing file conditions DO hold up, then try removing the conditioning within the containing file and reapplying it; this may help to clear out some bad conditioning.
    I vaguely recall trying to conditionalize a text inset within the containing document and had problems. I cannot remember what exactly the problems were. My solution was to do the conditioning within the inset file itself. So, if the text inset is always to be conditionalized in the containing document, then do the conditioning within the document itself.

Maybe you are looking for

  • How can I restore the oil resistant oileophobic_coating on my iPad 3?

    Now that my iPad 3 is a few years old the coating on the screen seems to be wearing off I have used nothing but an ultra fine microfiber cloth (the black one that came with my 3GS iPhone )  but an area about 2 inches in diameter has developed that in

  • Inbound IDOC error while processing Invoice

    Hi All, I received the following error while processing an Invoice on an inbound IDOC: <b>Field BSEG-MEINS - does not exist in the screen SAPMF05A 0300</b> Message no. 00349 <b>Diagnosis</b> The specified field does not exist on the screen <b>Procedu

  • Import image in table

    dear friends i have a table having primary key and i have a file containing image (JPG) files and are named same as primary kay have please guide me how to add one image in a file and how to add complete folder in the database against the primary key

  • ITunes library deleted - how do I get it back?

    Recently, I was adding new music to my library when my computer froze and shut down on me. When the computer turned back on and I went to finish adding my new music (from cd's) to my library, I found that my library was empty. I plugged in my iPod an

  • Unix command to find version of Informatica, Cognos and DataStage on SUN 5.

    How do I find the version of Informatica, Cognos and DataStage using a unix command on my Unix machine SunOS 5.8. I don't want to use front end to find this information.