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

Can't toggle Configuration options (Alfred 4) #63

Open
eduwass opened this issue Dec 31, 2020 · 4 comments
Open

Can't toggle Configuration options (Alfred 4) #63

eduwass opened this issue Dec 31, 2020 · 4 comments

Comments

@eduwass
Copy link

eduwass commented Dec 31, 2020

When trying to toggle through Alfred GUI (sshconf) it throws an error, looks like it's looking for Alfred 3 app, I'm using Alfred 4:

    08:50:41 1m11.562061563s since last check for update
    08:50:41 [toggle] DISABLE_KNOWN_HOSTS ->  "1"
    08:50:41 ------------- [/usr/bin/osascript -l JavaScript -e Application('Alfred 3').setConfiguration("DISABLE_KNOWN_HOSTS", {"exportable":true,"inWorkflow":"net.deanishe.alfred-ssh","toValue":"1"})] ---------------
    08:50:41 execution error: Error: Error: Application can't be found. (-2700)
    
    08:50:41 ----------------------------------------------
    08:50:41 [ERROR] exit status 1
    08:50:41 Get help at https://github.com/deanishe/alfred-ssh/issues
    08:50:41 ------------------ 239.648178ms ------------------
    08:50:42 -------- Secure SHell/0.8.0 (AwGo/0.14.0) --------
    08:50:42 [bind] unbindable kind: ptr

Demo

ScreenShot.2020-12-31.at.09.25.47.mp4

The error can be bypassed by manually going into the workflow configuration sheet and setting the DISABLE_* values in there.

@bradgarrett
Copy link

I am unable to fix this error. Using Alfred 4.6.6. @eduwass can you clarify how you fixed it?

@eduwass
Copy link
Author

eduwass commented Jun 25, 2022

Sure @bradgarrett

CleanShot 2022-06-25 at 18 14 12

Go into Alfred preferences > Workflows and:

  1. Click the SSH workflow
  2. Click the variables button
  3. Edit the values that you need

Save changes

@bradgarrett
Copy link

@eduwass Thanks. This doesn't seem to fix anything for me. I still cannot edit the config files using sshconf ____ from Alfred. Did you also change the reference to Alfred 3 to Alfred 4?

@eduwass
Copy link
Author

eduwass commented Jul 3, 2022

@bradgarrett it's a workaround to be able to set up the config values manually, not a fix

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

No branches or pull requests

2 participants