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?
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
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.