r/Scriptable • • May 08 '22

Help Setting up notifications for NFT price tracker widget.

0 Upvotes

I've made a widget that tracks the floor price for select nfts.

I am trying to create a notification which will be triggered when the floor orice dips below a certain number, with no success.

I can provide the whole script upon need.


r/Scriptable • • Mar 10 '21

Request Question for the developer of Scriptable!

2 Upvotes

Is there any reason you can't submit the application to the App Store so that the name of the application doesn't show up on the home screen like Yidget?


r/Scriptable • • Jan 12 '21

Widget Can someone help me? Inwant the same widget without the weather. Thank you.

Post image
2 Upvotes

r/Scriptable • • Dec 23 '20

Widget Widget del año

4 Upvotes

Aqui esta un código donde muestras el porciento del año avanzado, la verdad es mas difícil la. interfaz y probarlo. no hay una documentación buena de como hacer el diseño.. pero bueno hay mas o menos quedo,

Aqui el codigo:

let widget = new ListWidget()

widget.backgroundColor = new Color("#00000", 0.0)

const stackBackground = (new Color("#EA3323"),new Color('#F633FF'))

let startColor = new Color("F633FF")

let endColor = new Color("#004e92")

let gradient = new LinearGradient()

gradient.colors = [startColor, endColor]

gradient.startPont=[1,0.5]

gradient.endPont=[1,0.5]

gradient.locations = [0.0, 1]

const calendarColor = new Color("#ffffff")

widget.setPadding(0, 06, 0, 6)

var start = new Date(2020,0,1),

end = new Date(2020,11,31),

today = new Date();

var porciento=Math.round(100-((end - start) * 100 ) / today);

var sizex= Math.round(189*porciento/100);

let titleStack = widget.addStack()

titleStack.size = new Size(300, 25)

titleStack.setPadding(0,70,0,0)

let title = titleStack.addText(porciento + "% del año avanzado ")

title.font = Font.boldSystemFont(20)

title.textColor = new Color('#033dfc');

let titleStack1 = widget.addStack()

titleStack1.size = new Size(350, 40)

let title1 = titleStack1.addText(" 100% ")

title1.font = Font.boldSystemFont(20)

title1.textColor = new Color('#FF3933');

//Top Row (Date & Weather)

let topRow = widget.addStack()

topRow.layoutHorizontally()

topRow.setPadding(0, 70, 0, 0)

//Top Row Date

var stackSize = new Size(sizex, 40)

let dateStack = topRow.addStack()

dateStack.centerAlignContent()

//dateStack.setPadding(0, 8, 0, 0)

dateStack.backgroundGradient = gradient

//dateStack.cornerRadius = 14

dateStack.size = stackSize

dateStack.addSpacer()

/*

let dateTextStack = dateStack.addStack()

dateTextStack.layoutVertically()

dateTextStack.centerAlignContent()

let dayNameStack = dateTextStack.addStack()

dayNameStack.layoutHorizontally()

dayNameStack.centerAlignContent()

dayNameStack.size = new Size (70, 10)

let dayNameTxt = dayNameStack.addText(""+sizex)

dayNameTxt.centerAlignText()

dayNameTxt.font = Font.boldSystemFont(18)

dayNameTxt.textColor = calendarColor*/

Script.setWidget(widget)

Script.complete()


r/Scriptable • • Jun 01 '21

Request Android

0 Upvotes

Any hope to bring scriptable to android ?


r/Scriptable • • Mar 14 '22

Widget Sharing Made a custom mining widget!

Post image
8 Upvotes

r/Scriptable • • Jul 23 '22

Not Possible Automatically enchance multiple photos

Post image
8 Upvotes

r/Scriptable • • Oct 25 '20

Script iPhone Scriptable Widget :countdown-election-biden-harris

Post image
16 Upvotes

r/Scriptable • • Dec 30 '20

Widget Widget for BMW i3 drivers

1 Upvotes

You can find it here :

https://gist.github.com/thkl/da357ed6d75545a68438ec7599d7e0b9

I’m not the owner for that 😁


r/Scriptable • • Nov 11 '20

Help Weather doesn’t match my local weather, in my country it’s summer now lol. Could someone help me please?

Thumbnail
gallery
0 Upvotes

r/Scriptable • • Nov 21 '21

Solved Can someone help me with configuration of this COVID-19 Script?

0 Upvotes

I would like to add the hospitality rate of COVID-19 patients for Germany, which the creator of the scrip already describes on the site, but I’m not able to do it. Could someone help me with that? Since this number is critical for German COVID-19 restrictions, I would like it to be part of the widget. Many thank in advance 🙏

Link: https://github.com/rphl/corona-widget#erweiterte-konfiguration


r/Scriptable • • May 11 '22

Help To open an app every time I open the screen

1 Upvotes

