Append copyright text to copied text in clipboard

Is it possible in RH6 to append a copyright string to the
text that a user has just copied to the clipboard, so that when
they paste it, they get the text they copied, plus the copyright
string? The old WinHelp application that I am converting to HTML
help had this feature - I believe the old project was authored in
RoboHelp, but have no idea on how they included the copyright
string. I haven't found anything in the help that references
functionality like this, nor have I found anything online.

Hi,
Make use of READ_TEXT and SAVE_TEXT FM to get the additional text and add to the existing text.
Regards,
Ankur Parab

Similar Messages

  • Programatically copying text to the clipboard

    Short: I need to programatically copy a string of text from
    either a variable or a hidden control field to the clipboard.
    Long: We have a requirement to allow the user to 'pop-up' a
    list of frequently used words, select one from the list and have
    it pasted into a field on the form. What I would prefer to do
    is select the user's words into an LOV and have the chosen word
    placed into a hidden field. If I could move the contents of
    that field to the clipboard, I can place the focus back in the
    original field ('keep cursor position' = yes) and used the
    PASTE_REGION built-in to insert the text without overwriting
    anything.
    The other method I have been experimenting with is creating my
    own 'List of Values' form. I'm using a t-list to display the
    user's word list. When-List-Changed copies the word to a visible
    text field and an OK button places the focus in the text field,
    executes the SELECT-ALL built-in, then the COPY-REGION built-in
    and returns to the calling form with the word in the clipboard.
    Problems: The user can't shrink the list by typing like they can
    with an Oracle LOV. When the focus is in the t-list, the
    DEFAULT functionality of the OK button doesn't happen. I can't
    get a When-Mouse-Doubleclick trigger to fire while in the t-list.
    In the end, I prefer the first method (the LOV) BUT... I have to
    have a field visible on the form to place focus in, select all
    of the text and copy to the clipboard. This field looks silly.
    I'm sorry this question is so long winded. Thank you for
    reading it all. Does anyone know how I might accomplish this
    requirement (professionally)?
    Thank you,
    Fouad

    Short: I need to programatically copy a string of text from
    either a variable or a hidden control field to the clipboard.
    Long: We have a requirement to allow the user to 'pop-up' a
    list of frequently used words, select one from the list and have
    it pasted into a field on the form. What I would prefer to do
    is select the user's words into an LOV and have the chosen word
    placed into a hidden field. If I could move the contents of
    that field to the clipboard, I can place the focus back in the
    original field ('keep cursor position' = yes) and used the
    PASTE_REGION built-in to insert the text without overwriting
    anything.
    The other method I have been experimenting with is creating my
    own 'List of Values' form. I'm using a t-list to display the
    user's word list. When-List-Changed copies the word to a visible
    text field and an OK button places the focus in the text field,
    executes the SELECT-ALL built-in, then the COPY-REGION built-in
    and returns to the calling form with the word in the clipboard.
    Problems: The user can't shrink the list by typing like they can
    with an Oracle LOV. When the focus is in the t-list, the
    DEFAULT functionality of the OK button doesn't happen. I can't
    get a When-Mouse-Doubleclick trigger to fire while in the t-list.
    In the end, I prefer the first method (the LOV) BUT... I have to
    have a field visible on the form to place focus in, select all
    of the text and copy to the clipboard. This field looks silly.
    I'm sorry this question is so long winded. Thank you for
    reading it all. Does anyone know how I might accomplish this
    requirement (professionally)?
    Thank you,
    Fouad

  • Acrobat X: PDF to PS and back results in a "nice" PDF, but copy text from it is bad!

    We used this workflow (PDF -> PS -> PDF) to get very small filesizes in any cases.
    Before, we had problems with certain PDFs with many layers.
    But now we have problems with the text within these PDFs.
    Selecting text and copying it (to clipboard) and past it somewhere results in small rectangles (                ).
    Any ideas?
    Thanks
    Norbert

    Acrobat shows very normal text of this PDF:
    Select it with the select tool, ctrl-c, and paste it into e.g. find dialog shows rectangles:

  • Safari copy wipes the clipboard

    Anyone else have this in Safari 4 for Windows?
    I use Safari at work, often copying and pasting text; in Safari 4 I have noticed an issue that when I have text in the clipboard and use the keyboard shortcut to paste the text into a text box on a web page.
    Here's what happens, I first have some text I copied into the clipboard, when I accidentally hit Ctrl-C instead of Ctrl-V the clipboard gets wiped out as Safari copies a null amount of text into the clipboard, thus if I realize my mistake and try to do a Ctrl-V my previously copied text has disappeared from the clipboard and nothing pastes.
    Yeah I know I should learn to type better, ha ha, but we all occasionally make mistakes and it's infuriating when this happens. I am sure this was not the behaviour Safari 3 and also this issue does not occur in FireFox and I think most other browsers out there.
    I clean installed Safari on a new install of Windows on a virtual machine and was able to recreate the issue.
    Any thoughts?
    Phil
    Message was edited by: sixfootphil

    I found byselft the solution. Here the step for those who have to do the same:
    Copy Premise to the clipboard (BDD)
      l_procobj-header = 'OBJH'.
      l_procobj-type   = 'SWO'.
    Create object Premises
      CALL FUNCTION 'SWO_CREATE'
           EXPORTING
                objtype = 'PREMISES'
                objkey  = l_key
           IMPORTING
                object  = l_procobj-handle
                return  = l_return.
      IF NOT l_return IS INITIAL.
        EXIT.
      ENDIF.
    Set Object ID
      CALL FUNCTION 'SWO_OBJECT_ID_SET'
           EXPORTING
                object    = l_procobj-handle
                objectkey = l_key
           IMPORTING
                return    = l_return
           EXCEPTIONS
                OTHERS    = 1.
      IF NOT l_return IS INITIAL.
        EXIT.
      ENDIF.
    Buffer Refresh
      CALL FUNCTION 'SWO_OBJECT_REFRESH'
           EXPORTING
                object       = l_procobj
           EXCEPTIONS
                error_create = 02.
      l_def-element      = '<MAINOBJ>'.
      l_def-editorder    = 2000 - 1.
      l_def-reftype      = 'O'.
      l_def-refobjtype   = 'PREMISES'.
    APPEND l_def TO li_def.
      CALL FUNCTION 'EWO_XTAINER_ELEMENT_SET'
           EXPORTING
                x_elemdef       = l_def
                x_value         = l_procobj
           CHANGING
                xy_xtainer      = l_desk_xtain
           EXCEPTIONS
                invalid_elemdef = 1
                internal_error  = 2
                OTHERS          = 3.
      CALL FUNCTION 'CIC_EVENT_RAISE'
           EXPORTING
                event  = 'ADD_XTAINER_TO_BDD'
                p1     = l_desk_xtain
           EXCEPTIONS
                OTHERS = 99.

  • Copying text to the clipboard in AVDocDidOpen event handler causes Acrobat 9 to crash

    I'm trying to copy the filename of a document to the clipboard in a plugin with my AVDocDidOpen event handler.  It works for the first file opened; however when a second file is opened, Acrobat crashes.  The description in the application event log is: "Faulting application acrobat.exe, version 9.1.0.163, faulting module gdi32.dll, version 5.1.2600.5698, fault address 0x000074cc."
    I've confirmed that the specific WIN32 function that causes this to happen is SetClipboardData(CF_TEXT, hText);  When that line is commented out and remaining code is left unchanged, Adobe doesn't crash.
    Is there an SDK function that I should be using instead of WIN32's SetClipboardData()?  Alternately, are there other SDK functions that I need to call be before or after I call SetClipboardData()
    Bill Erickson

    Leonard,
    I tried it with both "DURING, HANDLER, END_HANDLER" and "try catch," as shown below.  However, it doesn't crash in the event handler; it crashes later, so the HANDLER/catch block is never hit.
    The string that's passed to SetClipboardData() is good, because I'm able to paste it into the filename text box of the print dialog when I try to create the "connector line" PDF.  I also got rid of all the string manipulation and tried to pass a zero-length string to the clipboard but it still crashes.
    Here's the code:
    ACCB1 void ACCB2 CFkDisposition::myAVDocDidOpenCallback(AVDoc doc, Int32 error, void *clientData)
        PDDoc pdDoc = AVDocGetPDDoc(doc);
        char* pURL = ASFileGetURL(PDDocGetFile(annotDataRec->thePDDoc));
        if (pURL)    {
            if (strstr(pURL, "file://") && strstr(pURL, "Reviewed.pdf")) {
                // Opened from file system so copy filename to clipboard for connector line report
                char myURL[1000];
                strcpy(myURL, pURL);
                ASfree(pURL);    // Do this before we allocate a Windows handle just in case Windows messes with this pointer
                pURL = NULL;
                HGLOBAL hText = GlobalAlloc(GMEM_MOVEABLE, 1000);
                if (hText)    {
                    try
                        // Skip path info and go right to filename
                        char *pText = (char *)GlobalLock(hText);
                        char *pWork = strrchr(myURL,'/');
                        if (pWork)    {
                            strcpy(pText, pWork+1);
                        } else {
                            strcpy(pText, myURL);
                        char *pEnd = pText + strlen(pText);    // Get null terminator address
                        // Replace "%20" in filename with " "
                        pWork = strstr(pText, "%20");
                        while (pWork)    {
                            *pWork = ' ';
                            memmove(pWork+1, pWork+3, (pEnd - (pWork+2)));
                            pWork = strstr(pText, "%20");
                        // Append a new file extension
                        pWork = strstr(pText, ".pdf");
                        *pWork = 0;    // truncate the string before ".pdf"
                        strcat(pWork,".Connectors.pdf");
                        GlobalUnlock(hText);     // Must do this BEFORE SetClipboardData()
                        // Write it to the clipboard
                        OpenClipboard(NULL);
                        EmptyClipboard();
                        SetClipboardData(CF_TEXT, hText);     // Here's the culprit
                        CloseClipboard();
                        GlobalFree(hText);
                    } catch (char * str) {
                        AVAlertNote(str);
            if (pURL)
                ASfree(pURL);

  • Button to copy text to the clipboard

    Reading the document "Javascript for Acrobat API Reference" Page 120:
    http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf
    the document discusses the execMenuItem command. From all that I have researched it appears I cannot create a button that copies text from a text field to the UI clipboard. 
    On page 121 the API reference says:
    To ensure a secure environment, the menu items that can be executed are limited to the following:
    ●AcroSendMail:SendMail
    ●ActualSize
    ●AddFileAttachment
    ●BookmarkShowLocation
    ●Close
    ●CropPages
    ●DeletePages.............
    ..............●ZoomViewOut
    The list is long but nowhere is "Copy" mentioned. I don't want to surreptitiously copy text or use a trusted function. I am content with the user knowing a button just copied a field of text. I just want to skip the highlighting of multiple field to get all the text. Does anyone know a way around this? I would like to copy a text field to the clipboard so the text can be entered elsewhere in another program.

    All I know is they made this impossible a long time ago, like with Acrobat 5 or 6. I recall because I took advantage of it and never discovered a workaround.

  • I find that I can no longer copy text to the clipboard.

    Why can I no longer copy text to my clipboard?

    Here is a little more information.  Last week everything worked fine.  I opened the same document yesterday and tried to copy some text to the clipboard and now I get an error message saying "can not copy to clipboard, internal error.  I also find that pdf files from the internet will not load and all I get is a small black x box in the upper left corner of the screen.  Went through the steps in control panel and adobe is enabled.

  • Copy text to Windows clipboard

    I need to copy text, either from a Flash textArea component
    or a text member, to the Windows clipboard so it can be pasted into
    a form field in a web page. I'm trying to streamline a data entry
    process and alleviating CTRL+C will be a big help. Does anyone know
    a way of doing this?
    Thanx in advance.

    If you do not need it in Shockwave, there is the free
    clipboard xtra
    from the wonderful Valentin Schmidt...
    http://staff.dasdeck.de/valentin/xtras/clipboard/
    That has a whole of of control over the clipboard and its
    contents/formats.
    If you just need a simple text to/from the clipboard routine,
    then you
    can use BuddyAPI's baCopyText() and baPasteText()

  • E71 - Copy text to clipboard from from html reader...

    I could not copy text to clipboard from
    - Web page, html readers,
    - Web feed reader
    - Email reader. (if I choose reply or forward, then I can copy text)
    How to do it?
    is almighty E71 unable to do it?

    U can not even copy link on html reader or
    email address from email reader.
    How can Nokia make such a mistake?
    I think the Nokia programmers are aliens from other planet!!!

  • Applets and clipboard (copying text)

    I've done some small games like chess that work directly in browser as applets. During game moves are printed out to normal JTextArea component. Idea and much used feature so far have been that at the end of game players can simply copy move list to clipboard and save/use them as wanted.
    But now it seems that after Java 6 update 24 it is no longer possible to copy text from textarea to clipboard? It is possible to select all text with crtl+a but ctrl+c does nothing. Is there any way how people could get text to their clipboard from (unsigned) applet?
    Thanks!

    846649 wrote:
    ..Is there any way how people could get text to their clipboard from (unsigned) applet?See Copy in sand-boxed app. in 1.6.0_24+ for a potential solution to the new security measures. Would appreciate some test results to help work the kinks out.
    Thanks!O_o IMO thanks is well expressed by marking replies as 'helpful' or 'correct' as appropriate. Your failure to mark any of my replies in this thread as even 'helpful' has me wondering if I am wasting my time trying to help. :(

  • Unable to copy text values in CLipboard in Ubuntu 8.1

    Hi all ,
    Im using the following code to copy the text:
    import java.awt.Toolkit;
    import java.awt.datatransfer.Clipboard;
    import java
         .awt
         .datatransfer
         .StringSelection;
    import java
         .awt
         .datatransfer
         .Transferable;
    public class TextWriter {
         public static void writeToClipboard(String writeMe) {
              // get the system clipboard
              Clipboard systemClipboard =
                   Toolkit
                        .getDefaultToolkit()
                        .getSystemClipboard();
              // set the textual content on the clipboard to our
              // transferable object
              // we use the
              Transferable transferableText =
                   new StringSelection(writeMe);
              systemClipboard.setContents(
                   transferableText,
                   null);
         public static void main(String[] args) {
              System.out.println(
                   "Writing text to the system clipboard.");
              String writeMe =
                   "I'd like to be put on the clipboard";
              writeToClipboard(writeMe);
    }After running the application when I try to paste it in GEDIT , it is not pasting .
    Also in menubar the PASTE is also not getting enable.
    Can anybody tell how to copy text .
    OS used Ubuntu 8.1 and java version 1.6 update 10
    Thanks and regards
    Anshuman Srivastava

    Copy cannot be disabled to my knowledge. Did you try quitting Safari and resetting your iPad? To quit an app double click the Home button to reveal the row of recently used apps. Flick up on the page preview and it will fly away and disappear. That quits the app. Then Press and hold both the Home button and the Sleep/Wake button continuously until the Apple logo appears. Then release the button and let the device restart. You will not lose data doing this. It's like a computer reboot.

  • Confused text after copying to clipboard

    Hello,
    I have
    WinXP SP 2
    Adobe Reader 8.1.0
    I have some pdf-documents from which I need to copy the text to the clipboard. If I do so I get an error message "error occured..." but text is copied. But the copied text is completely nonsense.
    Example:
    Original:
    "In case of dispute the German wording is binding."
    Copy:
    What can that be?
    Has anyone a hint for me?
    Thanks in advance.
    Uwe

    Some PDF files have this problem.
    Technically: the font does not contain a useful encoding which allows
    the font glyph references to be mapped to a representation you can
    use.
    In simple language: in some PDF files, the text will always copy as
    junk.
    If you are making the PDF, you may be able to change the way you make
    it. If it is already made, that's all.
    Aandi Inston

  • How can I copy text from PDF and include the source filename in the pasted selection?

    I'm a biologist and frequently cut-and-paste notes from PDFs of scientific articles.  I name all of the PDF articles with their PubMed ID, a short unique identifier (e.g. 19397482.pdf).  When I take notes, I will select a few sentences from the PDF and then paste them into a text editor for later reference. 
    Can anyone suggest a method or script that would allow me to paste the copied text with the Pubmed filename included in a single action?  I would want the pasted output it to look something like this, with the filename appended to the end:
    Of the transcripts that were significantly different, there was a greater number of transcripts that were down-regulated in the IVC embryos (380) than the number of transcripts that were up-regulated (208).  [20668257.pdf]
    This would really help me to properly cite information sources during the writing process.  I know there are bibliography managers that might be able to do something like this, but I prefer to read the PDF articles directly in Preview and select the text as I am reading. 
    Thanks very much for any suggestions / ideas.
    jjw

    To copy and paste in a single action:
    tell application "Preview" to activate
    tell application "System Events" to tell process "Preview"
        -- Get the PubMed ID:
        get the title of the front window
        set thePubMedID to word 1 of result
        -- Copy the selected text to the clipboard:
        keystroke "c" using {command down} -- ⌘C
        delay 0.25 -- adjust if necessary
        -- Add the PubMed ID to the contents of the clipboard:
        set theNotes to the clipboard
        set the clipboard to (theNotes & space & "[" & thePubMedID & ".pdf]")
    end tell
    tell application "Notational Velocity" to activate
    tell application "System Events"
        -- Paste the contents of the clipboard to the end of the Notational Velocity document
        key code 125 using command down -- ⌘↓
        keystroke return & return
        keystroke "v" using {command down} -- ⌘V
    end tell

  • Can not copy text from AI CC or AI6 in to the file name

    I have an AI file with 80+ UPC codes that I need to separate in to individual files. Each UPC has a descriptor but when I copy the text and then try to paste it as file name it will not paste. I use this same process regularly in InDesign when I design print ads. Each print ad has a unique item number that prints with the copyright line so I simply copy and paste that information when I do the save.
    Under File Handling and Clipboard both PDF and AICB are on. I've tried this in AICC and AICS6. I also tried different files. Same issue. Any suggestions? I really don't want to have to type 80 some descriptions which are very lengthy. 

    I can not copy the text from Illustrator in to any OS X application/function (filename, Mail, Text Edit, ect). I can copy in to InDesign, Photoshop, Flash, and other other Adobe product. I can copy in to Word as well. I guess my work around will be Word.
    And the opposite is true. I can copy text from any other Adobe application to any OS X application/function with no issues.
    I guess my work around will be to OCR the text from Acrobat and open in Word. The descriptors have to be 100% accurate and some of them are pretty long.

  • Can't Copy text unless console is opened before applet with JTextField

    If an applet uses JTextFields, it is impossible to copy text from the console to the clipboard (or anywhere else) if the console is opened after the applet.
    See http://demo.capmon.dk/~pvm/nocopy/nocopy.html for a working applet with source and class file to try it out on...
    So if something bad has happened, and there are hints in the console e.g. a stack trace, it all has to be retyped by hand, since all Copy or export is impossible...
    Does anyone know of a workaround for this? I'd like to be able to e.g. copy stack traces to bug reports.
    Try these test cases:
    * Close all browser windows. Open a browser and visit this page. After the page with this applet has loaded, then open the console with "Tools/Sun Java Console" (or "Tools/Web Development/Java Console" in Mozilla). Select some text in the console. There is no way to put this text on the clipboard; the "Copy" button doesn't work, and neither does CTRL+Insert, CTRL+C or anything else.
    * Close all browser windows. Open a browser window no some non-java page and then open the console with "Tools/Sun Java Console" (or "Tools/Web Development/Java Console" in Mozilla). Then visit this page. Select some text in the console. Now the "Copy" button does work, enabling "export" of e.g. stack traces to other applicaitons e.g. email.
    The difference is which is opened first: The console or the applet. If you look at the very rudimentary Java source code, it is the mere creation of a JTextField is what disables or breaks the Copy functionality.
    I've tried this on Windows XP with IE 6.0 and Mozilla 1.3 and they behave exactly the same. The JVM is Sun's 1.4.2 and I've tried 1.4.1_02 also with the same behavior. I've also tried javac from both 1.4.2 and 1.4.1_01

    hey .. this seems like a bug.. can you please file a bug at
    http://java.sun.com/webapps/bugreport
    thanks...

Maybe you are looking for

  • Photo Album 2.2

    I'm using Dreamweaver 8 and Fireworks 8. If I try to create an album with over 100 photos, after the thumbnails, etc. are created in Fireworks, Fireworks closes and I am left with a mesage stating "Waiting for Fireworks". I've waited up to an hour, b

  • IPhone 4 will not charge properly, it isn't recognizing any charger I have tried.

    I receive the notification to plug my phone in so that it may charge.  Which I have done with multiple chargers each left over night.  What am I doing wrong?

  • Session level auditing

    Hi everyone, I need oracle document ID for session-level auditing in oracle 10g.If you 've any steps to do auditing in session level,kindly post it. Thanks Jaya prataab J

  • 1z0-036 exam

    Dear all i want to give exam of 1z0-036 ie managing oracle on linux can any one please provide me the study material from oracle university or u can say ILT of it i dont have it with me please send me the link

  • How to delete a streamed radio station

    I created a smart playlist for streamed radio stations (using the rule "Kind contains stream"). I don't want to delete the entire smart playlist but there are some individual stations that I now wish to delete. I'm not sure how to do this and any hel