-
Notifications
You must be signed in to change notification settings - Fork 9
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
Does Nothing in Big Sur #2
Comments
Yeah, I think there is a problem with those example. Some other guy opened yesterday this issue and I explained here #1 how to make it work... and he did it. I also think there is a problem and the code script is not being loaded until you restart stream deck. I will look that ASAP. |
It seems like you have to restart stream deck to make it work. But, specifically, you have restart stream deck after *each* new script / button is created.
Jesse London
503-577-2224
Jesse L. London, Attorney at Law
… On Mar 13, 2021, at 2:03 PM, Gabriel ***@***.***> wrote:
Yeah, I think there is a problem with those example. Some other guy opened yesterday this issue and I explained here #1 <#1> how to make it work... and he did it. I also think there is a problem and the code script is not being loaded until you restart stream deck. I will look that ASAP.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADM4AAJ3GIQSRWM5SITNXILTDPOL7ANCNFSM4ZDSQN6A>.
|
Ok. I'll try to fix it 👍 |
Same problem here. The work around is indeed to restart Stream Deck after any manipulation to a script. |
@oschrenk sorry about that, I couldn't find time to fix it. I'll try to do it this week |
In macOS Big Sur 11.4: The first time I restart Stream Deck after having associated my first script to a button, I get presented with the below message when I click that button (in that case I interact with Finder). The message subsequently doesn't appear when I restart Stream Deck again and I press that button. |
In 11.5.2, OSAScript execution fails silently, and doesn't invoke the permissions window. The only log generated by ~/Library/Logs/StreamDeck just confirms the user action:
Edit: To note, I've followed the steps above, and restarted each time I've created a new button/script. |
It seems you can unplug and replug the StreamDeck instead of closing the software. |
The need to restart after changing/adding a script still applies. pkill -HUP -f 'Stream Deck.app/Contents/MacOS/Stream Deck' && open -a Stream\ Deck However, I was able to find out why some AppleScripts wouldn't work. Some actions aren't allowed from the StreamDeck executable. Running the following. display dialog "FooBar" Makes this appear in the system logs.
And by simply changing it to tell application "Finder"
activate
display dialog "FooBar"
end tell I assume this has something to do with sandboxing. |
The problem with restarting the StreamDeck Application in macOS after every change in your script still exists. |
This is it. It has to be done every time you change a script. |
On Ventura 13.0, cannot get this script to run even after restarting both Steam Deck and the whole OS. Relatively new to Apple Script so not 100% sure where to check in logs to see what occurs when I click the button. Can confirm script runs fine from terminal manually though.
|
Right as for dialog, I just had to put it within the tell; Then I was able to run my script. I Also did not need to restart the stream-deck, but rather change profile and then reload (change back to my edited profile). There is likely some command that can be run, maybe a button added to "Apply" (silently reloading / re-initialising) the plugin. My Script
|
Tried using the sample Recipes scripts on brand new Stream Deck 4.9.3 and does nothing at all.
The text was updated successfully, but these errors were encountered: