Macro Recorder too smart

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Schorschi

Macro Recorder too smart

Post by Schorschi »

Hi there,

I am trying to generate a macro to insert a basic HTML file (ie. with < html > < head >...< /head >< /html >) into a file.

I start the macro recorder and paste the code from the clipboard into Textpad, name, label and save the macro.

However, the macro's definiton now seems to be defined as "insert clipboard contents" and not "insert < html >...< /html >".

What do I have to do to make the macro recorder insert the pasted text and not the clipboard contents ?

Georg
Alan Bellows

RE: Macro Recorder too smart

Post by Alan Bellows »

I'd say just start the recorder, press Ctrl-Home (to move cursor to the beginning), and manually type in the tags. Then press Ctrl-End (to move the cursor to the end), and do the same with the closing tags.

Alan Bellows
Perl/Java Programmer, Ovid Technologies
Andreas

RE: Macro Recorder too smart

Post by Andreas »

I'd use the clip library for such a purpose.
Post Reply