Links Pallet Content Compared To Excell List (or any list)

My epiphany last Friday prompts me to ask:
How do I get the "file names" that are in the links pallet list to compare to another list, such as in Microsoft Excell?
I make a multi-page publication in Indesign twice each month. Currently, each page is made up of various compositions of advertisements for print. The ads are snared by the "select all" , copied onto the "clipboard" and then pasted into the multipage Indesign document. I want to change all that. I want build the finished product differently by placing PDFs of the ads instead of Indesign compositions. It dawned on me if it is done that way, then all my single ads will be in the links pallet as single names. This has the potential to be compared to another list. If this can be done some way it will completely offer a whole new way to check our ads that are in the Indesign document to the list of ads that are sold by our sales representatives. Our error of highest frequency is dropping of ads and second highest error is ads placed more than once.
To verify what ads should be in the publication, the final pages that are PDF'd are checked against "the run sheet" (a comprehensive list of all the ads sold, and by whom, what size and any placement information.
The manager of the publication often wants to rearrange the ads in the publication at the last minute. Our errors occur during this process, because even though the PDFs are manually checked against the "run sheet", errors occur because the check off process currently used is not repeated after rearranging. (usually because of time constraints and/or the operator error during the check off process.
I see the potential for an automated process to check the ads in the publication at will, anytime and at any frequency to the "run sheet".
Any ideas? I'd like to capture the text in the links pallet somehow...

The script is already written. You will just need to place in the proper place.
If it does not do exactly what you need, I may be able to help.
There are easy to follow instructions on how to install here:
http://indesignsecrets.com/how-to-install-scripts-in-indesign.php

Similar Messages

  • CDESK: How to get a customized content in the document list tab

    I try to get a specific list of document info records (DIR's) in the document list tab of the CDESK - similar to the document search result.
    I use the Addin-BADI and the ~PROCESS_NEW_FUNCTIONS/~ADD_NEW_FUNCTIONS methods to start a costumer specific selection of DIR's.
    For instance I want to select all documents with contain the digits 99.
    Then I want to show the selection result as the content of the document list tab to proceed with further steps like ckeck-out and so on.
    I followed an example which I found in this forum, see thread "CDESK: Start userdefined search program and recieve DIRs".
    My coding is:
    method if_ex_cdesk_tbm_addin~process_new_functions.
        when 'ZFCODE_ARBVOR'.
          data lt_draw type table of draw.
          select * from draw into table lt_draw
            where dokar = 'TKD'
              and doknr = '99'.
          sort lt_draw stable by dokar doknr doktl dokvr ascending.
          delete adjacent duplicates from lt_draw comparing dokar doknr doktl dokvr.
          PERFORM refresh_sap_list IN PROGRAM saplcdesk TABLES lt_draw USING 'X'.
    But nothing happens with the document list when executing this customer function.
    I assume it is not possible to update the document list out of a BADI in that way.
    Does anyone has some hints?
    Kind regards,
    Matthias Fischer

    Hi Khaled,
    There is an standard RFC RFC_READ_TABLE which can read any table in R/3. But the data returned will be unformatted hence you need to parse it. This FM has few limitations aswell.
    RFC_READ_TABLE is an RFC that allows users to read a table remotely. This is important particularly to Java developers using JCO to communicate with an ABAP back-end. Unfortunately, RFC_READ_TABLE has size limitations; it also incorrectly reads binary data. Also no authorization checking takes place.
    Also refer the link below
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/portal-content/simplified queries of sap tables from java
    hope this helps..
    Regards
    Anand
    Message was edited by: Anand Torgal

  • How do I create a series of text frames using values from Excel list?

    First of all, this is the very first script I'm attempting to write from scratch. I'm completely green at scripting, and I've picked up a few snippets from Adobe's ID scripting guide, but nothing has really stuck yet relating to this particular objective.
    My supervisor keeps a master list of ad spaces, with the name of the account, how wide the space is, and how tall the space is, all in an Excel sheet. These spaces can number in the hundreds, and I am stuck manually drawing one rectangle for every space, which takes a very long time.
    I'd like to create/have help creating a script that will take these values and "automagically" draw these spaces in the form of text frames, with the width (in columns) and the height (in inches) defined by the values in the master list, as well as the name of each account appearing in the subsequent text frames.
    The script doesn't necessarily need to be able to pull the values straight from the Excel sheet; I can transfer the values to a support text file if needed, or directly into the script, changing it as I need it. A big thing (if it is not able to pull right from an Excel sheet) is that the number of spaces changes weekly, and so do the accounts, and the width and the height. Accordingly, it would be ideal if the values from the sheet could be changed easily, so as to create a new set of spaces as needed.
    Positioning for each space is not crucial, only height and width. If they all appear on top of each other on the same page, that will be a result for me. The main idea is to not have to draw them all manually, one by one.
    To me, this sounds like a tall order, but hopefully some experienced scripters out there can assist me, as I wish to become experienced as well.
    So, the TL;DR version:
    - Script needs to draw a series of text frames.
    - Text frames dimensions need to be defined by width and height values from Excel sheet.
    - Text frames must have account name as contents (from account names in Excel sheet).
    - Accounts, width and height change every week in the Excel sheet, so must be relatively easy to exchange all of the values.
    - The width values are on the Excel sheet as columns. It would be ideal if the script could convert those numbers into multiples of columns as needed.
    - (Optional) Script can pull values directly from Excel sheet.
    - (Optional) Script can define text frame fill color as gray. (If it works as I think it will, I could just select all the resulting text frames myself and set them all to gray at once... I'm not that lazy )
    Thanks in advance to whomever can assist in any possible way, even if it is just a push in the right direction. This script will save 1-2 hours of tedium every week.

    Sound like the perfect thing for InDesign Scripting.
    I would copy the Excel contents into a text file, to get a format that is easily read from InDesign, and there will automatically be a TAB for each "cell" just using copy/paste.
    Here is a piece of code, that you perhaps could go on with (adding variable to change pages and location on page, and other stuff).
    The readFileLineByLine function, can be easily re-used with any function using "callback". You simply supply the function to it, that you want to be executed for every line of text that is read:
    const COLUMN_WIDTH = 2; // Define the column width in inch
    var pageIndex;
    var textFramesExported; // not implemented.
    // Add a new dokument. Set myDoc to app.activeDocument to use
    // the current document instead of creating a new one.
    var myDoc = app.documents.add();
    // The doSomethingWithTextRow function is called upon for every line of text read.
    readFileLineByLine('c:\\test.txt', doSomethingWithTextRow);
    function doSomethingWithTextRow(row){
        // We expect the text line to be TAB separated (\t = TAB). We get that from just copying the contents of an
        // excel file into a text document.
        var cells = row.split('\t');
        var companyName = cells[0]; // The Company name in the first slot of the array
        var width = COLUMN_WIDTH * cells[1];
        var height = cells[2];
        // Create a new text frame for every row handled
        if (pageIndex==undefined) pageIndex = 0; // Count up when you have exported a number of texts, I leave this for you to do.
        var newTextFrame = myDoc.pages[pageIndex].textFrames.add();
        newTextFrame.contents = companyName;
        // The text frame is created in the top left corner.
        newTextFrame.geometricBounds = [0, 0, height + ' in', width + ' in']; // Top, Left, Bottom, Right
        // You might want to move the textframes to other positions, keeping track of how many you put out per page.
        newTextFrame.move( [10, 10] );
    function readFileLineByLine(path, callbackFn){
        var myFileIn = new File(path);
        if (File.fs == 'Windows'){
            // This was probably added to recognize UTF-8 (even without its start marker?)
            myFileIn.encoding = 'UTF-8';
        myFileIn.open('r');
        var myEncoding = myFileIn.encoding;
        try{
            if (!myFileIn.exists){
                throw('Missing file: ' + myFileIn.fsName)
            var ln = '';
            while(!myFileIn.eof){
                // Read the lines from the file, until an empty line is found [now as a remark].
                ln = myFileIn.readln()
                // if(ln !='' && ln!='\n'){
                   // Call the function supplied as argument
                   callbackFn(ln);
        }catch(e){
            alert(e);
            gCancel = true;
        finally{
            myFileIn.close();
    The file in C:\ in my example was saved as UTF-8 and looks like this (showing hidden characters):
    Message was edited by: Andreas Jansson

  • How to compare two excel reports and find the difference in BI Publisher

    Hi All,
    I have a requirement that needs to compare two excel reports in XML Publisher 5.6.2. or BI publisher 10.1.3.4
    If anybody has an idea about this pls help us.
    Thanks,

    Since our customer wants to have this comparison only with BI reports....here is the scenario how the comparison should be..
    Now,we have a parameters called Customer name and version id. Version id list will be refreshed based on the customer selection.
    User can generate the report based on the selected customer name and version id. These data are fetch from the oracle database and we are using Data Template in the BI Publisher.
    Now the requirement is customer wants to compare two version id data. for example, v1.2 and v1.3
    Now they wanna to see both the reports while generating in the same work sheet, like, v1.2report should display in the left side and the v1.3report has to display in the right hand side of the same work sheet.
    Now...If there is any addition happened in v1.3 report,then that cell/data should display as a green color in that report.
    If any deletion happened in v1.3report then that should be in the red color.
    If any modification happened in v1.3 then that should be in the yellow color.
    If there is no difference then that should display as it is.
    the thing is that, the both the reports (v1.2 and v1.3)should display side by side in the same worksheet with the format and everything........only the difference should be highlighted.
    Template is same for both the reports..
    To display the data for both versions i think i can generate the template side by side of both in the same worksheet.
    Now, My question is how to find the difference of data in the RTF Template for both the versions
    Can anybody assist me?
    Thanks,
    Edited by: user753355 on Jun 9, 2009 12:03 AM
    Edited by: user753355 on Jun 9, 2009 12:06 AM
    Edited by: user753355 on Jun 9, 2009 12:16 AM
    Edited by: user753355 on Jun 10, 2009 3:59 AM

  • How to compare two excel files in java ?

    how do i compare two excel files in java.?
    I have two excel files stored on my computer in d: drive.
    Ex:
    D:\\file a
    D:\\file b
    How to compare the contents of these two files and print " files are equal " or "files not equal "

    Javamastermahe wrote:
    I mean i want to print on the console "files are equal " or any message like " both the files match "If this is your requirement, this program satisfies it...
    import java.util.Random;
    public class SuperExcelTester {
        public static void main(String[] args) {
            Random rnd = new Random();
            String[] messages = {
                "files are equal",
                "files are not equal",
                "unexpected error"
            int index = rnd.nextInt(messages.length);
            System.out.println(messages[index]);
    }

  • Issue linking external URL's in task list

    When I link a URL to a task list, a pop-up at the bottom of the screen saying "Only secure content is displayed" with a button saying "Show all content"
    When I select "Show all content" an Internet Explorer pop-up appears asking to either "Leave this page" or "Stay on this page."
    Selecting "Stay on this page" does nothing, but selecting "Leave this page" logs me out of Planning. When I log back in, the web page appears when I click on the task list.
    When I log off and close my browser, I have to go through the same steps.
    Is there any way to have the URL task list work without having to go through those steps? Is this an IE security setting?
    Thank you in advance for any input.
    Tiffany

    What URL are you using, is that an FR or WA report? If so check this Oracle - Hyperion Labs......: Generate Smartcuts for all objects under a folder
    Regards
    Celvin

  • Create BCS External Content Type or a list based on a WCF Web Service using Visual Studio

    Hi ,
    How to create a BCS External Content Type or a list Based on a WCF Web Service using Visual Studio.
    The link provided here shows the requirement through Designer. http://msdn.microsoft.com/en-us/library/office/ee556431(v=office.14).aspx but I want this to be through VS code..
    Please help ..Appreciate your help..
    Thanks,
    Satheesh

    HI Sateeshlt,
    You can see the below link also;
    http://www.fabiangwilliams.com/2013/10/14/part-2-of-3-blog-update-on-sharepoint-bcs-with-full-crud/
    Best Regards,
    Brij K

  • I have opened artwork created by someone else. We are both using Illustrator CC. This particular issue shows up in Illustrator CS5 also. Issue: in the links pallet a weird gray gadient keeps replicating. I cannot identify it in the artwork. It is an embed

    Hello,
    I have opened artwork created by someone else. We are both using Illustrator CC. This particular issue shows up in Illustrator CS5 also. Issue: in the links pallet a weird gray gradient keeps replicating. I cannot identify it in the artwork. It is an embedded image. I cannot get rid of it and it keeps reproducing. WHAT is it and why can't I delete it?
    Thanks for any help. Ingrid

    Hello, yes it is reproducing over and over. I look in the original artwork and there are 28. I did not save over the original art but “save as”. Worked on the new file for a while and now there are 47!. I copied all the content to a new blank, all colors removed, file and there they were. If I click on them can’t relink, won’t show a bounding box, no frame in wire-frame, no stray points. they are ghosts. Here is an image, to give a better visual of how they look in links panel. Any ideas? Thanks, Ingrid

  • Lookup column reference content type insteal of list

    i need to create look up column in SharePoint 201o using XML, my problem is i need the look up column to reference certain content type on the list instead of referencing the list itself, can we do that ????
    Mohamed Abdeen

    Hi,
    According to your post, my understanding is that you wanted to create a lookup column reference content type instead of list.
    Lookup Fields obtain their values from an existing list. Each Lookup Field is being linked to its list using the list's ID. As the ID's are being generated after creating the instances there is no way to provision a Lookup Field linked to a newly created
    list during Solution deployment.
    However, we can use the Feature Receivers to achieve it.
    Feature Receivers are nothing more than custom code you can attach to events triggered by a feature. Provisioning a custom field programmatically works exactly the same as doing it using the GUI: first you need to create a Site Column and then you need
    to attach it to the Content Type of your choice.
    Waldek Mastykarz had written a good blog about the lookup field reference content type, you can have a look at it.
    http://blog.mastykarz.nl/sharepoint-programmatically-provisioning-lookup-fields/
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Powershell command to compare 2 excel tabs

    Can anyone pls point me to some example where we can compare contents of 2 excel tabs and writing the result in 3rd tab using PowerShell. 
    VT

    Hi PK2015...thanks for your reply...but thats to compare contents from 2 CSV sheets, but I was looking to compare from same excel sheet, that will have 2 or more tabs and write an output in the 3rd or 4th tab...pls let me know...I am also searching online...
    VT

  • Cannot add hub-managed content type with external list lookup columns to a list -- Error:Id field is not set on the external data field

    This is a variation on the issue mentioned in this
    post
    We are using SP 2010 Content Hub to manage our content types.  On the content hub we've created a couple of exteranl lists, and then created some site columns as lookups against these lists.  We then added the columns to one of our content types
    and set it to publish.
    After the publishing job executed, I tried adding the content type (which now appears on the subscriber sites) to one of the document libraries on one of the subscriber sites.  When I did that it threw the following error:
    Microsoft.SharePoint.WebControls.BusinessDataListConfigurationException: Id field is not set on the external data field    
    at Microsoft.SharePoint.SPBusinessDataField.CreateIdField(SPAddFieldOptions op)     
    at Microsoft.SharePoint.SPBusinessDataField.OnAdded(SPAddFieldOptions op)     
    at Microsoft.SharePoint.SPFieldCollection.AddFieldAsXmlInternal(String schemaXml, Boolean addToDefaultView, SPAddFieldOptions op, Boolean isMigration, Boolean fResetCTCol)     
    at Microsoft.SharePoint.SPContentType.ProvisionFieldOnList(SPField field, Boolean bRecurAllowed)     
    at Microsoft.SharePoint.SPContentType.ProvisionFieldsOnList()     
    at Microsoft.SharePoint.SPContentType.DeriveContentType(SPContentTypeCollection cts, SPContentType& ctNew)     
    at Microsoft.SharePoint.SPContentTypeCollection.AddContentTypeToList(SPContentType contentType)     
    at Microsoft.SharePoint.SPContentTypeCollection.AddContentType(SPContentType contentType, Boolean updateResourceFileProperty, Boolean checkName, Boolean setNextChildByte)     
    at Microsoft.SharePoint.SPContentTypeCollection.Add(SPContentType contentType)     
    at Microsoft.SharePoint.ApplicationPages.AddContentTypeToListPage.Update(Object o, EventArgs e)     
    at System.Web.UI.WebControls.Button.OnClick(EventArgs e)     
    at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     
    at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)     
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    b55297ed-717f-466d-8bdc-297b20344d3f
    I checked the external  content type configuration and it did specify an "id column".  Anyone know if what I am attempting to do is possible and if so, what special configurations are required?
    Thanks

    The issue is not External Content type or external list but the look up column.
    It's not possible to publish a look up column via the Content Type Hub.
    If you need to do this then an alternate way is to use a Managed Metadata column instead, otherwise you will have to implement this via a feature.
    Varun Malhotra
    =================
    If my post solves your problem could you mark the post as Answered or Vote As Helpful if my post has been helpful for you.

  • Sharepoint 2013 Wiki Page - Links in content rewritten to relative urls

    We have an issue where on all SharePoint 2013 wiki pages any URL to items within the site containing the wiki page are rewritten to be relative URLs. This causes a huge problem when we surface these pages and a snippet of their content through a search web
    part because the links fail being relative to the wiki page itself. To further illustrated with an example.
    A site collection root page http://www.sp2013.com/default.aspx contains a search results web part returning all wiki pages in the site collection. There is a custom display template that renders
    the linked title of the wiki page and the first 500 characters of formatted text (html) of the wiki page.
    A wiki page is created in a sub site (sub1) called wiki1 (http://www.sp2013.com/sub1/pages/wiki1.aspx) the text of the page contains:
    "Check out our new library: Document Library"
    Document Library is a hyperlink to (http://www.sp2013.com/sub1/Document%20Library/Forms/AllItems.aspx)
    Upon saving the wiki page the link is reformatted to be /Document%20Library/Forms/AllItems.aspx
    From the rollup web part at http://www.sp2013.com/default.aspx the relative url in the snippet text of the display template evaluates to
    http://www.sp2013.com/Document%20Library/Forms/AllItems.aspx which does not exist.
    I have attempted modifying the source of the wiki page as well as the link in the ribbon however upon save of the changes the link is always modified to be relative. Any assistance is appreciated as this is extremely frustrating. Thank you.

    Hi JonesEJ,
    According to your description, my understanding is that SharePoint converts a absolute URL to
     a relative URL when you save the wiki pages containing the URL.
    This is actually the preferred behavior in SharePoint and on the web in general. SharePoint saves all absolute URLs for the wiki content as relative. It only does this if the URL matches the URL for the web application for that current wiki
    site.
    There is no OOB way to change the relative URL back to the absolute URL. For your issue, you can try to use
    SPSite.MakeFullUrl() to convert it back.
    There is a similar post for your reference:
    http://sharepoint.stackexchange.com/questions/62887/absolute-urls-converted-to-relative-urls-when-saving-item
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • How to Remove contents of Recently Viewed List?

    Is there any possibility of removing the contents of recently viewed list from the action bar as well as at the home page layout?. For Example, I first have an account which is assigned to "Agent 1" and later reassigned to "Agent 2". if Agent 1 was having the account in his recently viewed list, it will not be removed even after reassignment. though he cannot view the contents of the account. But is there any possibility that Agent 1 will not see the account in his recently viewed list.
    Thanks
    Vamsi.

    I would recommend entering a SR on this issue.

  • Links Pallet Missing. Adobe Help Line baffled.

    A day killed on the Adobe Help Line and no hope in sight. The Links Pallet is AWOL and Adobe tech support can't find it.
    Originally the problem was an error when trying to export a 275 page book to idml format as something was going wrong with the minor panic of losing months worth of work. It kept crashing InDesign CS5 on Win-7 64 Pro.
    In three very long calls over the period of the day, creating new ID's, wiping out all sorts of stuff, including a reinstall of just ID, the Adobe help line finally had us permanently deregister the Suite, remove the whole suite, clean everything with a piece of code they recommended, and reinstall.  It was a clean install. Adobe Creative Suite 5 Master Collection on two DVDs, selected to install every option that had a check box - take a lunch break while it does its thing. Then updated to the latest code for InDesign (7.0.4) and Photoshop (all three check boxes) since those are the only two we generally use.  We went through all the drills such as trashing to preferences, and so on. All the ID extensions are checked as well. When all was said and done, the file still crashed the system, suggesting the problem was a corrupt file. Time to go to plan B...
    We managed to find an older version idml copy that could be updated using draft printouts, and patched our way back to sanity only to discover that none of the images were linked, and when we went to fix this using the link pallet, it was not there. No link panel, not on the /window drop down, not anywhere. We finally relinked the images by using the Package "Repair All". However, one image was RGB, and when we right clicked to edit in orginal (Photoshop), there was no such option anymore. The tech support guy at Adobe was baffled (politely).
    Somehow an awful lot of features related to images have vanished in this futile attempt to fix another problem. We are now worse off than we were this morning.
    We figure there is some sort of switch somewhere, that Adobe tech should know, but their help line seems to be staffed by people whose solution is to delete everything and start over. When that failed to work, they said they will call back, but by the time we rang them back they were closed.
    Has anyone either had this happen, or know what might be causing it? Links is an important feature, and without it, we might as well go back to CS-4...
    Hmmm, good thought, let's try it.  Just tried it before hitting Post Message, saving the file as IDML, but before it would open, the old ID-CS4 crashed with an error "Failed to open plugin resources: PARAGRAPH COMPOSER.RPLN" argh! (Don't let this one distract the question... all we want to know is how to find the Links Pallet on ID-CS5 v 7.0.4)

    lewenz wrote:
    We are writing this saga in hopes someone in management at Adobe may actually read it and make some changes to their company. While they may think they save money farming their support out to a call centre in India, they have chosen the wrong centre, or their quality control is bad. While their hourly costs may be lower than running support out of their home office, we suggest Adobe is paying more because the call centre takes so much time, and creates so many new problems. In fact, we do wonder if the reason the call centre people are so polite and constantly repeating and apologising is not cultural, but so they can keep the meter running longer. Memo to Adobe: You are being ripped off. Even if you don't care about your customers, your too-smart cost-cutters are losing you money. Better to provide high-quality tech support that knows what is wrong and finds the solution in minutes than wasting hours and days as happens now.
    It turns out that the support rep at Adobe gave us bad information and was about to propose more bad answers had we not become stroppy and demanded to speak to someone more competent. The support technician's next step was for us to:
    Load ID CS5 on another windows PC
    If the software worked on that PC either call Microsoft (yeah right) or
    Delete and reinstall Windows 7 Pro
    They did not volunteer any more than step 1, but having lost patience with their erroneous advice in the prior round, we pressed for what they would recommend next, since in fact the CS5 products had been working fine on the main desktop until they started telling us to start deleting and reinstalling things. On a complex multi-application computer, deleting and reinstalling Windows is not a simple matter, it usually results in downtime of three days and invariably important programs are reset, losing customisation that has been done over time. Our team concluded that rather than do this, if there was no other solution, we would trash CS5 and either go back to CS4 or purchase an Apple desktop solely to handle InDesign. Therefore, instead of continuing down this line of blind nonsense, we demanded to speak to someone who spoke better English, had a better phone connection and knew more than to tell us to keep damaging our systems.
    Finally, we got a call back from a more informed 1st tier support rep who goes by the nickname Sonny. For some reason the connection was far better, and we could understand every word of his much better English. It turns out that the Adobe support rep had walked us through the delete and recovery procedure and omitted a key step. This was only learned by pressing Sonny hard, until he realised the missing step. The prior rep walked us through the following support process and only told us to call back after we had begun step 5.
    Deactivate the CS5 Master Collection,
    Download and Unzip Creative Suite Cleaner Tool
    Create a new User ID with Administrator Level authority and sign on to it
    Close all programs and run the Cleaner Tool
    Reinstall CS5
    Download the updates (which is a problem when one is on a 10gb cap broadband plan)
    Of course, this did not fix the problem we had called about (manuscript kept crashing ID), but additionally the Links Pallet was completely missing as was the Edit Original right click function which made managing images in a manuscript impossible.
    When we reviewed this with Sonny, he finally identified the missing step. Before Step 4, running the Cleaner Tool, run the Microsoft Control Panel Uninstall Program to remove all the programs. Then run the cleaner tool to find files that Microsoft missed. Finally, after Step 4, add an additional step of manually looking at the files using File Manager to make sure all files were cleaned out and gone. When all this is done, go to Step 5 reboot and reinstall.
    Well the reboot took about 15 minutes as all sorts of orphan files came up, but when all was reinstalled, the InDesign functioned as it was supposed to function. The links pallet and edit orginal image was back where they belonged.
    The only thing we discovered is that when we went to email, eleven years worth of emails had vanished. We are now in correspondence with the email support team (thankfully, we use a commercial product, not a free one) to see if these can be recovered. It appears the Cleaner cleaned out more than Adobe. Oops, sorry about that. Argh!
    So what have we learned?
    The original problem appears to have been a corrupted file. Since this was a 275 page manuscript, it was not something that could easily be given up. We called Adobe hoping to figure out why the application program was crashing. This was never answered. It would crash when we ran spell check and it would crash when we tried to export it to an IDML file. This is a deficiency in the Adobe product that it allows this. Adobe never addressed this, or identified this.
    It was only when we started doing our own trouble shooting while waiting for Adobe to call back after they trashed the delete and restore application, that we realised we were being supported by ignorant technicians who appear to have little understanding of their products, very poor communications technology (it's hard to understand them due to a low quality line and in some cases a strong Indian accent), and whose "solutions" were to remove and reinstall their products. In this solution approach, the support technicians don't always get the steps right, with the outcome that the "solution" does not work.
    At this point, we realised we were in worse shape than when we made the original call. So we searched our files to find the most recent IDML backup that did work, imported it and then took pdf printouts to re-enter all the changes to the manuscript since that backup was made. We hope we located all the differences between the two drafts. This of course is a manual process and what we sought to avoid by calling Adobe in the first place, but we realised that the Adobe support was going to take more time than clerical re-work. Thus we ended up with a repaired manuscript - no thanks to Adobe, and a newly defective application program where their next "solution: was to trash the operating system.
    At no time did the technician ask the key questions to review what they might have done or not done that could have caused the problem. In other words, Adobe does not run a technical support line, but a trash and rebuild line. They waste hours of their own call centre time, not to mention the client time, creating further problems, call centre hours that we presume Adobe must pay for.
    That we must listen very carefully to what the technician says back, since over 50% of the time, they do not understand. When the record is read back, it is wrong (they wrote down that ID crashed on opening... never true).
    That it is not impolite to ask them to stop wasting time with very long apologies as the opening of every sentence.
    That it is essential that you have the customer identity information in the right order, so they do not spend 10 minutes verifying who you are.
    That it is not impolite to tell them to stop filling the air with nonsense and either answer the questions or get someone who can.
    That it is not inappropriate to threaten to document the call and file a formal complaint with Adobe.
    So for anyone who uses Adobe Help:
    Demand someone who can speak clear English on a clear phone connection. Write down their name and location so they can be tracked.
    Write down every step they propose and ask what is the next step if it fails to achieve the desired outcome.
    Demand that each step be written down in their documentation as well.
    Demand to know every custom file such as preferences and language dictionaries and their location. Make copies outside of Adobe so the cleaner file does not delete them. A folder on the desktop is the safest.
    When it becomes clear the technician does not have a clue what they are doing, demand to speak to their boss.
    Document every step here on this forum, so when they ask how they did, refer them to the public record.
    Thanks to Peter Spier and Jongware for their attempts at solutions. Turned out it was a corrupt file that would have been a disaster had we not made backups and a defective Adobe technical support system that threated to trash our whole operation.
    Bravo for persisting, insisting, asserting, relying on your own intelligence as you realized you were being not only ill-served, but wrongly-served and unforgivably-destructively-served. Sorry to hear how your own civility kept you from acting protectively sooner.
    I agree about escalating cases to the highest-level support manager ASAP as you discover incompetent support. I've written about this in a few posts that you can find with this Google search link: InDesign knowhow pro escalate support. I usually offer "I don't mean to be rude, but if you're not expert with this issue..." or I substitute "...aren't able to read the case notes and have expertise," and similar phrases, THEN I PRESS FOR ESCALATION, EVEN IF I NEED TO BE RUDE TO GET IT.
    However, with the increasing complexity of the stuff we use, and, as in your example, it takes a few days to rebuild a system, don't be lulled by the concurrent increased confidence you get from smarter hardware and software. I suggest cloning working systems for backups in disasters like you're reporting. Don't overwrite stored clone backups with unproven current systems that may have unbeknownst to you just gone bad. Consider virtual software like VMware Fusion or Parallels, even if you're committed to Windows; you can install one or more virtual Windows systems on a real Windows system, make snapshots and revert to them if needed. I think these are more robust than Windows Restore Points, because snapshots track everything done on the virtual drive, whereas restore points only undo the Registry, IIRC, so corrupted user files remain corrupt, lost files remain lost.
    IOW, practice safe computing.
    I heard of a business professional who sued his doctor for time lost when he was kept waiting for an extremely long period with no explanation, offer to reschedule, etc. (IOW, he got "airline treatment.") Whether he collected isn't the point so much as the recognition of the concept, and the corresponding smart pro-customer-service steps taken across many industries and companies. Whether defensive or pro-active, better customer service is better for everyone in chain of relationships.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • How can i compare two excel files with different no. of records.

    Hi
    I am on to a small project that involves us to compare two excel files. i am able to do it but am struck up at a point. When i compare 2 different .csv files with different no. of lines i am only able to compare upto a point till when the number of lines is same in both the files.
    Eg. if source file has 8 lines and target file has 12 lines. The difference is displayed only till 8 lines and the remaining 4 lines in source lines are not shown.
    Can you help me in displaying those extra 4 lines in source file. I am attaching my code snippet below..
    while (((strLine = br.readLine()) != null) && ((strLine1 = br1.readLine())) != null)
                     String delims = "[;,\t,,,|]";
                    String[] tokens = strLine.split(delims);
                    String[] tokens1 = strLine1.split(delims);
                   if (tokens.length > tokens1.length)
                    for (int i = 0; i < tokens.length; i++) {
                        try {
                            if (!tokens.equals(tokens1[i])) {
    System.out.println(tokens[i] + "<----->" + tokens1[i]);
    out.write(sno + " \t" + lineNo1 + " \t\t" + tokens[i] + "\t\t\t\t" + tokens1[i]);
    out.println();
    sno++;
    } catch (Exception exception)
    out.write(sno + " \t" + lineNo1 + " \t\t" + tokens[i] + "\t\t\t\t" + "");
    out.println();
    Thanks & Regards                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    A CSV file is not an Excel file.
    But apart from that your logic makes no sense.
    If the 2 files are of different sizes the files are different by definition, so further comparison isn't needed, you're done.
    If you want to compare individual records, you need to compare all records from one file with all records from the other, unless the order of records is important in which case your current system might work.
    That system however is overly complicated for comparing CSV files.
    As you assume a single record per line, and if one can assume those records to have identical layout (so no leading or trailing whitespace in or between columns in one file that's not in the other) comparing records is simply a matter of comparing the entire lines.

Maybe you are looking for