BookmarkSubscribeRSS Feed
DDutton
Fluorite | Level 6

I'm trying to define a program editor macro, but each time, I get the message shown below that no commands were recorded for the macro.  As a sample, I have tried selecting Program->Editor Macros->Record New and then 1) selecting the Save command on the program tab or 2) highlighting a block of text, and then selecting Program->Editor Macros->Record New Stop Recording, and several other command series.   But I always get the message below.  I am able to successfully modify Editor Options such as tabs etc.  Am I doing something wrong? Is some file or folder set to read-only and is preventing the commands from being stored?  

 

EG_macro_error.png

1 REPLY 1
CaseySmith
SAS Employee

Hi @DDutton,

 

Not all operations can be executed (thus recorded) as commands in a macro.  The two operations you provided (saving and selection via *mouse*) are examples.

 

You can see a full list of the commands supported in a macro by clicking Program > Editor Macros > Macros, then click the Create button.

 

You'll notice there are quite a few selection commands (a whole category).  If you perform selections via the keyboard rather than the mouse while recording a macro, they will be recorded and can be replayed in a macro.

 

Casey


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 696 views
  • 0 likes
  • 2 in conversation