Skip to content

QuickAdd User Script step unusable — input accepted but Add/Browse disabled, script never runs #895

@kronniq

Description

@kronniq

When adding a User Script step to a Macro, QuickAdd does not allow selecting or attaching a script.

The input field accepts text.
The Add button, which becomes visible once data in input field, is not greyed out but unresponsive.
The Browse button is permanently disabled (greyed out).
Entering a script path manually (e.g. _scripts/my_script.js) and pressing enter does not register, and the script never runs.

Steps to reproduce:

Create a script file in the vault:

    _scripts/my_script.js

    Contents:

    module.exports = async (params) => {
        return "test";
    };

Restart Obsidian.

Create a new QuickAdd Macro.

In Macro editor, try to Add Step → User Script.

Observe:
    Input box accepts text.
    Add/Browse are greyed out.
    Path entry doesn’t work.
    Macro won’t run script.

Expected behavior:
QuickAdd should allow attaching a .js script via the Browse button or by typing the relative path, and run the exported function when the Macro executes.

Actual behavior:
UI is disabled, path entry ignored, script never runs.

Environment:

Obsidian v1.9.10>
QuickAdd v2.1.0
OS: ubuntu 24.04
Kernel: 6.14.0-28-generic

Additional notes:

Tried both _scripts/ in vault root and .obsidian/plugins/quickadd/scripts/.
Tried minimal module.exports script.
Tried multiple restarts of Obsidian.
Same result: User Script step non-functional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions