r/Scriptable • u/Sharn25 • Jul 30 '23
Widget Sharing SkyPage - A weather Widget
I simple weather widget for your iOS setup. I developed it based upon a concept of weather app designed by Viviana Zontag.
r/Scriptable • u/Sharn25 • Jul 30 '23
I simple weather widget for your iOS setup. I developed it based upon a concept of weather app designed by Viviana Zontag.
r/Scriptable • u/ComprehensiveSuit218 • Jul 06 '23
r/Scriptable • u/rumble_paradox • May 02 '23
If you are sick of Javascript's inability to predict errors and love writing Scriptable scripts, I present a package I have made using npm: TypeScript typing for Scriptable Scripts! (Please bare in mind this is only available to use on a computer!).
This is a node library which you install into your package.json that implements TypeScript typing into the Scriptable library. This saves you a ton of time when debugging and making sure your script works since you have the power of types to catch onto these errors early on.
As said, this is an NPM/Node package that must be used in a computer:
https://www.npmjs.com/package/nios-scriptable
Any changes or further improvements are appreciated. Thank you and enjoy as much as I did!
r/Scriptable • u/PissBiggestFan • Mar 29 '23
Here’s a quick visualization I made for a widget that keeps updated score of esport matches.
Does anything like this exists? I know there are apps that can send you notifications to keep track of the score, but is there any widgets that do it?
Thank you!
r/Scriptable • u/gerarts • Nov 20 '22
r/Scriptable • u/IllogicallyCognitive • Oct 21 '22
| name | type | generates object(s) representing | properties used with | details of properties |
|---|---|---|---|---|
| Alert | class | an iOS alert notification | NA | all editable |
| args | object | NA | args | read-only |
| Calendar | object | an iOS calendar or reminder list* | generated object | some read-only, others editable |
| CalendarEvent | class | an iOS calendar event* | generated object | some read-only, others editable |
| CallbackURL | class | an x-callback-url | NA | no public properties |
| Color | class | a color or a pair of colors, including opacity | generated object | read-only |
| config | object | NA | config | read-only |
| console | object | NA | NA | no properties |
| Contact | class | an iOS contact* | generated object | some read-only, others editable |
| ContactsContainer | object | the contacts list for an account* | generated object | read-only |
| ContactsGroup | class | an iOS contacts group* | generated object | some read-only, others editable uses Contact.persistChanges |
| Data | object | a string, file, or image | NA | no public properties |
| DateFormatter | class | a map between dates and their text representations | generated object | all editable |
| DatePicker | class | an iOS date picker | generated object | all editable |
| Device | object | NA (returns primitives only) | NA | no properties |
| Dictation | object | NA (returns primitives only*) | NA | no properties |
| DocumentPicker | object | NA (returns primitives only*) | NA | no properties |
| DrawContext | class | a canvas | generated object | canvas format |
| FileManager | object | an iOS FileManager | NA | no properties |
| Font | class | an iOS font | NA | no public properties |
| Image | object | an image | generated object | read-only |
| importModule | function | NA | NA | NA |
| Keychain | object | NA (returns primitives only) | NA | no properties |
| LinearGradient | class | a linear gradient | generated object | all editable |
| ListWidget | class | an iOS list widget | generated object | all editable, uses Script.setWidget |
| Location | object | the current location information | NA | read-only |
| class | an email from current iCloud account | generated object | all editable | |
| Message | class | a text message/iMessage | generated object | all editable |
| module | object | NA | module | some read-only |
| Notification | class | a notification* | generated object | some read-only, most editable |
| Pasteboard | object | NA (returns primitives only) | NA | no properties |
| Path | class | paths for shape(s) | NA | no public properties |
| Photos | object | a photo | NA | no properties |
| Point | class | a point | generated object | both editable |
| QuickLook | object | NA | NA | no properties |
| Rect | class | a rectangle | generated object | some read only, some editable |
| RecurrenceRule | object | an iOS reminder and/or event recurrence rule | NA | no public properties |
| RelativeDateTimeFormatter | class | a method of describing one time relative to another | generated object | editable |
| Reminder | class | an iOS reminder* | generated object | some read-only, some editable |
| Request | class | an http request*** | generated object | some read-only, some editable |
| Safari | object | NA | NA | no properties |
| Script | object | NA | NA | no properties |
| SFSymbol | object | an SF symbol | generated object | read-only |
| ShareSheet | object | NA (returns primitives only) | NA | no properties |
| Size | class | width and height | generated object | editable |
| Speech | object | NA | NA | no properties |
| TextField** | object (prototype, not used directly) | NA | object generated by another** | all editable |
| Timer | class | a timer (not from the iOS app) | generated object | both editable |
| UITable | class | a table | generated object | only property editable |
| UITableCell | object | a table cell | generated object | all editable |
| UITableRow | class | a table row | generated object | all editable |
| URLScheme | object | NA (returns primitives only) | NA | no properties |
| UUID | object | NA (returns primitives only) | NA | no properties |
| WebView | class | an iOS WebView | generated object | only property editable |
| WidgetDate | object (prototype, not used directly) | NA | object generated by another** | all editable |
| WidgetImage | object (prototype, not used directly) | NA | object generated by another** | all editable |
| WidgetSpacer | object (prototype, not used directly) | NA | object generated by another** | all editable |
| WidgetStack | object (prototype, not used directly) | NA | object generated by another** | all editable |
| WidgetText | object (prototype, not used directly) | NA | object generated by another** | all editable |
| XMLParser | class | xml and a method to parse it | generated object | all editable |
Italics: has a method directly used with it that presents a UI
Bold: there is a method directly used to make changes on the phone outside scriptable, and without running such a method changes to properties of any Scriptable object will not change the corresponding iOS object
* via promise (when these objects are generated using a method instead of as an instance of a class using new, they are provided by a promise)
** entry name is for a prototype, objects that are actually used with the properties and/or methods are created by objects described in other entries (by a WidgetStack type object or directly by an object that is an instance of the ListWidget class in the case of the 5 Widget ones and an instance of the Alert class for TextField)
See this Calendar guide for an example of making changes outside Scriptable both directly with one of the Calendar object’s methods and by saving changes made using a generated object’s properties. Also, Calendar.presentPicker() is an example of a direct method to generate a UI. Finally, it demonstrates how the kit’s objects that generate objects via a promise* work.
See Alerts for Dummies for an example of presenting a UI using a method of a generated object and more generally of using a class. This also shows a basic example of using an object generated by an instance of a class** (a TextField).
r/Scriptable • u/Hiderone_ • Aug 20 '22