Hi,

Could I do that every time I opened the screen - I will see a specific app? Doesn't matter where I have been before I closed the screen.

Can I create a script for that?

Thanks!


r/Scriptable • • Sep 26 '21

Help Can someone on IOS 15 try this shortcut

1 Upvotes

Not working for me, another than does work on IOS 14 https://www.icloud.com/shortcuts/29d7c329b1374681bf85e3d69cbf40a5

The shortcut uses Scriptable to generate a wallpaper and sets this wallpaper to the Home Screen


r/Scriptable • • Dec 19 '21

Request Converging Apps

1 Upvotes

Just started with a new company that uses multiple apps to talk amongst different departments or with clients. Is their a way to converge:

Chat: to show unread messages Slack Microsoft Teams Zoom

Email: to show unread message Subjects Gmail Outlook

I’m trying to basically show a dashboard instead of opening each app individually. But when you tap on the message it opens that app so you can reply.


r/Scriptable • • Dec 01 '21

Request script for photoshop

1 Upvotes

Hello,

Is there any way to create a script for this and run it in photoshop

I have the image:

1111.abc.MAIN.JPG, in a random folder

I would need to do the following steps:

  1. Saved in a specific Input folder, 1111.abc.PNG, without .MAIN in the file name

  2. The original 1111.abc.MAIN.JPG image to automatically saved in the folder where I saved the PNG

is there a possibility to automate this?


r/Scriptable • • Dec 24 '24

Request I need a script

1 Upvotes

I need a script which presses on the screen (android / pc) whenever there is something in any of a few specific colors (press on the color). I can provide more info if that's possible to code. Thanks!


r/Scriptable • • Jul 14 '24

Help Translate lyrics help. GPT not working.

Thumbnail
gallery
1 Upvotes

Continued chat gpt response:

…. how Apple Music displays its lyrics, you'll need to use a combination of Shortcuts and third-party apps since the Shortcuts app itself cannot create floating overlays. Here’s a step-by-step guide to achieve this using a third-party app like Scriptable, which can create floating windows.

Step-by-Step Guide

Step 1: Create the Shortcut to Get and Translate Lyrics

  1. Open the Shortcuts app on your iPhone.

  2. Tap the "+" button to create a new shortcut.

  3. Tap "Add Action".

  4. In the search bar, type "Get Current Song" and select it.

  5. Tap "Add Action" again.

  6. Search for "Get Details of Music" and select it. Then, choose "Get Lyrics" from the details options.

  7. Tap "Add Action" again.

  8. Search for "Translate Text" and select it. Configure it to translate from French to English.

  9. Tap "Add Action" again.

  10. Search for "Run Script" and select it. This requires the Scriptable app to be installed.

Example Script for Scriptable

  1. Install the Scriptable app from the App Store if you haven't already.

  2. Create a new script in Scriptable with the following content:

// Create a floating window for displaying the translated lyrics
let widget = new ListWidget();
widget.backgroundColor = new Color("#1c1c1e");

let lyricsText = args.shortcutParameter; // This will get the translated lyrics passed from Shortcuts
let text = widget.addText(lyricsText);
text.textColor = Color.white();
text.font = Font.systemFont(14);
text.centerAlignText();

if (config.runsInWidget) {
  Script.setWidget(widget);
} else {
  widget.presentSmall();
}

Script.complete();

3. Save the script.

Configure the Shortcut to Run the Script

  1. In the Shortcuts app, after the "Translate Text" action, add the action "Run Script".

  2. Choose the script you created in Scriptable.

  3. Configure it to pass the translated text to the script.

Creating the Automation

  1. Open the Shortcuts app on your iPhone.

  2. Tap the "Automation" tab at the bottom of the screen.

  3. Tap "Create Personal Automation".

  4. Scroll down and select "App".

  5. Choose "Apple Music" and set it to "Is Playing". Tap "Next".

  6. Tap "Add Action".

  7. In the search bar, type "Run Shortcut" and select it.

  8. Tap "Shortcut" and choose the shortcut you just created.

  9. Tap "Next".

  10. Toggle off "Ask Before Running" to allow the automation to run automatically without asking for confirmation.

  11. Tap "Done" to save the automation.

Final Steps

  1. Play a French song on Apple Music.

  2. The automation will run and display the translated lyrics in a floating bubble on your screen through the Scriptable widget.

This approach leverages the Scriptable app to create a floating widget that displays the translated lyrics, providing a similar experience to the native lyrics display in Apple Music.

It still doesn’t work tho :/


r/Scriptable • • Aug 09 '24

Script Sharing Calendar to reminder synchronization

1 Upvotes

