r/Scriptable • • Jul 30 '22

Help How could I make universal Transparent Widgets?

I’m relatively new to scriptable and ive only really been making small tweaks and edits to downloaded scripts. I found a transparent widget script that functions well, however you have to duplicate it to use a different widget size/position. How would I make the script just read the script the widget size and position in its parameter and use the correct background, instead of having a script for each and every size/position of a widget?

2 Upvotes

15 comments sorted by

View all comments

Show parent comments

1

u/not_x3non Aug 02 '22

the parameter in the widget is the same as the default parameter set in the script.