This Widget shows a graph of Covid cases for the last 8/15 days of the selected country.
See the full documentation on the GitHub repository.
r/Scriptable • u/wherebdbooty • Jul 28 '22
r/Scriptable • u/eXtendedZero • Jul 20 '22
r/Scriptable • u/[deleted] • Oct 03 '21
Multicolor SFSymbols are now shown correctly again. No more black only !
r/Scriptable • u/FifiTheBulldog • Jul 28 '21
To return to the home screen in a script, call this undocumented method:
App.close()This has the same effect as pressing the home button/swiping up (depending on your device). This is also equivalent to the hacked “Open App: SpringBoard” action in Shortcuts, the “Return Home” action in Toolbox Pro, and now, as seen in iOS 15.0 developer beta 4, a built-in Shortcuts action called “Return to Home Screen.” The best part is, this method doesn’t require going through Shortcuts or crashing Scriptable at all.
This only works in scripts run from the app on iOS. It has no effect on macOS, and with the Run Script action in Shortcuts, it starts running but never seems to finish (so you have to stop the shortcut manually).
Credit goes to u/marcusrbrown for discovering this!
A few months ago, u/marcusrbrown was experimenting with logging the global object to the console, and he noticed an undocumented object called “App” that is accessible to scripts. Upon futher examination, he found that App has a single method called close(), which, when called, takes you to the home screen.
Marcus shared his findings on this subreddit’s Discord server back in April, but it got buried in the chat. (I sort of feel bad about that in hindsight.) He mentioned it again roughly two months later, and this time we noticed it.
u/Rhinozz_the_Redditor asked Simon on Twitter about App.close():
https://cdn.discordapp.com/attachments/760937325189529724/844608193505132556/unknown.png
Simon acknowledged that this API exists, but indicated that it is intentionally undocumented to discourage people from relying on it as we would the documented APIs:
https://cdn.discordapp.com/attachments/760937325189529724/844745852606218260/image0.png
So, if this is helpful for your scripts, it’s there for you to use!
As a side note, when Marcus brought this up for the second time, a comment from u/mvan231 prompted me to start looking at the global object myself and hunting for other undocumented APIs in Scriptable. It ended up being a fascinating dive into the rabbit hole of how Scriptable works. I will be posting my findings in a series of posts, coming in the next few days. What I found is nowhere near as useful for writing actual scripts as App.close(), but it has been very useful for satisfying my curiosity.
r/Scriptable • u/gojailbreak • Feb 28 '21
r/Scriptable • u/Cheungg • Dec 24 '20
r/Scriptable • u/[deleted] • Nov 21 '20
Hi,
i have created a new Widget which shows you your PAYBACK Points.
PAYBACK is the largest locality program in Germany.
You will find the widget on https://widget-hub.app
Regards
r/Scriptable • u/Juniorchen • Oct 24 '20
r/Scriptable • u/cartersun7 • Oct 01 '20
Is it possible to make the auto refresh faster on scriptable? I understand that it currently updates every 6-11 mins, but let’s say you wanted to display the time, or live sports scores, the 6-11 minute refresh wouldn’t really cut it. Is there a way to refresh every few seconds? Would this take up a ton of space/processing power on my phone?
r/Scriptable • u/Helpful-Computer2307 • Mar 18 '26

I’ve been a long-time user of Scriptable, and especially of Full Weatherline Widget by italoboy:
https://github.com/italoboy/Full-Weatherline-Widget
For a long time, I wanted to really understand the widget and be able to modify it myself.
Now I finally took the time to rework the code. With some help from AI, I also built a small emulator for it, because developing by constantly copying text files back and forth between a PC and iOS just doesn’t feel right.
The script has been updatet and refactored
It now uses only the OpenWeather API in version 3.0
It currently supports de-DE and en-EN
The emulator is only meant to run this widget. Other widgets may fail if they rely on different Scriptable APIs. This is why I do not want to distribute it as a standalone project.
I simply do not have the time to support your edge cases.
You can see it running directly in a GitHub Codespace from my repository:
https://github.com/HeikoGr/Full-Weatherline-Widget
Press "," while on the repository page to open it in Codespaces.
Then wait for everything to start up.
After that, open package.json, right-click the preview script, and choose Run Script.
A new browser window should open and show the emulated Scriptable widget view.
It is not pixel-perfect, and it probably never will be, as long as the original icons and fonts are not publicly available.
r/Scriptable • u/iLuki • Sep 15 '24
r/Scriptable • u/EternalFuriousBreeze • May 12 '23
r/Scriptable • u/SwimmingPhotograph35 • Oct 13 '22
Hi,l wanna open a different app by tapping scriptable widget but l cant find url schemes.Where can l find?
r/Scriptable • u/stanleyrya • Jan 18 '22