Create a Macro to draw a horizontal line in Textpad

Tip Cour­tesy: Veera Sun­dar ( http://www.veerasundar.com )

1. Press Ctrl + Shift + R (Record Macro), which starts a macro record­ing ses­sion.
2. Con­tin­u­ous­ly press the ‘_’ (under­score) char­ac­ter for about 100 chars length (which now looks like a hor­i­zon­tal line).
3. Then again press Ctrl + Shift + R, which stops the cur­rent macro record­ing ses­sion and asks the file name and macro name to save the record­ed macro. Give ‘Draw Line’ as the macro name.
4. After this a new menu option ‘Draw Line’ will be added to ‘Macros’ menu.

Now when­ev­er you want to insert a hor­i­zon­tal line, you just need to choose the menu option ‘Macros -> Draw Line’ which will do the rest for you.

The cre­at­ed macro will be saved to C:\Documents and Settings\user_name\Application Data\TextPad fold­er with .tpm file exten­sion. In case you want to delete the macro sim­ply delete the .tpm file from the above loca­tion.


Comments

Leave a Reply

%d