Please Help...!!  Is this to possible add data to write excel via java script

Team:
Is this possible to write data to Excel using javascript.
I have created ScriptUI Dialog window. but i can't able to store datas in Excel.
I can add data column wise in excel( using writeln comment) but I can't able add data to Row wise.
Please anyone help me to solve this problem...
Thanks in Advance.
-yajiv
Source Window :
and the outputs wants......
save the excel name to the Batch ID..

Hi Everyone!
I can add data column wise in excel( using writeln comment) but I can't able add data to Row wise.
Please anyone help me to solve this problem...
Thanks in Advance...
-yajiv....
Code :
var myDoc = app.activeDocument;
var myAllLinks = myDoc.allGraphics;
var myLink=new Array()
var mySeen = Object;
    var myLogFile = new File("~/Desktop/Link Files.xls");
    myLogFile.open("w", undefined, undefined)
    myLogFile.writeln("Link Name");
      for ( i = 1; i < myAllLinks.length; i++ )
            var myLinkName = myAllLinks[i].itemLink.name;
            var l=myLinkName.length;
           var T=myLinkName.substring(l-4);
            if (T==".tif"){
                myLogFile.writeln(myAllLinks[i].itemLink.name);

Similar Messages

  • Pls Help me with steps to add data from xml file to SAP B1 through B1iSN.

    Pls Help me with steps to add data from xml file to SAP B1 through B1iSN. I  am getting stuck in xsl transformation. not able to understand where the mapping code needs to be added.
    Pls explain me the steps for adding data from xml to B1 quotation step by step.
    thanks and regards
    Priya

    Hi,
    Have you checked this: https://sap.na.pgiconnect.com/p45508295/?launcher=false&fcsContent=true&pbMode=normal ?
    Thanks,
    Gordon

  • HT4436 I both have iCloud accounts and would like to share photo's etc. Can any one please advise if this is possible and how to do it?

    My wife and I both have iCloud accounts and would like to share photo's etc. Can any one please advise if this is possible and how to do it?      
    I have a Macbook-pro and Ipad, my wife has a much loved ipad.

    It's all described in iCloud Help here: http://help.apple.com/icloud/#mmc0cd7e99

  • Search criteria is not working in Responsible Group field in sap crm could you please help me this how to achieve.

    search criteria is not working in Responsible Group field in sap crm could you please help me this how to achieve.I have writen code on EH_ONSEARCH .as per below...what changess i need to do..and through partner function and adding the selection params please send the sample .
    code. partner funtction - ZRG DATA :
    DATA : lv_partner_fct type .
    types: begin of ty_resp,
           partner    type but000-partner,
           name_last  type but000-name_last,
           name_first type but000-name_first,
           mc_name1   type but000-mc_name1,
           mc_name2   type but000-mc_name2,
           end of ty_resp.
    DATA: lv_resp_bp type STANDARD TABLE OF ty_resp INITIAL SIZE 0,
           lw_resp_bp type ty_resp.
    IF lv_attr_name = 'Rgroup'.
    lr_entity->get_property_as_value( EXPORTING iv_attr_name = if_crm_srqm_uiu_const=>gc_attr_low
                                       IMPORTING ev_result = lv_low ).
    IF lv_low IS INITIAL.
    SELECT partner
           name_last
           name_first
           mc_name1
          mc_name2
    FROM but000 INTO table lv_resp_bp
    WHERE mc_name2 = lv_low and bu_group = '0010'.
    loop at lv_resp_bp into lw_resp_bp.
        lv_low = lw_resp_bp-mc_name2.
      lr_query_service2->add_selection_param( iv_attr_name = 'Rgroup'
                                                iv_sign = lv_sign
                                                iv_option = lv_option
                                                iv_low = lv_low
                                                iv_high = lv_high ).
      ENDLOOP.
    if lv_partner_fct = 'ZRG'.
      lr_entity = lr_iterator->get_next( ).
    CONTINUE.
    ENDIF.
    lv_attr_name = 'BU_PARTNER'.
    ENDIF.

    <b>You can acheive   this .... first by creating the search help exit    ... by  creating the maintaince  view   then   using it in the   Creation of the search help </b> ...
    see the link for attaching the view   to the serach help .
    <a href="http://">http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_elementary.htm</a>
    reward  points if it is usefull...
    Girish

  • HT201302 please help.. i lost all the data in my ipad after upgrade to ios 702 i want my 3500 pictures back.. please help.. because my i tune also dont have the data

    please help.. i lost all the data in my ipad after upgrade to ios 702 i want my 3500 pictures back.. please help.. because my i tune also dont have the data. please anybody help me...

    Only possible if you have made an iTune or iCloud backup before the update.

  • How to download a .txt file correctly. Please help as soon as possible!

    Hi everybody,
    I need to implement download that prompts the user to save a txt file.
    If I use "attachment" in response.setHeader, my IE 5.50 crashes after downloading 4 to 6 files consecutively.
    I tried to change the response.setHeader to "inline" and the response.setContentType to "application/zip" or "application/UNKNOWN", and although it works in IE 5.50, my IE 5.00 never prompts asking to save the file, it always opend the file into the browser window, and I need a prompt.
    I saw many questions related with this problem in this forum, but none that answered accurately to this problem.
    Please help as soon as possible, I dont have much time to do this.
    Thank you very much.

    Thank you gypsy617 for your reply, but it still does not work!
    I made all the changes to
    1)res.setContentType("application/x-download");
    2)res.setHeader("Content-Disposition", "attachment; filename=" + filename);
    3)OutputStream out = res.getOutputStream();
    4)returnFile(filename, out);
    5) and i sent the file content as bytes
    But the real problem is regarding the "attachment" option !!!
    In my application, in the same page, there are a lot of links that users can download, each one a link that calls a action. It works well for the first downloaded file, for the second, ..., and then, when we try to download the file number 4 or 5, IE says that there is a problem and it must close (and it asks us to send a report - something like "Exception Information Code:0xc0000005 Flags:0x00000000 Record:0x0000000000000000 Address:0x0000000077a7710a").
    I know that the problem is the "attachment" because if I choose "inline", IE never crashes. But i really need a Save As dialog, the txt files cannot be openned into the browser window, so i cant use inline.
    Any idea?
    Thank you.

  • Hi Rstor work for the iPhone 5 remains 4 hours Standby Please please help as soon as possible and thank you

    Hi Rstor work for the iPhone 5 remains 4 hours Standby Please please help as soon as possible and thank you

    These are user-to-user forums, you are not talking to Apple here - I've asked the hosts to remove your phone number from your post.
    You can contact iTunes support via email via this page and ask them why the message is appearing : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • When trying to verify the email address, I get the following message. Please help. This email address is already in use or you may already have an Apple ID associated with this email address. Please try again or sign in using your existing Apple ID.

    When trying to verify the email address, I get the following message. Please help. This email address is already in use or you may already have an Apple ID associated with this email address. Please try again or sign in using your existing Apple ID.

    Me too. I try to verify and i get the same message.
    I've created 3 alternate e-mail addresses and tried creating new accounts.
    Same Result!
    This is bullsh!t. How the **** can all 4 of my attempts result in the same freakin error???

  • I just bought a new iPhone and accidentally backed it up with my old iPhone backup, I do not want this. I lost everything on my new phone and I need it back. PLEASE HELP! This includes pictures and texts, etc.

    I just bought a new iPhone and accidentally backed it up with my old iPhone backup, I do not want this. I lost everything on my new phone and I need it back. PLEASE HELP! This includes pictures and texts, etc.

    So just to be clear, when you say "just bought" how long ago was that? Is it on this new iPhone that you had pictures, texts, etc that you want? Were you backing up to iCloud or onto iTunes?
    This may not help for everything but if you go to iCloud.com and log in, are you able to find your pictures there?

  • HT201270 i have just updated my old 3GS and now when i am on restore the window is comming up and asking for a password. i have not set up a password for restore, please help how i can restore my date???

    i have just updated my old 3GS and now when i am on restore the window is comming up and asking for a password. i have not set up a password for restore, please help how i can restore my date???

    capriz wrote:
    i have just updated my old 3GS ...
    To what... iOS 7 is Not supported on the 3 GS

  • Every time I sync my Iphone 5c(with ios 8) to Itunes, it 1. deletes all of my purchased music 2. deletes all of my album artwork 3. replaces all of my deleted songs. please help! this is driving me crazy!

    Every time I sync my Iphone 5c(with ios 8) to Itunes, it 1. deletes all of my purchased music 2. deletes all of my album artwork 3. replaces all of my deleted songs. please help! this is driving me crazy! It syncs 100+ songs, when I only want to sync 1! I'm running Itunes 11.3.1.2

    After having experienced similar problems and having it back to work, I have a few suggestions:
    - Try to find out if the syncing stops at a particular track or song. That might - out of the blue - have gotten corrupted in one way or another. Since that song will not be on the iPod, iTunes will try over and over to put it on and crash in one way or another;
    - reformat the iPod as described in the iTunes 9 crash-thread. It takes time (at first it seems to do nothing, but that is because the green bar is moving with very small steps);
    HTH

  • Please Help on this

    Hi Experts,
        I have schema which has to be implemented in SAP BI 7.0.Schema contains one Fact Table & three Dimension tables.It is snowflake schema.
    Assume Fact table as F & Dimension  tables as D1,D2,D3.The Schema is as follows.
    F---->D1--->D2---->D3
    Now i have created navigation attribute from D1 to D2 & D2 to D3 Then i have created a infocube having  facts & D1 attribute.
    So when i drag the infoObject from D1 having navigation attributes to D2 & from D2 to D3 iam unable to get D3 information.
    Please can any one suggest me how to get D3 level of information in report Or how to accesss the facts & D3 level information .
    Please Help on this
    Thanks & Regards
    Sameer Khan

    Hi Sameer,
    Your question is not clear.
    Regards,
    Sagar

  • I was trying to set Adobe Reader 11 as default PDF viewer on my client PCs, Please help me this. My server is windows 2012 R2 and client PCs are Windows 8.1

    I was trying to set Adobe Reader 11 as default PDF viewer on my client PCs, Please help me this. My server is windows 2012 R2 and client PCs are Windows 8.1

    Hi Krisis,
    I have found a forum where similar query was answered. Hope this helps.
    http://www.loginvsi.com/forum/support-v4/857-adobe-reader-xi-not-set-as-default-pdf-viewer -in-server-2012-r2-rds
    Regards,
    Anoop

  • Here is the message I got from the red "i" message... please help.The backup disk image "/Volumes/Data/Lisa's MacBook Pro.sparsebundle" is already in use.

    Here is the message I got from the red "i" message... please help.The backup disk image “/Volumes/Data/Lisa’s MacBook Pro.sparsebundle” is already in use.

    http://pondini.org/TM/C12.html

  • HT5312 i forgot my secret question, please help me this problem. Thanks

    I forgot my secret question, please help me this problem. Thanks

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact
    And/or see the  More Like This  section on the right.

