This projects goal is to create a simple to use, and practical way to create macros.
Just make a file ending in .mz . mz standing for "macro zone"
Example
myFirstMacro.mz
To write a macro, open up the file you created in your editor of choice, then write the commands you want.
macro:keypress{keyYouWantToBePressed}
Will press the key you enter in the brackets
macro:sleep:{amountOfTimeMilisecconds}
Will sleep the macro
-
Microsoft Visual Studio:
- Download and install Microsoft Visual Studio.
- Ensure the following components are installed:
- Desktop development with C++ workload
- Windows 10 SDK
- Open Visual Studio and clone the repository.
-
Git:
- Install Git to clone the repository if you haven't already.
-
Clone the repository:
git clone https://github.com/yourusername/macro-zone.git cd macro-zone -
Open the project in Visual Studio:
- Double-click the
MacroZone.slnfile in the project root.
- Double-click the
-
Set the build configuration:
- From the toolbar, select the appropriate configuration (e.g.,
ReleaseorDebug).
- From the toolbar, select the appropriate configuration (e.g.,
-
Build the project:
- Press
Ctrl + Shift + Bor go to Build > Build Solution.
- Press
-
Locate the output directory:
- After building, the executable (
MacroZone.exe) will be in thebindirectory of your chosen configuration (e.g.,bin\Release).
- After building, the executable (
-
Add the directory to the PATH:
- Open System Properties:
- Press
Win + S, search for "Environment Variables," and click Edit the system environment variables.
- Press
- In the System Properties window, click the Environment Variables button.
- In the Environment Variables window, find the
Pathvariable under System Variables and click Edit. - Click New and paste the path to the
bin\Releasedirectory containingMacroZone.exe. - Click OK to close all windows.
- Open System Properties:
-
Verify the PATH:
- Open Command Prompt and type:
MacroZone
- The application should launch if added correctly.
- Open Command Prompt and type:
This program does not work if you lanch the EXE, you have to run it via the terminal