DelphiFAQ Home Search:

Editor macro recording in Delphi


comments1 comments. Current rating: 4 stars (1 votes). Leave comments and/ or rate it.


Is there a feature in Delphi 5 that lets you record your keystrokes and then allows you to re-play it any number of times?


Ctrl+Shift+R : Start Recording
Ctrl+Shift+R (again) : Stop Recording
Ctrl+Shift+P : Play it

You can't save your recording, though.

It has several features that make it very powerful:

  1. Ability to record copy, cut and paste keystrokes (Ctrl-C, Ctrl-X
    and Ctrl-V).
  2. Abilty to record Ctrl-Left and Crtl-Right cursor movements - useful for navigating on several lines of similar structure but varying lengths.
  3. Ability to record the Incremental search keystroke (Ctrl-E) which makes it easy to record a macro that will search for the next occurance of a string and then carry out further manipulation of the text.

Another good feature in D5: Quick navigating between class declaration and implementation using Shitf+Control+Cursor Up/Down. That will jump from the definition to the implementation and back. Very handy!

Content-type: text/html


2008-05-19, 08:32:57
[hidden] from Turkey  



NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: