-
How to implement an Auto-Text-Feature in Omnis?
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
Sorry, there were no replies found.
Log in to reply.