Macros in the textpad are one of the useful features for the text file process to automate repeated tasks.

It allows you to create Macros, save, and run the macros to process the data.

Create and Play Macros

  • Go To Macros
  • Select Record or use Shortcut Ctrl + Shift + R In the text editor, type below code
  println("hello");

  • Check Stop Recording (Ctrl + Shift + R) and ask for details to save

  • Enter name and description. This name can be used to play recording

    texpad-save-macros.png

  • Now, Play by selecting the name of the macros multiple times

  • It inserts the line of code multiple times.

Macros can be created with code selected entire file, Selection of the code lines, or entire file.