Skip to content

Command macros: run from the green button - #73

Open
f1adang wants to merge 2 commits into
bdring:mainfrom
f1adang:feat/command-macros-green-button
Open

f1adang wants to merge 2 commits into
bdring:mainfrom
f1adang:feat/command-macros-green-button

Conversation

@f1adang

@f1adang f1adang commented Sep 17, 2026

Copy link
Copy Markdown

"cmd:" macros could only be run from the dial. The green button and a tap
tried to open a file preview for a command line.

  1. Green button and tap run command macros directly.
  2. (Separate commit, open to discussion) For command macros only, the button
    and its legend are also available when the machine isn't idle, where
    job-control commands are useful. File macros still require Idle.

f1adang and others added 2 commits September 17, 2026 18:55
The green button and a tap call invoke() without "Run", which opens the file
preview. A "cmd:" macro has no file, so invoke() pushed the preview scene with
a command line as its filename. The command could only be run from the dial.

Run command macros directly from the green button and a tap, label the button
"Run" for them, and never open the file preview for a command.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The green button and its legend only worked in Idle, but job-control commands
are mostly useful while a job is held or running. The dial already runs
commands in any state, just without a legend saying so.

For command macros only, drop the Idle requirement from the green button and
show the "Run" legends in any state. FluidNC still accepts or rejects each
command. File macros are unchanged and still require Idle.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant