Jump to content

Trouble authorizing nut.js when run in alfred workflow


Recommended Posts

Hey ! 

I'm trying a small project to get used to alfred workflows, and I'm trying to build a small lorem ipsum generator that would auto-type my lorem string into whatever input is focused.

My repo is over here : https://github.com/polfor/Alfrem-Ipsum

Nut.js requires that you authorize the process running the script for computer control, but I can't seem to make it work. I have tried authorizing :
 

  • Alfred (already authorized)
  • Node.js's runtime (/usr/local/bin/node)
  • zsh (/bin/zsh)
     

It looks like the process running the script is neither of those because the debugger returns the following Nut.js error :

 

##### WARNING! The application running this script tries to access accessibility features to execute typeString! Please grant requested access and visit https://github.com/nut-tree/nut.js#macos for further information. #####

 

Has anyone found which process runs those scripts ?

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...