/ Forums / Advansys Formativ / Creating Solutions with Formativ / Can I extract the Select Text in a message or Subject for TAPI dial?

  • Creator
    Topic
  • #4457
    tinymoth
    Participant

      Hi,

      Ultimately, I’d like to make TAPI to start a phone call on our desk phones. I know GW supports the dial method from the address book, but it would be quite useful to select a number in a message or subject, right click and Dial.

      I think I can grab selected text by doing an Copy to Clipboard and I guess manipulate it from there, but I wondered if I could just grab the selected text?

      Thanks,
      Tim

    • Author
      Replies
    • #8222
      Support 3
      Participant

        You can use GroupWise Token API to copy selected text to the Clipboard then Formativ utilities method to return text value from the Clipboard. See the Formativ Language Guide for more information.

        Code below copy selected text from message body to clipboard and show in a message box.

          
          groupwise.EditCopy
          msgbox utilities.FromClipBoard
        

        Regards,

        Advansys Support

      Viewing 1 replies (of 1 total)
      • You must be logged in to reply to this topic.