Jump to content

Count of words don't work on Alfred


Recommended Posts

Trying to make Oxford pronounce fewer than 5 words, and the System 'say' more than 4 words.  The bash script is simple and used to work and works on Terminal, but I don't see why it doesn't work now, and always goes to System say (oa is a script that resorts to Oxford web page to pronounce it)

image.thumb.png.79a24485927b5da7df4bc4b92dfa3356.png

Link to comment

You’re using with input as argv but have written {query} every time. Either switch to with input as {query} or (better) replace every instance of {query} with ${1}.

 

Bash doesn’t have a concept of {query}, so your code won’t work in a terminal as is.

 

Edited by vitor
Link to comment

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
×
×
  • Create New...