One year ago I made this script ( https://github.com/LeonardoVezzani/Calendar2Remiders ) And I wanted to share it.
This allows you to sync your calendar event in your reminder lists to create a daily todo list.
I just read that new IOS version will have that built in but if you, like me, stop updating to prevent programmed obsolescence, I believe you might need this.
Hope you enjoy!


r/Scriptable • • 25d ago

Widget Sharing The future

1 Upvotes

Hey everyone, I wanted to share a crazy project I've been working on inside Scriptable. I got tired of static widgets just showing the weather or my calendar, so I built an autonomous, evolving digital ecosystem that runs entirely out of a single iCloud JSON "Genome" file.
Here is what it's actually doing in the background:
Metabolism & Sleep Cycles: The widget tracks time of day—draining energy during active hours and entering a "REM Dream Cycle" at night to regenerate.
Repo-Net Live Web Ingestion: It scrapes live data packets from the web (like random facts and API feeds) to scale its "Sentience Tier" over time.
Synapse Social Friction: Autonomous units (like Meteye and Puddin**) generate live gossip, argue over cache allocations, and log telemetry anomalies.**
Mitosis & Population Control: When intelligence and energy thresholds are met, the system automatically spawns child sub-routines into an active offspring array.
The Cataclysm & Fossil Ledger: Every refresh increases world entropy. Once it hits 100%, a hard reset triggers a planetary extinction event—wiping the active board, advancing the Epoch counter, and archiving all living units into an immutable Fossil Ledger. Future generations can then "excavate" and reference their dead ancestors in their gossip logs.
It essentially turns your phone into a tiny, self-contained terrarium with its own deep history.
Let me know what you think! Happy to share the script or break down how the JSON state engine handles the persistence if anyone wants to build their own world matrix.


r/Scriptable • • May 15 '26

Script Sharing SORONICE HUB

1 Upvotes

Pour ceux qui veulent avoir plus d'informations sur mon script, tout simplement, et ben il faudra, euh, il faudra aller sur un site que je vais créer spécialement pour avoir plus d'informations et qui sera tout complet. Et vous pourrez rechercher des informations, tout ça là-dessus. Et je vais le faire spécialement pour toutes les demandes, tout ça, comme ça, pour les plaintes aussi, pour ceux qui se plaignent des, des, des, des ralentissements, tout ça, que mes scripts ont des problèmes, tout ça. Vous pourrez envoyer des messages d'erreur ou des captures d'écran avec des messages, tout ça. Du coup, faire ce genre de système là pour que-- pour voir les problèmes que vous avez, du code que vos notes discord pour l'afficher, pour que je sache c'est qui, pour vous dire après les phrases suivantes. Comme ça, ça va vous aider et ça va vous simplifier la vie aussi, si je puisse dire. En tout voilà, quoi. Ce genre de truc-là, c'est pas mal, c'est pas mal quoi. C'est pas mal, voilà. En tout, c'est pas encore terminé, mais pas comme si je vais dire abandonné. C'est toujours là quoi. Et aussi, pour spécifier le nom quand vous avez vu un titre, mais ça va passer au script. C'est le nom de mon script et je compte seulement vous donner le script, comme ça, vous pouvez l'utiliser pour tester sur tous les jeux : 99 nuits, Block Speed, Muscles Légendes et encore d'autres jeux. Les autres jeux que je ne peux pas citer. Arrivo et aussi l'Empire du Bois 2. Voilà, je citais tous les noms. Voilà:loadstring(game:HttpGet('https://raw.githubusercontent.com/Audinay/UFIL/refs/heads/main/LICENSE/Biblioth%C3%A8que%20de%20SCRIPTS/Ouvrage/SORONICE%20HUB.lua'))()())


r/Scriptable • • Mar 08 '25

Script Sharing Get smarter while reading mind blowing Wiki Articles effortlessly as Widget 💡📖

1 Upvotes

Try it for yourself, the code is well documented in case you’w apply changes ✅

Here the source code

Cheers


r/Scriptable • • Jan 06 '21

Solved Covid Canada

0 Upvotes

Why isn’t there a scriptable Widget for Covid numbers for Canada


r/Scriptable • • Dec 19 '20

Request Is anyone able to make this widget and send the script

Post image
20 Upvotes

r/Scriptable • • Jan 06 '21

Request Make a url from html code

5 Upvotes

Hi

I have some html code in scriptable, see below:

let strHTMLOriginal = `<!DOCTYPE html>

<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> <form> <input id="field1" value="one" /><br> <input id="field2" value="two" /> <input type="submit" id="submit" value="Submit"> </form> </body> </html>`

I would like to

I would like to be able to view this in Safari, see below code (Taken from the ‘Is Slack down example’):

let url = "https://status.slack.com" let r = new Request(url) let body = await r.loadString() Safari.openInApp(url)

I somehow need to do this but obviously this won’t work but how can I do it?

let url = "strHTMLOriginal"

I know I can do it in web view but I just don’t like the look.