andy4222 Posted April 9, 2023 Posted April 9, 2023 (edited) Hi Alfred community, I'm working on a workflow that requires a user input form (like below) to show up so we can gather multiple input fields from the user. How can I accomplish that? Things thought/tried - I thought we could chain multiple Script Filters together, each asking for one input, but that isn't intuitive and the user can only see one input at a time. - Another was using one script filter with separator between each input field ( input1<separator>input2<separator>input) and then split the input based on the separator. That isn't intuitive as well. The Alfred bar can only show few chars and user has to keep entering separator every time. Edited April 9, 2023 by andy4222 Alan He 1
zeitlings Posted April 30, 2023 Posted April 30, 2023 Hey @andy4222, there is no way to do this with Alfred as far as I know. However, you can build it yourself from scratch. I just finished an experiment that raises a graphical prompt that passes the values you enter to Alfred. This works by wrapping the GUI, i.e. SwiftUI components, in an NSWindow instance. To make it work for your needs, you will need to customize the SwiftUI view and its components. I think the results are quite promising though. 😄 You can download the experiment here kpw, JJJJ and andy4222 2 1
andy4222 Posted June 1, 2023 Author Posted June 1, 2023 @Andrew Wanted to check if we can expect something similar in Alfred in the near term? If not, then it makes sense for us to integrate with zeitlings dialog tool
andy4222 Posted November 5, 2023 Author Posted November 5, 2023 Just checking in (since its been a few months) if there is a way to accomplish this now? @vitor maybe you can direct us on a certain path
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now