JS scripted needed to add custom text plus filename to file info in document title

Would greatly appreciate any help with this one...
JS script to add custom text plus filename to file info in document title
many thanks

Super :O)
I have a folder of say 50 images and I want to run a JS script batch
example in the document title :  image Nr 81205
custom text is "image Nr" +  file name "81205"
activeDocument.info.title =" image Nr" + decodeURI(activeDocument.name);
would this be correct without seening the file ext
many thanks

Similar Messages

  • How to add custom text in template page - OIM 11g R1

    Does anyone let me know how add custom text in one of the 'Request Templates' page - OIM 11G R1.  My requirement is to add custom static text in 'Role' selection page.
    - Kalyan.

    Does anyone let me know how add custom text in one of the 'Request Templates' page - OIM 11G R1.  My requirement is to add custom static text in 'Role' selection page.
    - Kalyan.

  • HT3775 what soft ware do i need to add to play a MOD.mpg file on my macbook pro???

    i am trying to play a video and the message says it (quicktime) cant support this file and i more need to add on?
    thx!

    either file is broken or you need a codec. Alternatively you may go to an App Store and look for a player that supports multiple video formats i.e. by typing player to the App Store's search field you should get quite a few results.

  • Spaces PS3 - Need to add custom code on  logout  from spaces or content

    Hello
    I Need examples or samples on how to add custom code to delete specific cookies on the IE or FF browser when the end user logs out from /webcenter and|or /cs pages
    I've been told to add a custom template with a modified logout button - but I can't find any example on how to do that. (add template and button plus specific code)
    Regards

    In template level you can do it.
    If you use template1.jspx for your custom template,then add clientlistener to logout link or in custom button (you created ).
    Add javascript code in your webcenter applicatoin (spaces ) . For references of javascript you can use the following links.
    1.http://www.perlscriptsjavascripts.com/js/cookies.html
    2.http://www.mindfiresolutions.com/How-to-delete-cookies-programmatically-using-Javascript-269.php .
    In webcontent folder (generally you will found it as public_html folder) , place the javascript file.
    In this way , you will resolve your problem.

  • Need to add custom button (xml) in VA05

    I need to add a custom button (xml) to report output layout of VA05. Even the corrsponding functionality needs to be written for this button. Without changing the SAP standard code using Access keys, is there any other functionality in which we can add the button and write the code.
    Please send me detail steps in this regard.

    Hi Ramesh,
    As i knoew in case of va05 there is no badi or exit available to achieve this functionality.There is a provision to add some fields in report out put.I hope this is possible through a custom one.
    Regards,
    Madhu

  • How to add custom texts in Office Templates   for  the COBRA form set up

    Hi,
    How to insert custom texts in the copied BDS form from COBRA set up. I could not edit the text. I can edit the contact numbers in the standard text and displaying after saving the document.
    I do not know how to proceed for this.
    Please share your valuable experience in this regard.
    Thank you,
    Ravi.

    Structure Ptk03 ,Ptk33 needs to be enhanced

  • How to add custom text on ISA B2B Order

    Hi,
    On Order page of ISA B2B I have created a custom text field  "Shipping Attention".When I try to add this text in the header like
    header.addExtensionData("Z123","Value") in Z_BasketRefreshAction which extends MaintainBasketDispatcherAction, it is not reflecting in the "Shipping Attn"(created in the text tab in CRM)  field in CRM system.
    The flow:
    /b2b/maintainbasket --> Z_BasketRefreshAction --> /b2b/basketrefresh --> MaintainBasketRefreshAction --> b2b/updatedocumentview
    Please let me know if I missing something...
    Thanks in Advance.
    Regards,
    Muthu

    Hello,
    You have covered the first two layers of the request - response cycle cake - the View (JSP) and the Control (Java) layers. The icing is done in the backend BAdI and using the right function module. I am assuming the CRM backend.
    A typical request-response in the application goes like this. I will give example for the header extensions.
    Added the custom variable in the HTML layer (JSP page)
    Traversed through the Dispatcher, Parser and get the input value from the JSP page variable and added it to the Business Object (Header) using addExtensionData.
    The java application layer actually makes an "Update Header" call during the update cycle - like when you click that "Update" button.
    In the SAP E-Commerce design, during this "update" cycles, the application flows through specific BAdI call sequence. It calls what I call the Header BAdI CRM_ISA_BASKET_HEAD when the header information is updated. You have to extend this BAdI and implement at least two methods.
    It has two methods - which are called during this request - response cycle. First method CHANGEHEAD_SET_DATA is called during the request cycle - that is from ISA to CRM (when update is clicked). This is where your extension data has to be transferred from the Java layer to the backend layer (model). You will essentially read from the table IT_EXTENSION and call SAVE_TEXT function module. Since your requirement is to update text, this is the FM to be called. Many other cases use the FM mentioned by Mike. This is where the data from the web layer is persisted in the backend model.
    And the other method GETHEAD_GET_DATA is called during the response cycle. In this method, you will essentially read from the model - in your case READ_TEXT and set it back in the extension layer CT_EXTENSION
    The update header call from the Java layer will now receive the data back from the model and will automagically transfer the values from the backend (ABAP layer) back to the Java layer to be accessible by you in the JSP using getExtensionData call.
    What you have to do are the steps .5 and 6 in order to complete the request-response cycle.
    Easwar Ram
    http://www.parxlns.com

  • Want to add Custom text after Product Branding Image for application

    Hi
    Can we add any text after Product Branding Image for application
    By default it will show the responsibility function name
    My requirement is after company logo I want to add Text at the top of application
    with center align
    Need suggestions
    Regards
    Krishna

    Hi Anoop
    If I done what u suggested then the function responsibilty name will also come
    and the application will be disturbed
    Is their a way to edit the text at the top
    Regards
    Krishna

  • PR Workflow need to add custom URL

    Hi
    I need to add a custom URL in the Purchase Requisition work flow mailer notifications.
    Please let me know you suggestions on this.
    Regards
    Yram

    Hi Ramesh,
    As i knoew in case of va05 there is no badi or exit available to achieve this functionality.There is a provision to add some fields in report out put.I hope this is possible through a custom one.
    Regards,
    Madhu

  • Need to add custom fields in Report RM06EN00 ( Tcode ME2N ) in the Output

    Hi,
            MY requirement is i need to add 10 custom fields in the standard program RM06EN00  whos tcode is ME2N.
    i have appended the fields in the EKKO table and they r now available in the dynamic selection screen of the report RM06EN00.
    But i need to display this fields in the output and these fields should also be available in the change layout of the ALV report which is displayed when u click on the change button after pointing the cursor on the PO number.
    I am looking out for any enhacement though which this requirement can be met. however my second option is to copy the standard report to a z program and modify it.  but i think it will not going to be east and it may take a lot of time..
    Need both advice and answers for this soon.
    Thanks in advance.
    Best Regards,
    Fardeen

    If you have want to add fields in Field catalog from se11 Add fields in this structure MEREP_OUTTAB_PURCHDOC using append structure and activate and execute ME2N with BEST_ALV IN SCOPE LIST U WILL find in change layout.

  • Need to add customer fields in CRM_DNO_MONITOR

    Hi Experts ,
    Using EEWB i created few customer fields in CRMD_ORDER.
    Now same fields i am adding in CRM_DNO_MONITOR.
    I enhanced standard program "CRM_DNO_SERVICE_MONITOR" for CRM_DNO_MONITOR.
    Added new selection screen for customer fields. Now i can see these fields in CRM_DNO_MONITOR. Now i want to implement search criteria for the same.
    Can you please help me where to add this search criteria?
    Thanks in advance ,
    Vijay

    Hi,
    While adding this field through EEWB, did you try to make this field "search & result" relevent? If you specify it search and result relevant it would directly be availble in the respective search and result views.
    In this scenario framework will take care of adjusting the logic of search/result for custom fields added through EEWB/AET.
    Hope this helps.
    Cheers,
    Sumit Mittal

  • Need to add new Text Field on the Screen

    Hi,
    I am using Oracle 9 Designer and generating the web pages using web pl/sql language. After I generate the page, my screen looks like this:
    Employee id: TextField
    Employee Name: TextField
    I want to add a comment"(Please enter characters Only" below the Employee ID like the following:
    Employee id : TextField
    (Please enter characters Only)
    Employee Name: TextField
    Can anybody help me how to add this in the designer form?
    thanks in advance.

    You can do this with an unbound item on a View Form. You cannot do it at all for an Insert Form. There is a work around but takes a little explaining for the Insert Form. You need to create a web page from the insert form html, modify it manually. I do it as a simple procedure so it is consistent with the rest of the application. Then all menus, links, etc. need to reference that page instead of the FormInsert procedure in the generated package.
    There may be other work arounds. Without knowing more about your requirements, I can't say.
    John Caputo
    [email protected]

  • Need to add custom field on Create Expense Report in ESS

    Hello all,
    How should i procced  for adding custom field on portal while creating travel expense report.?
    Please help.
    Regards

    Solved

  • Add custom text to Status Checkbox description of PHAP_ADMIN_PA

    Hi
    We have a requirement to customise the Screen Text of "Status" checkboxes of the selection screen for standard transaction PHAP_ADMIN_PA, to make the screen better user friendly.
    Kindly provide me your valuable inputs to achieve the same.
    Thanks & Regards
    George

    Status descriptions for the selection screen of this transaction are stored as text elements for function HRHAP_SHOW_DOCUMENT_SEARCH
    Again, this will be a repair.
    Changes you made here will also be valid for trx PHAP_SEARCH_PA, ... (all transactions which use this selection screen)
    Kind regards,
    Luk

  • Need to add custom fields in J1IH  tcode

    Hi Experts ,
    In J1IH  tcode we have to include two fields ATI1 and AT2. Please tell me how we add that if possible please provide me the sap note ...aas well .
    Thank you for your earlier help.
    Regards,
    Venki

    hi
    check this note
    616697 NCCD changes - Budget 2003

Maybe you are looking for

  • HT204053 iCloud with multiple devices but different users

    We have 1 iTunes account 3 iPhones and 2 iPads. I would like to use iCloud for my iPhone and iPad, but I don't want the other devices to use share things such as my calendar, contacts, etc. how do I do this?

  • Warehouse report in Item group wise

    Dear Experts, In Warehouse report i need the breakup in item group wise. Now Warehouse report show all item's and item's details. But now i need all group along with that group item details. Ex: Group 1 Item A - 50 Item B - 70 Item C - 120 Item N - 1

  • Winzip with password protection

    Hi All, We have a requirement to zip the files with password protection. Please can anyone guide us how to acheive this. Currently we are planning to develop a custom adapter module  by extending PayloadZipBean module  to get the password functionali

  • Max_linesize in UTL_FILE

    I always get the exeption "UTL_FILE.WRITE_ERROR" when I'm trying to write to a file and the raw gets longer than (aprox) 2030. I've tried to open the file with specific max_linesize to eliminate the exeption: Ex: v_handle := Utl_File.Fopen ( location

  • APEX equivalent of Java Static Initialization Block

    Is there a APEX equivalent of Java static init block (i.e. execute once at class load time)? My use case is that I need to load some configuration values to an environment (i.e. APEX Workspace) specific variables and don't want to do per user session