Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Autocomplete certain character combination into a text
#9
I have created a new autotext macro
new->new autotext list ->working with sample items

and then just changed its header
Code:
Copy      Help
/b/i/c

SIMPLE TEXT EXAMPLES
sim :'"simple text" ;;inserts simple text when you type sim and postfix (Ctrl, space, comma, Enter...)
simp :"paste text" ;;same as above, but uses clipboard instead of keys. If 'Hybrid paste' checked in Options, uses keys for short text, clipboard for long text.

FORMATTED TEXT EXAMPLES
dt :str s.timeformat("{DD} {T}"); key (s) ;;current date and time. To add the code, you can use the Text dialog from the floating toolbar.
inpn :if(inp(_i "a number")) key F"the number is {_i}" ;;manual text input

POPUP LIST EXAMPLE
If there are several matching items, shows a popup list. Select an item with mouse, Enter, Tab or a number key.
PL :'"list item 1"
PL :'"list item 2" ;;Label


Now when i type sim it expands into simple text
but
testsim doesnt expand into "testsimple text"


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)