You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a script that lists my projects with the ability to open them in multiple places using CMD+K actions.
In my case, the actions are built dynamically based on the projects I fetch from an external resource, so I create them as part of arg({choices[x].actions}).
The first problem appears with the shortcuts, which do not work by default until you open the actions with CMD+K for the first time. After that, you can trigger an action with a hotkey without opening the actions menu. This also works fine when defining actions as the 3rd argument of arg (which lacks the ability to build actions based on the choice data).
I'm not sure if this is a bug or a feature request. The fuzzy search inside the actions is not working correctly. For example, it fails to find git* or ci*.
Script example
// Name: action bug testimport"@johnlindquist/kit";awaitarg({choices: [{name: "First",value: "first",actions: [{name: "Open in github",shortcut: "cmd+g",asynconAction(){console.log("Opening git.");},},{name: "Open in circleci",shortcut: "cmd+c",asynconAction(){console.log("Opening circleci.");},},],},],});
I have a script that lists my projects with the ability to open them in multiple places using CMD+K actions.
In my case, the actions are built dynamically based on the projects I fetch from an external resource, so I create them as part of
arg({choices[x].actions}).The first problem appears with the shortcuts, which do not work by default until you open the actions with
CMD+Kfor the first time. After that, you can trigger an action with a hotkey without opening the actions menu. This also works fine when defining actions as the 3rd argument ofarg(which lacks the ability to build actions based on the choice data).I'm not sure if this is a bug or a feature request. The fuzzy search inside the actions is not working correctly. For example, it fails to find
git*orci*.Script example
CleanShot.2025-08-14.at.19.27.18.mp4
PS: I am using ScriptKit
3.45.1