marlabs Posted July 5, 2017 Share Posted July 5, 2017 (edited) Hi I have very simple workflow with "Script filter" and whenever I put space after keyword I get fallback results, please see video: http://take.ms/PdLss Im also getting "JSON text did not start with array...." error in debug console - but why json ? I tried set different escaping options but without any luck. Thanks for help. I think this is a bug, because when I create separate blocks - keyword and script it is working as expect. http://take.ms/JuZBV Edited July 5, 2017 by marlabs Link to comment
Andrew Posted July 5, 2017 Share Posted July 5, 2017 @marlabs The Script Filter is for populating results into Alfred, and as such, a specific JSON output is expected. https://www.alfredapp.com/help/workflows/inputs/script-filter/ You can get an example to get you started from the + button bottom left of the workflow preferences, select "Getting Started > Script Filter" which will give you a working example. Cheers, Andrew Link to comment
marlabs Posted July 5, 2017 Author Share Posted July 5, 2017 Hi, thanks for response and sorry for my stupid post Now all is clear for me. Link to comment
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