1. Blog
  2.   RPA

What's the Difference Between Robots and Macros?




Kristin Masters September 15, 2014

What's the Difference Between Robots and Macros?

One question we often hear is, "Do I need a robot for that?" For many tasks, a macro might get the job done. But when you need to accomplish more complicated tasksor even automate the use of macrosonly a robot will do. Here's a look at the differences between macros and robots. 


A macro is a short sequence of code that automatically expands into a set of instructions to perform a single task. If you are doing something over and over again in code, such as transforming certain text inputs into something else, you can write a macro for that task and call on that macro whenever you need to perform that task. Common macros include keyboard and mouse shortcuts and text substitutions. 


Closely related to the macro is the scriptThe word "script" is a general term for a sequence of computer code that executes a specific procedure or series of tasks. Certain computer languages, like Perl and Python, are known as scripting languages. Most scripting languages are not compiled, but rather interpreted, meaning that they're run line by line. The compiled languages turn the code into something the computer can understand before running it. 




In a sense, robots represent the next generation of macros. While macros can perform certain functions automatically once they've been programmed, robots can respond to external stimuli and have their functions reprogrammed. In other words, a robot could even decide when to execute macros appropriately. 


rpa vs macro


Unlike a macro, a robot can act autonomously to use and orchestrate any application, from mainframe and legacy applications to closed third-party API's. This can be accomplished in one of three ways:

  • through dedicated API's
  • through the computer's operating system
  • by "reading" the presentation layer (the display on screen that humans use to interact with an applications) 


RPA vs. Macros


A robot can accumulate knowledge of procedures over time, which a macro is unable to do. That knowledge is stored for future use not only by the robot itself, but also by future devices. That makes robots ideal for a variety of more sophisticated tasks like legacy application monitoring and business process automation. 


UiPath offers robust, non-intrusive robotic automation with integrated security. Easy to train, our robots require no knowledge of programming or code, and they deploy automatically. You'll find that UiPath offers a true end-to-end management solution, complete with live monitoring, reporting, and analytics. Have a question about how robotic process automation can work for your business? Our team is happy to deliver a live demonstration. 


Get in Touch


Learning RPA Robotic Process Automation RPA Automation

Related articles