Inject-Node trigger via Hotkey?

Is it possible to trigger the Inject node directly via hotkey after I have selected it?

grafik

Welcome to forums @foreversun69

it is not - Nodes do not have a concept of attaching to keyboard events (at least not in the way you want)

to see hotkeys.

Hamburger menu -> Settings -> Keyboard

@marcus-j-davies This was originally posted to Redit and I suggested it was posted here so it could be discussed as a potential feature request.

My thought was to explore toggling any button on a node, e.g. both inject and debug from the keyboard if the node is selected.

2 Likes

Ah!

Didnā€™t see the tag!
Iā€™ll move it to feature requests. :+1:

I'm not sure yet how but we can generalize it to the selection whose nodes have a button.

1 Like

My initial thought, what happens if I have two or more inject buttons? The selected one? Seems a little confusing from a UI perspective ...

Or does it stop working if there are more than one inject button on the current flow tab?

EDIT: Ah sorry so it's all selected inject nodes ... ok But would that mean I would have to select the inject node and then use the hotkey to activate the button? Won't that be the same as just clicking the inject button - if I have to select it first?

I think this feature is for a keyboard person! and may be injecting many nodes at once

1 Like

True, using the arrow keys to navigate and then having a shortcut to trigger a button does make complete sense.

It shows what a difference there is between laptop with touchpad versus keyboard with mouse on desk. I don't mind using the mouse because I use the former setup.

The primary goal is to trigger the button action of all selected nodes. In short, rather than clicking on one button then the second... we select multiple nodes and trigger the actions at once.

Then, indeed, it is a trigger with the keyboard which can please a certain audience.

1 Like

Now I could be pedantic and point out that wiring multiple injects together (or rather to those nodes they connect to) using a single inject (the so-called uber-inject!) would do the same thing :wink:

Of course, the problem is that each inject has different values that they are passing into their connected nodes.

Speaking of which, I've always wished for a way to convert an inject into a change node - exactly because I've defined a bunch of variables in the inject node and now want to convert the flow to be triggered by something else (other than by my mouse). It's always a case of copying everything from the inject to the change node .... :frowning:

may be like an MS Office application, where you press ALT key to activate MENU and then press the HOTKEY to trigger the selected item?

so if an inject node is 125,

<ALT>+125+<Spacebar>

shortcut_inject

so as in your animation, alt would highlight the index values and then a user could type the right value and hit enter (or space).

also not a bad idea :+1:

I also like the idea but it's another FR because it's an aid for a reduced person.

I don't know what's more useful to select a node between a number (as badge) or using the arrows (keys) to move from one node to another?

EDIT: the second already exists.

+1 for the arrow keys - having an indexing of nodes would be a major restructuring of the editor code ...