Trying to connect Soundflow to Keyboard Maestro on new machine
System Information
SoundFlow 5.0.6
OS: darwin 20.6.0
ProductName: macOS
ProductVersion: 11.6.4
BuildVersion: 20G417
Steps to Reproduce
- Run Keyboard Maestro action for first time
- popup asking to allow Soundflow to control Keyboard Maestro
- Thought It hit ok....
- Not able to control Keyboard Maestro
Is there a way to reset this connection?
Expected Result
Thought I hit ok... Keyboard Maestro script should run
Actual Result
Nothing
Workaround
No
Other Notes
Secondary machine (laptop) in Big Sur v11.6.4
Links
User UID: qocpwEcEL4UVPS7SLjFvSZGr0MN2
Feedback Key: sffeedback:qocpwEcEL4UVPS7SLjFvSZGr0MN2:-Mw5A7z6RWvRoDcd6O1w
- Christian Scheuer @chrscheuer2022-02-17 10:09:25.106Z
Hi Joe,
Which method are you using to control KM with? It sounds like you may be using AppleScripts?
I believe there are methods you can use that don't require this authentication.See here:
Controlling Keyboard Maestro with Soundflow #post-8 - JIn reply toJoe_Trapanese⬆:Joe Trapanese @Joe_Trapanese
Christian, so very sorry - I totally forgot to say I'm experimenting with a Stream Deck setup in addition to our iPad set up. I'm using some of Stream Deck's own functionality and installed the Soundflow Stream Deck package.
So this is via Stream Deck.
-Joe
Christian Scheuer @chrscheuer2022-02-17 23:45:05.068Z
Hi Joe,
Thanks for the additional info. What I was asking for was how your macro in SoundFlow looks like that you want to control KM?
If you're seeing the above error, it indicates that your macro is using AppleScript, as I mentioned. If you want help with the macro, please check the post I linked to.
If you're controlling KM directly from Stream Deck without SF, then this question isn't about SF.
It sounds like you're trying to build a very complex setup if you're intending to use both the Stream Deck app, KM and SoundFlow. Please note that we recommend not to do this as it is much more difficult to set up correctly.
To get you help with this, please be much more specific in describing the actual setup you have, ie. share the macro/script you're using in SF, how it's hooked up to Stream Deck, etc.
The post I linked to will show you how to control KM from SF without AppleScripts. If you need help invoking SF scripts from your Stream Deck, then you'd need to look at our guide for setting up SF with the Stream Deck app, etc.But from the information you're giving, it's very hard to know what exactly you're trying to do and where it goes wrong.
- JJoe Trapanese @Joe_Trapanese
Thank you so much Christian.
For the full details of the script, I'll have to loop in my assistant Derek who built the script using a combination of Soundflow and Keyboard Maestro.
But to hopefully clear this up:
See this link -
https://soundflow.org/store/trigger-keyboard-maestro-actionsand this specifically:
"When you run it for the first time you might see a popup asking you to allow SoundFlow to control Keyboard Maestro"I saw this popup on my laptop, thought I selected "ok", but I'm thinking I must have instead selected "cancel" or whatever the other option is -
Because while this interaction works on my main machine (which already has SoundFlow triggering Keyboard Maestro properly), it does not work on my laptop.
When I brought the Stream Deck setup home to work on my laptop yesterday, this popup happened and I cannot get Stream Deck to trigger the same SoundFlow script (which uses Keyboard Maestro) on my laptop.
Sorry for all the words! Trying to be clear.
So the question really is - is there a way to "reset" this popup dialogue when? Is there a way to "undo" whatever I may have accidentally clicked on ('do not allow' or whatever is the other option!)?
Christian Scheuer @chrscheuer2022-02-18 10:18:03.801Z
Gotcha, thanks for the additional info.
Yea this package from Benjamin Hörbe uses AppleScript under the hood, which is why you're seeing the popup in the first place. That clarifies this bit.
To reset all permissions for SoundFlow, try doing this:
- quit SF entirely (click SF icon, choose Quit)
- run this in Terminal:
tccutil reset All org.soundflow.sfsx
- then relaunch SF from Applications.
You may need to grant SF permissions to control the computer again.
Christian Scheuer @chrscheuer2022-02-18 10:19:31.467Z
Make sure when you're testing this that you're testing the SoundFlow script that uses KM directly from within the SF app. Ie. click on the "Run Script" or "Run Macro" button when you have this particular macro/script selected.
That should test SoundFlow -> KM.Once you have that working, test the connection from Stream Deck -> SoundFlow.
That should make it easier to troubleshoot where things go wrong.
- JIn reply toJoe_Trapanese⬆:Joe Trapanese @Joe_Trapanese
That did it! Thank you so very much for your help figuring this out, Christian!
Christian Scheuer @chrscheuer2022-02-18 19:35:56.907Z
Awesome :)