Save Document ADD Some Text Before Extention

Documentname_we.extention
I want this type Naming for PSD.TIFF.JPG.EPS

This will work if your filename only has one "." otherwise create a for loop to piece them together the same way I did dnsplit[0]+"_we."+dnsplit[1];
var dname = app.activeDocument.name;
dnsplit = dname.split (".");
//dnsplit.length;
var     newName = dnsplit[0]+"_we."+dnsplit[1];
//$.write(newName);
Cheers John.

Similar Messages

  • How can add some text on the image

    I have images in the gif format.
    How can I add some text in specified point on the image?
    Fpor example, by using Intermedia plugins?

    We do not support this functionality. I suspect you are talking about watermarking?
    I would suggest you send a message to [email protected] , the product manager for interMedia and describe your application. This would be helpful in defining future requirements. He may also know of partners that can supply this technology.
    You can add text to an image using JAI or some other packages before the image goes into the database, or when it goes out.
    Larry

  • MMS + add some text = 2 chat bubbles... did i just get charged twice?

    I noticed when I send a pic using MMS and add some text to it, I get 2 chat bubbles; 1 for the pic and 1 for the text. Does this mean I got charged twice? I went to an AT&T store Saturday to ask someone and he said yes but the tone of his voice sounds like he was unsure. Is anyone else sending MMS with some text and seeing the 2 chat bubbles?

    No. You can confirm that by looking at your usage/bill.

  • How to add some text between columns in dashboard prompt?

    Hi,
    OBIEE version:10.1.3.4.1
    Can we add some words between columns in dashboard prompt?
    like, I want to add OR, make sure user not to select different month, if selected the different months it will make the report no data.
    Month OR Date Range(this is a calendar)
    Does anyone have any idea about this?
    Thanks in advance!
    Regards,
    Anne

    Hi,
    If you are using the prompts with presentation variables or referring only the columns separately then you can create individual prompts and place static text between them.
    But if you need to have both the prompt columns together then create the prompts and use 'space' as the label names for both.(ie prompts would appear but the name wont appear). And create a static text in the page or in a report and place in the page. Which appears as the name of the prompt with 'OR' between the prompt names.
    This should solve your problem.
    Edited by: MuRam on Jan 13, 2012 10:18 AM

  • Print some text before include in sapscript

    Helllo Friends,
    There is one standard include in sap script for example
    INCLUDE &VBDKA-TDNAME& OBJECT VBBK ID 0001 PARAGRAPH HT
    i want to print text before this like
    'packsize ' INCLUDE &VBDKA-TDNAME& OBJECT VBBK ID 0001 PARAGRAPH HT
    pls tell how is it possible
    Regards,
    Sunny

    try like this by specifying character format..
    <c1>'packsize '<c1>   <c2>INCLUDE &VBDKA-TDNAME& OBJECT VBBK ID 0001 PARAGRAPH HT<c2>

  • While adding hyperlinks, is there a way to show some text before opening the hyperlinked page?

    From my help file, I need to add a link to an external source on the web. Is there a way for me to show some message like "You are being redirected to an external page" and when the use clicks the OK button in the message, the actual hyperlinked page is opened?
    Thanks in advance.

    Hi,
    This is a two step process. In your project add a topic with the disclaimer text. Add a hyperlink to the external site and add an refresh meta tag: http://webdesign.about.com/od/metataglibraries/a/aa080300a.htm
    In you project, link to the disclaimer topic instead of the external site.
    Greets,
    Willam

  • Emailing documents adds unwanted text to the email

    Hi all
    We have just implemented SAP email through Exchange server, on a 8.81 upgrade, and it works fine but whenever a document is emailed it adds detail from the document, including the remarks box (as per the Data tab of the Send Message form), into a one line table in the body of the email. Our customer uses the remarks box for internal comments and although we could advise them to record these comments elsewhere eg in activities this is the easiest and most visible place for this purpose and they've been using it for years. It seems a bit inflexible to hard code this sort of information given that we can control other outputs quite easily. Does anyone know of a way to remove or modify the table content?
    Thanks

    Using the Outlook client connection resolved this.

  • Would like to add some text

    I wold like to add about 3 lines of text at the bottom of my clip in a couple of places and i have had no luck at all. i will take any help i can on how to do this as i have tried the manuels way and with no luke. the text overrides the clip and the clip disapears. imovie was simple compared to this.

    Tucsonmac
    When you get your text arranged in the Viewer the way you want, drag the text from the Viewer to the Superimpose window in the Canvas.
    If the main video is on V1, the superimpose edit will put the text on V2 automatically and allow the V1 image to show.
    Normally the highest video track is the only one seen.
    Superimpose will use the length of the clip that the playhead is over when you do the edit.
    To shorten or lengthen it, drag the right edge in the Timeline when the cursor changes to a double pointing arrow. To move get the cursor to a 4way arrow shape.
    Al

  • I need to add some text slides to my FCPX movie. Ideas?

    Hi
    I have some slides in Keynote that I'd really like to add into a FCPX movie.
    Is there a way to do this?
    Thanks

    Hiya
    That works a treat (importing as a PDF)! Thanks. So my follow up question is how can I extend it so it plays for longer? It seems to be fixed at a couple of seconds and it wont let me drag it to the right?
    Thanks

  • Save Images adding sequence number before Extention

    Hi
    when i run script multiple file in one batch
    i want to add image sequnece for that all file
    For Example
    File Name + 001 + extension (myfile001.jpg)
    File Name + 002 + extension (myfile002.jpg)
    Because I want to Create Droplet
    So I dont want bridge batch rename process
    If anything possible to run Droplet without open photoshop

    If anything possible to run Droplet without open photoshop
    It won’t as far as I can tell.

  • How to add new text and an empty space before a file name with Automator

    I can create a new service to add to multiple files some text before the file name but I need to add even an empty space; e.g. file name original  becomes: new text(space)file name original. The aim is to add this text and space to multiple files.
    I hope to be understood. Please can somebody help me?
    Thanks

    This is an old Apple-supplied AppleScript that will do the job.
    IMPORTANT: note the conditions of use: it will choose the frontmost Finder window to operate on. Therefore, open the folder you want to change the names of and make it the front finder window BEFORE running the script.
    Add to File Names
    This script is designed to add a prefix or suffix to files in the front window of the desktop.
    If no folder windows are open, the script will affect items on the desktop.
    Copyright © 2001–2007 Apple Inc.
    You may incorporate this Apple sample code into your program(s) without
    restriction.  This Apple sample code has been provided "AS IS" and the
    responsibility for its operation is yours.  You are not permitted to
    redistribute this Apple sample code as "Apple sample code" after having
    made changes.  If you're going to redistribute the code, we require
    that you make it clear that the code was descended from Apple sample
    code, but that you've made changes.
    --March 2014: Changes by Phil Stokes to make the script work on 10.9
    --these changes are simply reversing the order of parameters in the lines that have "copy" in them
    -- The following line is disabled due to a Menu Manager bug
    --set the source_folder to (choose folder with prompt "Pick the folder containing the files to rename:")
    try
              tell application "Finder" to set the source_folder to (folder of the front window) as alias
    on error -- no open folder windows
              set the source_folder to path to desktop folder as alias
    end try
    set the prefix_or_suffix to ""
    repeat
              display dialog "Enter the prefix or suffix to use:" default answer the prefix_or_suffix buttons {"Cancel", "Prefix", "Suffix"}
              copy the result as list to {button_pressed, prefix_or_suffix}
              if the prefix_or_suffix is not "" then exit repeat
    end repeat
    set the item_list to list folder source_folder without invisibles
    set source_folder to source_folder as string
    repeat with i from 1 to number of items in the item_list
              set this_item to item i of the item_list
              set this_item to (source_folder & this_item) as alias
              set this_info to info for this_item
              set the current_name to the name of this_info
              if folder of this_info is false and ¬
                        alias of this_info is false then
                        if the button_pressed is "Prefix" then
                                  set the new_file_name to the (the prefix_or_suffix & the current_name) as string
                        else
                                  set the new_file_name to the (the current_name & the prefix_or_suffix) as string
                        end if
                        my set_item_name(this_item, the new_file_name)
              end if
    end repeat
    beep 2
    on set_item_name(this_item, new_item_name)
              tell application "Finder"
      --activate
                        set the parent_container_path to (the container of this_item) as text
                        if not (exists item (the parent_container_path & new_item_name)) then
                                  try
                                            set the name of this_item to new_item_name
                                  on error the error_message number the error_number
                                            if the error_number is -59 then
                                                      set the error_message to "This name contains improper characters, such as a colon (:)."
                                            else --the suggested name is too long
                                                      set the error_message to error_message -- "The name is more than 31 characters long."
                                            end if
      --beep
                                            tell me to display dialog the error_message default answer new_item_name buttons {"Cancel", "Skip", "OK"} default button 3
                                            copy the result as list to {button_pressed, new_item_name}
                                            if the button_pressed is "Skip" then return 0
                                            my set_item_name(this_item, new_item_name)
                                  end try
                        else --the name already exists
      --beep
                                  tell me to display dialog "This name is already taken, please rename." default answer new_item_name buttons {"Cancel", "Skip", "OK"} default button 3
                                  copy the result as list to {button_pressed, new_item_name}
                                  if the button_pressed is "Skip" then return 0
                                  my set_item_name(this_item, new_item_name)
                        end if
              end tell
    end set_item_name

  • How to Add Link Some Text in RichEdit Control in MFC

    I need to add some Text with Link to RichEdit, thats all.
    for example,
    my String is,
    line 1 : PASS
    line 2 :  FAIL
    line 3 : PASS
    line 4 : FAIL
    line 5 : FAIL
    now i want to add this String into RichEdit. and add a Link to Only FAIL text. when i click the FAIL Text(ie, line2,line4,line5) it show some message using Message Box or AfxMessageBox.

    I decided to give it a go and wow it was way harder than I thought it should be.  Here is what I ultimately did. (you can try playing with ITextDocument2, ITextRange2::SetURL, but I didn't get that to work like I wanted.  I finally resorted to
    directly injecting RTF into my RichEdit control.  Here is a brief example (there is a little MFC in here to save time, but the relevant stuff is pure Win32 and the MFC is trivially convertable to Win32).
    m_rich.Create(WS_VISIBLE | WS_CHILD | ES_MULTILINE, CRect(10, 10, 200, 200), this, 1000);
    // TODO: Add extra initialization here
    m_rich.SetWindowText(L"This is a test ");
    m_rich.SetSel(-1, -1);
    m_rich.SetEventMask(ENM_LINK);
    std::string dataStr = R"({\rtf1{\field{\*\fldinst{ HYPERLINK http://example.com }}{\fldrslt{DisplayText}}}}.)";
    std::list<char> dataList(dataStr.begin(), dataStr.end());
    EDITSTREAM es = {
    reinterpret_cast<DWORD_PTR>(&dataList),
    0,
    [](DWORD_PTR dwCookie, LPBYTE pbBuff, LONG cb, LONG *pcb) -> DWORD {
    auto &list = *(reinterpret_cast<std::list<char> *>(dwCookie));
    *pcb = 0;
    while (*pcb < cb && !list.empty()) {
    pbBuff[*pcb] = list.front();
    list.pop_front();
    (*pcb)++;
    return 0;
    auto r = m_rich.SendMessage(EM_STREAMIN, SF_RTF | SFF_SELECTION, reinterpret_cast<LPARAM>(&es));

  • Add New Text - Adobe Acrobat 9.0 Pro

    I have scanned in two documents to my Adobe Acrobat 9.0 Pro and now would like to add some text. When I try to select the TouchUp Text Tool it is "grayed out"; in fact the whole Advanced Editing Tool Bar is "grayed out".
    I can go to the spot where I want to "add text" and hit control and right click and draw a box, but the New Font dialog box does not drop down?
    Can anyone please help or shed some light on what I'm doing wrong?
    Regards, June E. Hudspeth
    Thank you so much.

    I have just re-scanned my document unclicking the "PDA/A Compliant" box and "viola" everything appears to working just "wonderfully"!
    Thank you so much for ending two days of total frustration!
    I also talked with an instructor who taught the Adobe 8 class & he didn't have a clue as to what was wrong.
    Again, I thank you very, very much!
    Regards, June E. Hudspeth

  • How do I add a text description to a PDF file

    I want to add some text descriptions to my PDF files that later I can use as "search criteria". Is there something I can use other than the "file name" ? I would like to use short file names and append a longer text description to the file so I can search for files using the "text description" as search criteria.

    I want to add some text descriptions to my PDF files that later I can use as "search criteria". Is there something I can use other than the "file name" ? I would like to use short file names and append a longer text description to the file so I can search for files using the "text description" as search criteria.

  • Add predefined text in richhtmlfield control

    I have created a custom wiki page layout, in that page-layout i have added a built-in RichHTMLField control.
    Now I want to add some text in the control , so that whenever a new page is created , that text would appear in the control(user can later change/delete the text) For Ex:
    Header....
    Body.....
    Footer....
    Is this possible?
    Please remember to click 'Mark as Answer' on the post that helps you or "Vote As Helpful"

    I would hook into ItemAdding/Added event receiver and would add the contents if they are empty.
    Other option could be to run some javascript in page layout and add the contents in the pagelayout, if they empty. But this will be virtual, means they will not exists in the page but will only be visible in layout.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

Maybe you are looking for

  • Significance of Long and short text Objects

    Hi all, I want to know the difference between Long and short texts and scenarios in which long texts are better to use than short texts.

  • Purchase order item text and material valuation class

    Dear Experts, A purchase order item text needs to be maintained for a particular material valuation class when the PO is created, is there anyway that this can be customized?

  • Sort Messages in MessageArea

    I need to sort the messages in the messagearea in the following order: 1. Error 2.Warning 3.Success Is this possible? Best regards, Thomas

  • Re-map table usage in Oracle9i Designer

    Hi, I have Web application in Designer. One of the module components has a table usage that is based on a view. After some initial testing, we determined that the view was not going to be fast enough for the application. We created a materialized vie

  • RMAN-00600 Error during Duplicate

    RDBMS Version: 8.1.6 Operating System and Version: NT 4.0 Error Number (if applicable): RMAN-00600 Product: Recovery Manager Product Version: 8.1.6 RMAN Duplicate Database Error (RMAN-00600) While running the following command: run { allocate auxilia