Skip to content
/ macros Public

The Java Macros Project is a solution aimed at automating repetitive tasks and boosting productivity. This project provides a platform for users to define, manage, and execute custom keyboard macros, effectively streamlining complex workflows and simplifying routine processes.

License

Notifications You must be signed in to change notification settings

physine/macros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Macros Project

logo (1) (1).png

Overview

The Java Macros Project is a versatile tool designed to automate repetitive tasks and enhance productivity. It allows users to define and execute custom macros in a Java-based environment, streamlining workflows and simplifying complex processes.

Features

  • Custom Macro Definitions: Create macros with specific triggers and actions.
  • Environment Variable Integration: Use AES-256 to secure sensitive data on disk.
  • User-Friendly Interface: Easy-to-navigate interface for managing and executing macros.
  • Cross-Platform Support: Compatible with various operating systems.
  • Robust Database Management: Uses a PostgreSQL database for storing and managing macro configurations.

Clone the Repository

git clone https://github.com/physine/macros.git
cd macros

Prerequisites

  • Java JDK 8 or later.
  • PostgreSQL database, with a table defined like so (see persistence.xml for DB setup details):
    CREATE TABLE macros (
    id SERIAL PRIMARY KEY,
    trigger VARCHAR(255) NOT NULL UNIQUE,
    target VARCHAR(255) NOT NULL
    );
  • Set an environment variable AES_ENCRYPTION_KEY of 32 bytes. Generate a key using:
python -c "import os, binascii; print(binascii.hexlify(os.urandom(16)).decode())"

Package the Project

Once in the macros project directory:

cd path\to\macros
mvn package

Create a batch file to simplify the execution of the macros project, it will look like.

@echo off
java -jar target/macros-1.0.jar %*

and run it from the command line or add it to the start-up folder.

Future Features

  • active window macros maybe

Contributing

Contributions are welcome! Feel free to submit pull requests, open issues, or suggest improvements.

About

The Java Macros Project is a solution aimed at automating repetitive tasks and boosting productivity. This project provides a platform for users to define, manage, and execute custom keyboard macros, effectively streamlining complex workflows and simplifying routine processes.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages