Do you mean in a SAS based application.
Please provide some more background.
Also, there are specific testing software that probably can do what you are asking for.
Yes, SAS 9.4M7 in DMS enviroment. I want to imitate :
mouse move;
left click;
left press and hold;
Even more complex:
Get the color of the current position of mouse arrow;
SAS isn't a PC automation tool. A quick Google search should give you better options like these:
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.