Skip to content

scovl/JMacro

Repository files navigation

JMacro

This program enables you to make macros using keyboard and mouse. You can change key assignments and merge keyboard and mouse actions into a single or multiple commands. It's very useful for those who have different keyboard layouts and want to automate certain functions.

Features

  • Combine keyboard actions

Requirements

  • Java 8 or higher (recommend java 11)

How to use

  1. Download the release HERE and unzip JMacro.zip anywhere
  2. Configure the configMacro.properties file with the macro you want to configure

The configMacro.properties file contains the following information:

[Keyboard Macro]

numberOfMacros = 2

[Macro 1]

macro1_StartKey = 13
macro1_numberOfKeys = 3

macro1_key1 = 57
macro1_key2 = 9
macro1_key3 = 47

# macro1_key*

[Macro 2]

macro2_StartKey = 5
macro2_numberOfKeys = 3

macro2_key1 = 4
macro2_key2 = 6
macro2_key3 = 7

# macro1_key*

# 3667 = Delete

macroEndKey = 3667

Here the numerical list of each key Read the Documentation here

  1. run it with the following command:
java -jar JMacro.jar fileName

# Example
java -jar JMacro.jar configMacro.properties
  • NOTE: Pay attention to variables macroStartKey and macroEndKey (one is for starting the macro and the other for ending it).

Easy, isn't it? JMacro will be guided by the configuration you made in the configMacro.properties file.

TODO

  • Implement keyboard remapping feature
  • Implement feature that allows you to create more complex macros that mix mouse and keyboard