Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Alfred workflow #195

Merged
merged 1 commit into from Dec 6, 2021
Merged

Fix Alfred workflow #195

merged 1 commit into from Dec 6, 2021

Conversation

danielbayley
Copy link
Contributor

@danielbayley danielbayley commented Nov 22, 2021

@IvanVas
Copy link

IvanVas commented Nov 30, 2021

Works like a charm, thanks!

@kazak1377
Copy link

Works like a charm, thanks!

Excuse me, how can i build it to add to alfred?

@IvanVas
Copy link

IvanVas commented Dec 1, 2021

Works like a charm, thanks!

Excuse me, how can i build it to add to alfred?

I edited the script file directly in the workflow. The location you'll find in the n Script Filter block.

@nikolaeu nikolaeu merged commit a4be1b9 into nikolaeu:master Dec 6, 2021
@nikolaeu
Copy link
Owner

nikolaeu commented Dec 6, 2021

Thank you @danielbayley, merged

@KhimairaCrypto
Copy link

KhimairaCrypto commented Dec 14, 2021

Something still broken! I tried "n 200btc to usd" and no data :-/. if I ran the same command in the Numi main app it works!. Seems like the workflow does not like white spaces. I tried "n 2+2" and no issues!

@natashh
Copy link

natashh commented Dec 16, 2021

Hi All, Thank you for a such a great plugin. Do you know how I can use it with Monterey OS and Alfred 4?

@gustavosaez
Copy link

@natashh

Hi All, Thank you for a such a great plugin. Do you know how I can use it with Monterey OS and Alfred 4?

Just download this file and try it.

Let me know if it works.

@natashh
Copy link

natashh commented Dec 16, 2021 via email

@gustavosaez
Copy link

@natashh

Hi, Unfortunately it is not working for me.

Right, try this one
Numi Fixed.zip

If it still not work, try this another one: https://github.com/biati-digital/alfred-calculate-anything (It's another workflow that doesn't need Numi installed).

@natashh
Copy link

natashh commented Dec 16, 2021 via email

@KhimairaCrypto
Copy link

Seems like I am not the only one that has issues with the latest release :-(

@natashh
Copy link

natashh commented Dec 22, 2021 via email

@danielstonehouse
Copy link

@natashh @KhimairaCrypto I installed the Numi Fixed.zip and it works for me on m1 on Monterey 12.0.1

I also needed to install PHP via homebrew

@danielstonehouse
Copy link

danielstonehouse commented Jan 15, 2022 via email

@rybchynski
Copy link

It works as expected, thank u a lot!

@dqbd
Copy link

dqbd commented Jan 27, 2022

Works as expected! Thanks!

@faaarmer
Copy link

faaarmer commented Feb 11, 2022

Thanks, installing PHP did it for me too.
Should add that to the docs.

Wait - it looks like it was just the Numi fixex.alredworkflow that fixed it.

@temple-1
Copy link

temple-1 commented May 2, 2022

worked for me with fixed version with PHP Thanks @gustavosaez

@m-powa
Copy link

m-powa commented May 5, 2022

Thanks, installing PHP did it for me too. Should add that to the docs.

Wait - it looks like it was just the Numi fixex.alredworkflow that fixed it.

Same here, just install Numi Fixed workflow without PHP and it works fine for me.

@tadamcz
Copy link

tadamcz commented May 18, 2022

The Wiki (https://github.com/nikolaeu/numi/wiki/Alfred-Integration) still links to the outdated release of the workflow. I don't see the new .alfredworkflow file in the latest release, so I can't proposed a fix to the Wiki.

@bambalados
Copy link

Finally got it running!

The latest Numi Fixed.zip by @natashh and installing php via Homebrew as mentioned by @danielstonehouse sealed the deal!

Hope this helps everyone how find themselves lost here

@natashh

Hi, Unfortunately it is not working for me.

Right, try this one Numi Fixed.zip

If it still not work, try this another one: https://github.com/biati-digital/alfred-calculate-anything (It's another workflow that doesn't need Numi installed).

@SheriffOfNotts
Copy link

It's working, but weirdly the "=" shortcut doesn't? Anyone else seeing this?

@rafaelpirolla
Copy link

rafaelpirolla commented Aug 21, 2022

This works for me:

  const query = encodeURIComponent(input)
  const curl = `curl --get 'http://localhost:${port}?q=${query}'`
  //const curl = `curl -G --data-urlencode 'q=${input}' http://localhost:${port}`

Also need to add the other pull request for Alfred 5:

try {
	alfred = Application('com.runningwithcrayons.Alfred')
} catch (error) {}

I'm running Alfred 5.0.1, Numi 3.30 and Monterey 12.5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet