<>
The macros son acciones que se ejecutan en una computadora cuando presiona una combinación de teclas. Pueden ser predeterminados por un programa o grabados por el propio Username para realizar funciones específicas. Windows lacks its own macro editor, even when it has keyboard shortcuts with which to launch applications.
In this tutorial we will use the AutoHotkey program to be able to create our own functions and take advantage of the macros within the Windows system.
First we must get hold of the program AutoHotkey, what makes it possible to record actions and associate keyboard events with them. Estamos hablando de las famosas macros, una utilidad que posibilita automatizar tareas repitiendo una secuencia de pulsaciones de teclas, movimientos del ratón o clics. El target es desarrollar tareas anteriormente configuradas de forma más rápida y sencilla.
AutoHotkey is a free and open source tool designed to configure combinations with which certain specific tasks are performed. Once the program is downloaded and installed, to establish our own macros, we must create a file text.
A file of text it is a plain text file that contains the code necessary to run a script. We can create it basically with Notepad and keep it with the breadth .ahk, which is the one used by the AutoHotkey program. Another option is create it via context menu which creates the program once installed, using right mouse click> New> Autohotkey Script.
The script will run once we associate it with a specific key combination. The program has a very valuable help when configuring the actions that we want to carry out. In our example, we will execute a command to write the text www.windowsnoticias.com when we press the keys Ctrl + Alt + O. You can see other combinations in the help, since they are very easy to apply and understand how they work.
Once we have written the script code, we will save it and open the AutoHotkey Converter. Within the converter itself we must introduce the script file that we have created and, just below, the location where we want to save the executable file as a file .exe. What's more we can set custom icon to more easily remember its use.
From now on, every time we run the file we have created we can use the shortcuts we have created with the AutoHotkey program.
Source: Omicrono.