Forums

Find answers, ask questions, and connect with our
community all around the world.

Home Forum Omnis General Forum How to implement an Auto-Text-Feature in Omnis?

  • How to implement an Auto-Text-Feature in Omnis?

    Posted by Uwe Smidt on March 7, 2024 at 8:47 am

    Dear $All,

    I would like to implement a platform-independent Auto-Text feature in js RemoteForms:

    While typing in an edit field, I would like to type a shortcut like ‘kr’, then press a function key like F4 or Cmd-E, which then puts ‘With kind regards’ in the place of ‘kr’, or presents a window with a preselection if the shortcut is not unique or empty.

    Has anyone implemented something like that?

    My current issues are:

    – determining where my cursor is in the edit field

    – determining a possible selection (to be evaluated and replaced)

    – catching keyboard events AND evaluating the current value of the edit field (on KeyDown I can get the modifier keys, but not the current value of the edit field yet – please see my other post…)

    Any ideas are greatly appreciated!

    Best regards

    Uwe

    Uwe Smidt replied 1 month, 2 weeks ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

Log in to reply.