Convert ase swatches to excel

Is there a way to convert an exported .ase swatches file to an excel or txt file so I can have the swatches listed in a table form like for example:
mycolour1 C=10, M=5, Y=25, K=0
I've tried renaming .ase to .txt but that gives just a text file full of foreign characters.

OK, here is final script
try{
    if(app.documents.length > 0){
        Object.prototype.enumName = function(enumId){for ( var p in this )if ( this[p] == enumId ) return(p);return(FALSE);}
        myRound = function(myNumber, roundDec){var roundMulit = Math.pow(10,roundDec);return Math.round(myNumber*roundMulit)/roundMulit;}
        var docColors = app.activeDocument.swatches;
        var myCSV = Array(["Color Name", "Color Space", "Color Value"]);
        var colorName, colorSpace, colorValue;
        for(var i = 0; i < docColors.length; i++){
            try{colorName = docColors[i].name;}catch(_){colorName = "N/A";}
            try{colorSpace = ColorSpace.enumName(docColors[i].space);}catch(_){colorSpace = "N/A";}
            try{colorValue = docColors[i].colorValue;
                for(var c = 0; c < colorValue.length; c++)
                    colorValue[c] = myRound(colorValue[c], 0);}catch(_){colorValue = "N/A"; continue;}
            myCSV.push([colorName, colorSpace, colorValue]);
        if(app.activeDocument.saved){
            var theData = File(app.activeDocument.filePath + "/"
                + app.activeDocument.name.match(/.+(?=\.)/)
                + " [Document Colors].csv");
            theData.open ('w', 'Text');
            theData.encoding = 'UTF-8';
            theData.write (myCSV.join("\r"));
            theData.close ();
}catch(_){alert("Something went wrong! :-)");}
And if it's working, give it 10 points
tomaxxi
http://indisnip.wordpress.com/

Similar Messages

  • How can i convert oracle report in excel format using 8i

    hi,
    I want to convert oracle report in excel format using 6i reports. please give the solution with emp table.
    millons of thanks in advance.

    You'll have to use the destype DELIMITEDDATA to render your Report in CSV format. Then set the mime type to Excel. I don't know the exact syntax, so please do a search in metalink for "reports excel" for examples and more info.
    Regards,
    Martin Malmstrom

  • How can I convert word labels to excel

    I have just purchased this Adobe ID program and paid for a years subscription.
    Can someone tell me how I can take Microsoft word 2010 labels already saved on my flash drive and convert them to an excel spreadsheet with headers such as:
    Name                             Address                 City                 State            Zip Code
    I have been attempting to do this for the last 8 hours today, and still can't get it right.
    Help???

    HI melodymorganclockwork,
    What Adobe program did you purchase? If you have a Word file that you want to convert to Excel, I don't think it's necessary to make Adobe part of the equation.
    But I found this document that might help: http://smallbusiness.chron.com/convert-mailing-labels-columns-excel-40828.html
    Best,
    Sara

  • I just purchased Adobe Acrobat in order to convert a pdf to an excel program but it appears that it will only convert to Word, not excel? Am I doing something wrong or should I cancel my subscription?

    I just purchased Adobe Acrobat in order to convert a pdf to an excel program but it appears that it will only convert to Word, not excel? Am I doing something wrong or should I cancel my subscription?

    What happens when you convert to excel?

  • How to convert alv list into excel file?

    Hi Experts,
            i have created one report for Due Date Analysis.
    Now My output is displaying in ALV list. But I need to convert the data which in alv list into Excel File. then only i have to send the Excel File to the Customer Thro Email.
         So i need the Function Module to Convert the Data into Excel File.
    Thanks,
    Neptune.M

    Hi,
      U can use function module gui_download.
      CALL FUNCTION 'GUI_DOWNLOAD'
         EXPORTING
        BIN_FILESIZE       =
          filename           = 'C:\Transportaionlane.XLS'
          filetype                       = 'DAT'
        WRITE_FIELD_SEPARATOR           = ' '
        HEADER                          = '00'
        TABLES
          ata_tab                       = t_trans_lane_dis[]
           OTHERS                          = 22
    if u want with header then pass the header.
    regards
    Ahasan

  • How do I upload a file into my acrobat cloud?  I am needing to do this in order to convert the pdf to excel.

    How do I upload a file into my acrobat cloud?  I am needing to do this in order to convert the pdf to excel.

    Hi wesm34245063,
    Here's a quick tutorial on using the ExportPDF online service to convert PDF files to Excel: Getting Started with ExportPDF | Adobe Community.
    I think that you'll find it's pretty easy, but if you do run into questions/issues, please let us know.
    Best,
    Sara

  • Is there a maximum size limit to convert from pdf to excel?

    I have a pdf file that is 28,000 KB or 2661 pdf pages and of course it is timing out when I try to convert.  Any advice on how to convert this file to Excel?
    Thanks,
    Michelle

    Hi michelle gonzles,
    Was it working fine in Mozilla Firefox?
    Were you able to checked with a different browser as suggested above?
    Would you send your PDF document to [email protected] as an email attachment? 
    I will check it from my end.Please add the link to this forum post for reference.
    Regards,
    Florence

  • How to convert  XML file to excel file

    To convert XML file to excel file. what are the jar files required. also tutorial to convert XML File to excel file

    Gotta use your own imagination.
    I'd have a root tag <excel-spreadsheet>. Under that I'd have a <worksheet> tag for each worksheet. Under that I'd have a <row> tag for each row. Each <row> tag would have <column> tags, with "name" attribute, and the spreadsheet entry as the value.
    The problem is that you can't really map everything that will go into a spreadsheet into this stream (e.g., graphs, stray cells, etc.) It maps well to tables, but that's it.

  • Converting a PDF to Excel

    I just paid for a subscription so I could convert PDF files to Excel. The first file I tried to convert (an Excel file that was converted to PDF) came out a jumbled mess. Help!

    Hi cldrnkr67,
    Does the excel file contain images?
    Are you facing the issue with other excel files as well?
    Regards,
    Rave

  • Is there a size limit to the document? I have been  trying to convert a pdf to excel without success

    Is there a size limit to the document? I have been  trying to convert a pdf to excel without success

    Is there a size limit to the document? I have been  trying to convert a pdf to excel without success

  • I can not convert my pdf to excell, i paid the fee but it keeps telling me to join

    I can not convert my pdf to excell, I paid the fee but it keeps telling me to join

    Hi,
    I could not find your Adobe ID(under your current email address) in our database for our service so please make sure to use correct Adobe ID you used for your subscription.
    Thank you.
    Hisami

  • When I convert my file to excel it cuts off the first two columns, is there a way to fix that??

    When I convert my file to excel it cuts off the first two columns, is there a way to fix that??

    Hey Diann,
    Please let me know whether you are using Adobe Reader or signed up at "https://cloud.acrobat.com/"
    If you are using Adobe Reader, then try converting the file online and vice-versa.
    Let me know.
    Regards,
    Anubha

  • When converting multiple word and excel docs to a combined PDF random pages have blue background in the finalized PDF.

    I have a user using Acrobat 10. It was installed two weeks ago and initially had no problems. Today she reported that when she tries to convert multiple word and excel docs by selecting them, and right clicking on them to select convert/combine to PDF, random pages in the finished PDF have a blue background. I did some searching online and can find no information about this problem. Can anyone here shed some light on this issue and maybe point me in the direction of a solution? Any help is appreciated. Thanks!

    Hi Gilad,
    So, something I didn't consider was that this could be a setting in the office docs. The reason I didn't consider this was be cause we tested multiple docs and had similar results each time. I went back and looked into this possibility and found a setting in word that was causing this issue. Although the word doc showed no page color when opened in word, if I went to "Page Layout" -> "Page Color", a shade of blue was selected. By selecting "No Color", and then converting/combining the docs to PDF we got the desired result. Thanks again for your reply!

  • How do I maintain column formatting when converting from PDF to Excel?

    How do I maintain column formatting when converting from PDF to Excel? All info is no longer on the lines or in the columns they started out being in? Any help would be appreciated.

    Sara,
    Perhaps I am expecting too much from Adobe ExportPDF. The reason I subscribed to this service, for which I pay a yearly fee, was that I need a way to  convert scanned and digital documents to Word &/or Excel. I read the link you included but to be candid the more I tried to understand what was written the more confused I got. The process should not be this difficult. Currently I am using a NEAT scanner to create PDF documents of whatever I scan. After I changed the OCR setting on Adobe ExportPDF the output was much better but not to the point it was usable as it was. Information that appears to be lines and columns are sometimes not recognizing two columns and just putting them together in one. Obviously not usable. The other thing it does is bunch numbers that appear in a column that are just a bunch of numbers that I have no way of fixing. 
    Please let me speak to someone who can help me. Right now I not getting anything of value in my paid subscription.

  • How to convert Oracle reports into excel?

    How can we convert Oracle reports into excel.
    i know there was a thread on this topic which i am not able to find.
    give the link / help.

    I found Std Oracle Report output to Excel Sheet has some suggestions. Not being a Reports person anymore I am not in a position to vouch for them.
    How did I find this thread? By not using the forum search tool but using Google instead.
    Cheers, APC

Maybe you are looking for

  • Error During Leaving Action.

    hi Gurus, While doing leaving action for an UK employee, the system throws following error. " The object currency of CTR CARK/3000250306 is USD and not GBP". please guide me what to do.

  • Getting a License Error while installing UFT 12.01 trial version

    Hi,        I am trying to install UFT 12.01 trial version but its throwing a License error.  I am clicking on "Install License" and selecting "Seat License"  and clicking on "Next"  It says "License Type set successfully". But next time when i click

  • Soap response Error when processing XML CF.

    Hello, I have problems with soap response and wondered if you could give some advice. Every time I send my message via soap I get the following error: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/H

  • Implementing X509 installed in web server for service deployed in weblogic

    I need some advise on what I am doing is the right way of implementing one way x509 certificate. 1.JWS file is created using wsdlc ant task and deployed in weblogic 10.3.0 with no security policy annotations. 2.Installed Verisign certificate in Sun O

  • Running custom packages within BPC 5.1

    Hi, Current Enviroment: BPC Ver: 5.1 SQL Server: SQL 2005 I have used earlier versions of BPC 5.1 which used SQL 2000 as a back end and was able to utlise functionailty within the EVMODIFYSCRIPT object to perform certian SQL based tasks such as creat