The ad Macro

The ad macro is a simple macro that expands from ad to ActiveDocument and positions the caret at the end of the word.

The definition in the macros.txt file is:

ad
ActiveDocument

When ad is entered, and Ctrl+P is pressed, ad is replaced by ActiveDocument. The caret remains at the end of the text entered by the macro expansion.