Ah, I realized my explanation wasn't clear enough. The script isn't meant to be run within a widget, you just run the code from the Scriptable app itself. It'll walk you through the process of creating the blurred background image, which you can use in any widget (I saw a cool one in Widgy on Twitter).
The screenshots I posted use the Weather Cal widget, which does take a bit of setup (explained on the GitHub page). So I've created the backgrounds using the blur code and then added them to Weather Cal.
I hope this helps! Let me know if you have other issues.
You would still need to copy this code into the Scriptable app. When you run the code (using the "play" button) it'll walk you through the steps, and at the end, you can export the image to the Photos app. Then, in Widgy, just use that photo as the background for your widget. Does that make sense?
Personally, I've only used Scriptable and Widgetsmith. I found Widgy to be complicated enough that I'd rather just code in Scriptable (that's why I made Weather Cal in the first place)
Pretty sure this is a result of the error in line 119. I only wish I knew how to fix it. Removing the ‘ from the line resolves the alert error but creates a new one. Anyone know what const js SHOULD equal?
7
u/sametkayaghae Nov 02 '20
“alerts are not supported in a widget” ☹️
what does this mean ?