Maybe you are looking for

  • Please Wait While Windows Configures OVIMPlatform

    Hello and happy New Year to everyone. My problem as you read in the subject is common. Can someone tell me exactly what to do to remove this thing? I cannot install/uninstall anything. Attachments: Problem.jpg ‏266 KB

  • Webutil client_host problem executing pkzip pkunzip commands

    Hi, I configured webutil with Developer 10g (9.0.4). I used webutil_106.zip and jacob_18.zip. The execution of this statements (example) are successfully: CLIENT_HOST('notepad'); CLIENT_HOST('tnsping db'); However, when I issue this ones (in order to

  • Image Ultra Builder 4.0: "An error occurred while connecting to server: Check the server"

    Ladies & gentlemen  I am using evaluation version of ImageUltra Builder 4.0 for Windows XP. Both server and console have been installed on the same machine. When I try to add a new repository, then after pressing the final "Finish" button I get the m

  • Interrelated Listbox

    Hello , I have two dropdowns on my selection screen value selected by user in first drop down will determine the content of list second dropdown. Can you please help how to implement this ....... thank you Moderator Message: Please search before post

  • How to create a new folder in the existing role

    hi, i need to save the workbook trial balance under the folder trail balance currently the workbook is under BW Reporting folder ,but for that i need to create a Trial Balance folder and move the trial balance workbook to that particular folder could