Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How Define AutoText for Multiple Lines of Code
#4
Autotext only supports commands on one line, but you could enter multiple commands on one line by separating them with ";"

Autotext Autotext3
Trigger $t     Help - how to add the trigger to the macro
Code:
Copy      Help
;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.

The above example is from the above menu:
File >> New >> New Autotext List >> Working with sample items

If you need to do a lot of actions or something complex then do it in a seperate function (like the "typethis" example).


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)