Custom shortcuts and modules

Any progress on this issue? Running into the same here.

For anyone like me stuck trying to trigger a specific script on a module in response to a parent app shortcut, I found a somewhat clunky workaround in these docs that helped Build modules to reuse queries and components | Retool Docs

Essentially, you can use a variable in the parent app as an input to the module whose value is the timestamp of the last time the hotkey combination was pressed. In the module, use a JSON SQL query to watch the input with a success handler that runs the script you'd like to fire on success. Any time the timestamp changes, the script runs.

1 Like