Jump to content

PowerShell for Run Script action?


dzejar
 Share

Recommended Posts

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

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 by deanishe
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...