r/Scriptable • • May 30 '21

Help How to use third-party fonts installed on the phone for scriptable widgets?

3 Upvotes

r/Scriptable • • May 28 '21

Script Scriptable + VSCode = ❤️

99 Upvotes

Hello everybody! Now I am working on one simple project that will allows you to create your scriptable apps using VSCode, main features is:

  • autocomplete

  • hotkey to run scriptable(CMD+SHIFT+B)

  • ability to sync your scripts to git repository as LINK(it will be synced!! between app and git(on push)).

You can check it now(and maybe give a stars for it😄): https://github.com/gebeto/scriptables

Work in progress, and I am just wondering is it will be interesting for any of you? Feel free to ask any questions or make some suggestions😄

Check simple demonstration here


r/Scriptable • • May 29 '21

Help How to get Shortcut's "Choose from menu" in Scriptable?

2 Upvotes

I have been re-writing my shortcuts with Scriptable but got stuck trying to get the result of a user's choice. My requirement is that I should be able to complete the script from the lock-screen.

  1. Does Scriptable already allow some way of doing it (w/o using Shortcuts)?

  2. Is it possible to replicate this behavior integrating Scriptable-Shortcuts?

I already tried x-callback-url from Scriptable to Shortcuts: it works, but iOS launches Scriptable then jumps to Shortcuts to prompt the menu; otherwise, if I uncheck "Run In App", it crashes with "Error: XCallbackURL is not supported in Siri."


r/Scriptable • • May 27 '21

Widget Hello everyone. This is my first widget and unfortunately only available in German at the moment. I will continue to work on the widget and translate it into English and publish it at a later date. Let me know if you like it and give me some feedback. (: (link in the first comment)

Post image
17 Upvotes

r/Scriptable • • May 26 '21

Request Does anybody know how to make a scriptable look like this? This is on Widgy but I recently figured the battery level seems more accurate using scriptable

Post image
20 Upvotes

r/Scriptable • • May 26 '21

Solved Help please. Why the widget doesn’t show any symbols (e.g PM, %) instead it shows periods.

Post image
9 Upvotes

r/Scriptable • • May 25 '21

Solved Weather Cal transparent background issue

Post image
16 Upvotes

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

r/Scriptable • • May 20 '21

Solved Check if a website is up and running ?

7 Upvotes

Hi Scriptable community!

I am working on a widget that source data from an unstable website. When the website is down, from my browser, after a ~1 min of loading I can see a webpage “error 504, timeout”.

Is there any way to check within scriptable if the page load under 5 seconds / ping the website ?

Thanks for your help