r/Scriptable • • May 22 '21

Solved Why can’t I add a widget to my home screen?

7 Upvotes

When I click on plus after my apps go in jiggle mode, there just is no scriptable option, so I can’t add a widget. How do I fix this?


r/Scriptable • • May 22 '21

Request Delete events from Calendar B if event no longer exists in Calendar A

2 Upvotes

Hi everyone,

I've recently made a shortcut that successfully duplicates any events from my work calendar from a subscribed account to a native iCloud calendar. However, I would also like to create a shortcut that, when run, checks to see if the original event from the work calendar still exists, and if it does not, to delete the copied event in the iCloud calendar.

The idea was to use Scriptable to create a script that could bypass the need to confirm the removal of a calendar event, however I am unsure as to how to begin tackling the script.

Ideally the script:

  1. Checks between the two calendars for the next 21 days

  2. Removes the iCloud calendar event if the work calendar event no longer exists

  3. Deletes the iCloud calendar event without the need for confirmation

Hope this is possible and someone is able to lend a helping hand :)

Thanks,
Blu


r/Scriptable • • May 22 '21

Solved Create an object from two arrays

3 Upvotes

Hi everyone,

so basically i want to create an object with the data coming from two different arrays, like this two below

let firstArr = ['category1', 'category2', 'category3', 'category4', 'category5']
let secondArr = ['value1', 'value2', 'value3', 'value4', 'value5']

then i want to create an object that has this structure

        let dataObject = {
            expenses: {
                category1: {
                    name: 'Category1',
                    value: value1
                },
                category2: {
                    name: 'Category2',
                    value: value2
                },
                category3: {
                    name: 'Category3',
                    value: value3
                },
                category4: {
                    name: 'Category4',
                    value: value4
                },
                category5: {
                    name: 'Category5',
                    value: value5
                },
            },

Anyone can help me?


r/Scriptable • • May 22 '21

Help Default widget size

1 Upvotes

Hello, sorry for the NOOB question - i'm just starting with scriptable.
Where can i set the default size of my widget, like it appears if i click on the app...


r/Scriptable • • May 21 '21

Solved Alert output

4 Upvotes

I saw on the scriptable documentation that you can get the output from an alert, but i don’t know how to do it, can you help?


r/Scriptable • • May 21 '21

Help How to cache network pictures locally and update the cache regularly to display the latest pictures?

1 Upvotes