dzejar Posted March 22, 2020 Share Posted March 22, 2020 Hey guys, would you consider to add PowerShell into pick-up menu in Run Script action? I like that shell and I would love to use it for my Alfred workflows... Best Regards and Take Care! - Jan Link to comment Share on other sites More sharing options...
deanishe Posted March 22, 2020 Share Posted March 22, 2020 (edited) You don't need explicit support for a language. Use a separate executable script with the appropriate shebang and set Language = External Script, or use Language = /bin/bash and treat the Script box like a shell prompt to run your script (/path/to/interpreter ./scriptname "$1"). Edited March 22, 2020 by deanishe Link to comment Share on other sites More sharing options...
dzejar Posted March 22, 2020 Author Share Posted March 22, 2020 Yep, I do that. But it is annoying to create a separate file when I need to add just one one-liner written in PS into my workflow. Direct support would be superb! - Jan Link to comment Share on other sites More sharing options...
vitor Posted March 22, 2020 Share Posted March 22, 2020 14 minutes ago, dzejar said: Direct support would be superb! Alfred can’t give you direct support because PowerShell isn’t installed by default. You’ll notice all the interpreters point to the paths that come bundled with macOS—for good reason, Alfred can’t easily guess what you have installed yourself and where and what you want to use, and pointing to something that’s not there by default would lead to issues. Link to comment Share on other sites More sharing options...
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