Skip to content

Releases: BarryAllen53/macroStudio

Macro Studio 1.0.1

Choose a tag to compare

@github-actions github-actions released this 07 Aug 14:13

Fixes chords being flattened during playback.

The problem

When two keys overlapped in a recording, the release of the first key was injected in the same system
call
as the press of the second. Windows delivers such a call atomically, so the moment where both keys
were held together disappeared entirely: the target application saw two unrelated keystrokes instead of the
combination, and typically acted only on the second one.

Raising the playback speed made it worse. A chord recorded 44 ms apart and replayed at 3x had its overlap
divided as well, shrinking it below anything an application samples.

The symptom, from a real macro that pressed left arrow together with escape and T together with I: only
escape and I reached the game. The other two keys were injected, but never at a moment the game could
observe them.

The fix

  • Presses now only ever travel in the same system call as other presses, and releases only with releases.
  • A release is held back until the most recently pressed key has been down alongside it for at least the
    minimum hold time, so speeding a macro up can no longer shrink an overlap to nothing.

Macros made of separate keystrokes are unaffected. If your macros hold keys together — game combinations,
modifier combinations, movement plus action — this release is worth installing.

Install

Download macroStudio-1.0.1.nvda-addon below and open it. Requires NVDA 2023.1 or later.

Verifying the download

SHA-256  d9c21cec89127ba91e02a8096b1abab858956f2b3927efed4414b53e427f9fa2  macroStudio-1.0.1.nvda-addon

Macro Studio 1.0

Choose a tag to compare

@BarryAllen53 BarryAllen53 released this 07 Aug 09:47

First release of Macro Studio.

Macro Studio continues the work of NVDA Macro Manager
by Muhammet Enes �enoval� as a separate add-on, so that development can carry on actively. The keyboard
engine was rewritten and around twenty defects were fixed before this release.

Install

Download macroStudio-1.0.nvda-addon below and open it. NVDA asks for confirmation and then restarts.

Requires NVDA 2023.1 or later.

Highlights

  • Keys pressed together are replayed together. A chord is injected with a single SendInput call
    instead of one key after another, and overlapping or held keys keep their recorded order and timing.
    Previously every key was collapsed into an isolated press, which destroyed every overlap.
  • Keys arrive as the key you chose. Keys picked from the list now carry their real scan code and
    extended flag, so arrows, Insert, Delete, Home, End, right Ctrl, right Alt and numpad divide
    no longer turn into a different key. The list also no longer replaces standard letters with layout
    specific keys.
  • Every playback message works again. A loop variable shadowed the translation function, so all
    spoken feedback from playback failed silently.
  • No more duplicate or stray keystrokes. Partially rejected batches were resent in full, and a race
    allowed the same macro to run twice at once.
  • 17 languages. Arabic, Azerbaijani, Chinese (simplified and traditional), Dutch, English, Filipino,
    German, Hindi, Kurdish (Kurmanji and Sorani), Portuguese (Brazil and Portugal), Russian, Spanish,
    Turkish and Vietnamese. The German and Spanish catalogues of the original add-on were keyed to obsolete
    source strings and never actually applied.

The full list is in CHANGELOG.md.

Verifying the download

SHA-256  9a867dbbef5cb1eaf3cb83b0d49a3932e3e30a6a45cd24f3c2713c5c1a3ed910  macroStudio-1.0.nvda-addon

Full Changelog: https://github.com/BarryAllen53/macroStudio/commits/v1.0