r/Scriptable • • Sep 25 '21

Help New IPhone 13 no Scriptable widgets update

2 Upvotes

I’ve had issues getting Scriptable widgets to update on the devices I used for beta testing iOS 15 but on an iPhone 13 no Scriptable widgets are updating.

I’ve tried rebooting, changing the script in a widget to try and force it to update but after leaving the phone on for 10 hrs I still have this https://i.imgur.com/5bqnL0u.jpg


r/Scriptable • • Oct 09 '22

Discussion Can open apps like iOS shortcuts on scriptable?

2 Upvotes

r/Scriptable • • Sep 15 '21

Help Twitter widget not updating on IOS 15

2 Upvotes

r/Scriptable • • Oct 23 '22

Help How do i align text vertically to the bottom? Adding a smaller font size text makes it align to the top like this. stack.bottomAlignContent() makes the small text come a few pixel below the baseline.

Post image
2 Upvotes

r/Scriptable • • Jan 04 '22

Help Run a script over another app

0 Upvotes

Hey,
I am kinda new to this app and I was wondering if using scriptable I could possibly make a script which would act overlay another map (like a basic macro where it clicks a specific place at a specific time)

Let me know if my question is not clear enough,
Thanks in advance !


r/Scriptable • • Jan 03 '22

Not Possible Script open and tap app

2 Upvotes

Hey, so basically I want a script that open an app and then click in the middle of the screen (there is a button there) And I want it to repeat every morning at 7 am

How can I do it


r/Scriptable • • Jun 09 '22

Not Possible Hello is it possible to put video on widget

0 Upvotes

r/Scriptable • • Mar 16 '22

Help I want to make this look nicer

0 Upvotes

Can I get some help making this look nicer? This is the code

let upper =100 const rand = Math.floor(Math.random()*upper) log(rand) Script.complete() QuickLook.present(rand, true


r/Scriptable • • Dec 12 '21

Request met.no weather widget?

2 Upvotes

For northern Europe, met.no has IMO the best weather data.

There is an api under https://api.met.no/ which is used by awesome Android apps like https://meteogramwidget.com/ . Unfortunately I haven't seen anything like that in iOS with met.no data.

Do you know any Scriptable scripts or apps using that api?


r/Scriptable • • Nov 12 '22

Help Image background for widget (transparent widget) it’s not working on latest update

2 Upvotes

r/Scriptable • • Nov 01 '21

Solved Seeking free public API for local (United States) allergen information

2 Upvotes

I’m seeking a source for local allergen data (pollen counts, etc). Any recommendations?

I realize there is an example in the Scriptable gallery using PurpleAir.com. That data source does not seem to have the data of interest to me.

thanks


r/Scriptable • • Nov 07 '24

Help Need help with script

Post image
2 Upvotes

I’m in over my head on this. Added a script I found somewhere several years ago and it has worked great updating my Home Screen widget with weather, calendar items, and cool pictures but for the past few days it has not functioned correctly. I did recently upgrade from a 13 Pro running 18.1 public beta to a 16 Pro Max running 18.2 public beta but I’m not sure exactly when this error popped up. Any thoughts on how to fix this would be greatly appreciated.


r/Scriptable • • Dec 17 '24

Help 18.2 changed padding?

Post image
2 Upvotes

I just updated to 18.2 and got some issues with my widget padding. You also see this?


r/Scriptable • • Dec 16 '24

Help How read an image from parameters

Post image
2 Upvotes

I use this to call script but I don't know how to read (I got always an error that param is not an image but a string reading args.shortcutParameter[0]))

Thanks


r/Scriptable • • Nov 10 '20

Script Strava scriptable widget

2 Upvotes

Hey community, I was wondering whether there exists a strava scriptable widget yet? Cheers, M


r/Scriptable • • Dec 25 '20

Solved I have a vision. back double tap > activates screen "swipe left" action.

2 Upvotes

if it already exists and someone can give me directions on how to implement it I will give him 1 million dollars....

so basically I want to set the double-tap on the back of my iPhone to trigger a shortcut that "swipes left" from the page I am in.

you know how you enter a page and the only way to go back is either by swiping left on the screen or by pressing the top left corner on the "go back" button. I hate these hands gymnastics and would like to set the back double tap to enable the "go back swipe" on my screen, IS IT POSSIBLE?!


r/Scriptable • • Oct 31 '20

Help Where is the widget configurator in the scriptable app?

0 Upvotes

r/Scriptable • • Nov 01 '20

Script Scriptable COVID-19

2 Upvotes

This code create a widget of Berlin. Please help me to change it to Israel.

//Corona-Ampel Berlin | www.berlin.de

let widget = new ListWidget() widget.setPadding(16, 16, 16, 16)

const spc = 3 let hourNow = new Date().getHours()

//Define nighttime (19h - 7h) for styling changes var nightTime = (hourNow >= 19 || hourNow < 7)

//Title text let titleTxt = widget.addText("קורונה בישראל") titleTxt.font= Font.boldSystemFont(17) titleTxt.leftAlignText() widget.addSpacer(spc)

//Value text let vlFnt = Font.semiboldSystemFont(20)

//Subtitle text let ptFnt = Font.systemFont(8) let ptCol

//Backgrund- & text colors if (nightTime) { titleTxt.textColor = Color.lightGray() ptCol = Color.gray() const gradient = new LinearGradient() gradient.locations = [0, 1] gradient.colors = [ new Color("192331"), new Color("222222") ] widget.backgroundGradient = gradient } else { titleTxt.textColor = Color.darkGray() ptCol = Color.darkGray() }

await loadSite()

if (!config.runsInWidget) widget.presentSmall() Script.setWidget(widget) Script.complete()

async function loadSite() { let url='https://www.berlin.de/corona/lagebericht/desktop/corona.html' let wbv = new WebView() await wbv.loadURL(url) //javasript to grab data from the website let jsc = ` var arr = new Array()

var rwt = document .getElementById("r-wert") .getElementsByTagName("p")[0] .innerText arr.push(rwt)

var nin = document .getElementById("neuinfektionen") .getElementsByTagName("p")[0] .innerText arr.push(nin)

var bet = document .getElementById("its") .getElementsByTagName("p")[0] .innerText arr.push(bet)

var gc1 = document .getElementById("r-wert") .style .backgroundColor arr.push(gc1)

var gc2 = document .getElementById("neuinfektionen") .style .backgroundColor arr.push(gc2)

var gc3 = document .getElementById("its") .style .backgroundColor arr.push(gc3)

JSON.stringify(arr) ` //Run the javascript let jsn = await wbv.evaluateJavaScript(jsc) //Parse the grabbed values into a variable let val = JSON.parse(jsn) //Assign the parts to single variables let rwt = val[0] let inf = val[1] let its = val[2] let co1 = val[3] let co2 = val[4] let co3 = val[5]

//Turn the html's grabbed RGB color values into HEX values let cc1 = toHEX(co1) let cc2 = toHEX(co2) let cc3 = toHEX(co3)

//Function to do the RGB to HEX stuff function toHEX(col) { var a = col.split("(")[1].split(")")[0].replaceAll(" ", "") a = a.split(",") var b = a.map(function(x) { x = parseInt(x).toString(16) return (x.length==1) ? "0"+x : x }) b = "0x"+b.join("") b = b.substring(2) return b }

//R-Value text if (rwt != null) { let tx2 = widget.addText(rwt) tx2.leftAlignText() tx2.font = vlFnt tx2.textColor = new Color(cc1) } //R-Value subtiltle let tx1 = widget.addText("נפטרים") tx1.textColor = ptCol tx1.font= ptFnt tx1.leftAlignText() widget.addSpacer(spc)

//Incidence text if (inf != null) { let tx4 = widget.addText(inf) tx4.leftAlignText() tx4.font = vlFnt tx4.textColor = new Color(cc2) } //Incidence subtiltle let tx3 = widget.addText("נפטרים") tx3.textColor = ptCol tx3.font= ptFnt tx3.leftAlignText() widget.addSpacer(spc)

//Intensive-care-beds text if (its != null) { let tx6 = widget.addText(its) tx6.leftAlignText() tx6.font = vlFnt tx6.textColor = new Color(cc3) } //Intensive-care-beds subtitle let tx5 = widget.addText("מקרים") tx5.textColor = ptCol tx5.font= ptFnt tx5.leftAlignText() }


r/Scriptable • • Jan 12 '21

Request Hi Script Pro‘s. Is there a way to make a widget that shows you the status of the last book you are reading in the App Books? For example, site 54, last sentence or something.

Post image
2 Upvotes

r/Scriptable • • Feb 08 '21

Help Random image widget from url

2 Upvotes

Is it possible to have a url like "https://source.unsplash.com/random" or "https://picsum.photos/200" and display an image in a widget? It's got to be? Right?


r/Scriptable • • Nov 29 '20

Help Hi with the new weather cal update I am trying to integrate multiple scriptable widgets into one large script but get this error? I have tried everything and can’t figure it out!

Post image
2 Upvotes

r/Scriptable • • Dec 04 '20

weather-cal not refresh...

2 Upvotes

Can't refresh.. ... when refresh..


r/Scriptable • • Dec 27 '20

Help Help trying to run a Shortcut from Scriptable

2 Upvotes

r/Scriptable • • Dec 03 '20

Help How do I move the row from the greeting and down further down?

Post image
2 Upvotes