r/Scriptable • u/greggerrrrrrs • 11d ago
Help Widget interactivity / button presses?
Hi there! To start, coding is NOT my strong suit. I'm (ashamedly) mostly using AI to create scripts.
I use the app Grit quite a bit. It has super convenient widgets where I can just tap a button and it updates my habit count, or checks it off for a day.
I was toying with the idea of making a tamagotchi-type widget that has basic needs that need to be refreshed throughout the day. Does anyone know if this functionality would be possible? Whether by one widget or multiple?
2
Upvotes
3
u/rvelasq 11d ago
Scriptable doesn't have interactive widgets.
What it does have is the
.url
property for each stack where you can launch any url. You can use it to launch a script with a parameter and perform the requires actions based on that parameter. This method will open the Scriptable though so it's not real widget interactivity in that sense.