Standardized text insert
Posted: Thu Dec 04, 2008 7:09 am
Our writers have a standard batch of phrases they use for certain steps. I'd like to find an auto-complete function for inserting data in any element. It might work like this:
1. Create XML file with common phrases (below).
2. Post file on http server.
3. Initiate plug-in from within Oxygen inside an element.
4. Plug-in pops a window with a text entry box.
5. User types in text field and the list narrows based on text entered.
6. User presses up/down arrow key to select a phrase or presses return to get the selected item. Or user can press Cancel to stop the process.
7. Text is inserted in the element.
Structure for the XML file could be pretty simple.
The XML file should be able to handle 2000(?) short phrases. If the item elements could carry other mark-up, that would be a major bonus.
1. Create XML file with common phrases (below).
2. Post file on http server.
3. Initiate plug-in from within Oxygen inside an element.
4. Plug-in pops a window with a text entry box.
5. User types in text field and the list narrows based on text entered.
6. User presses up/down arrow key to select a phrase or presses return to get the selected item. Or user can press Cancel to stop the process.
7. Text is inserted in the element.
Structure for the XML file could be pretty simple.
Code: Select all
<list>
<item>Remove screw.</item>
<item>Install screw.</item>
</list>