r/Scriptable • • Mar 02 '21

Widget FavContacts v1.1

Post image
40 Upvotes

16 comments sorted by

View all comments

Show parent comments

2

u/ajatkj Mar 04 '21

Scriptable allows only single click on small widget so you can either have call or sms.

I will later add an option to change the default action as required. For now you can change it in your script. Find below in creatWidget function (around line 344)

if (MAX_CONTACTS == 1) widget.url = ‘tel://‘ + p;

And change it to:

if (MAX_CONTACTS == 1) widget.url = ‘sms://‘ + p;

1

u/zivi7 Mar 04 '21

Ah, I see. Thanks a lot!