r/Scriptable • u/Normal-Message-9492 • Apr 06 '25
Tip/Guide What syntax does scriptable use?
I tried using JavaScript but it showed an error, then I tried this which is html and it worked, but isn’t scriptable used with JavaScript?
r/Scriptable • u/Normal-Message-9492 • Apr 06 '25
I tried using JavaScript but it showed an error, then I tried this which is html and it worked, but isn’t scriptable used with JavaScript?
r/Scriptable • u/thari_mad • Dec 26 '25
Hey,,
I've been playing around with Scriptable recently and honestly it's awesome – the JS scripting for widgets, shortcuts integration, all the creative stuff people share... it's exactly what I wanted for customizing my iPhone setup.
But I noticed I couldn't find any source code for the app itself on GitHub or anywhere, and the official site doesn't call it open source. The scripts and widgets are super shareable/open, which is great, but the core app seems closed-source/proprietary.
I'm still really excited about it and don't want to sound negative – the community seems solid and the dev has kept it going for years. Just curious: does the lack of open source bother anyone else? How have you built trust with it over time, especially with permissions for calendars, files, location etc.? Any red flags or reasons it's stayed closed-source that make sense?
Would love to hear positive experiences or why people are comfortable with it. Thanks!
r/Scriptable • u/Tempz97 • Sep 24 '21
Did the update had numerous scripts for widgets and such had them stored on cloud and they are missing from iPhone and iPad and iCloud would really like to find these as were left on phone did a reboot and they disappeared also now left with nothing
r/Scriptable • u/[deleted] • Aug 25 '20
i want to annoy my friends with iMessages bit i’m not good at coding.
r/Scriptable • u/FormelLMS • Jan 02 '21
Since Android has Widgets since ages, it's hard to understand, why scriptable isn't made for Android. Are there any plans?
r/Scriptable • u/Financial_Boat_1560 • Nov 25 '20
r/Scriptable • u/Less_Committee9931 • Aug 12 '25
u/echo off
color 0A
title Limpeza de pastas TEMP e Prefetch
:menu
cls
echo ===============================
echo Limpeza de Pastas TEMP
echo ===============================
echo.
echo 1. Limpar pasta TEMP agora
echo 2. Limpar pasta Prefetch agora
echo 3. Limpar pasta TEMP na proxima reinicializacao
echo 4. Sair
echo.
set /p opcao=Escolha uma opcao (1-4):
if "%opcao%"=="1" goto limpa_temp
if "%opcao%"=="2" goto limpa_prefetch
if "%opcao%"=="3" goto limpa_temp_reboot
if "%opcao%"=="4" goto fim
echo Opcao invalida!
timeout /t 2 >nul
goto menu
:limpa_temp
cls
echo Limpando pasta TEMP...
rd /s /q "%temp%"
md "%temp%"
echo Pasta TEMP limpa.
timeout /t 2 >nul
call :Fogos
goto menu
:limpa_prefetch
cls
echo Limpando pasta Prefetch...
rd /s /q "C:\Windows\Prefetch"
md "C:\Windows\Prefetch"
echo Pasta Prefetch limpa.
timeout /t 2 >nul
call :Fogos
goto menu
:limpa_temp_reboot
cls
echo A pasta TEMP sera limpa na proxima reinicializacao...
del /q /f "%temp%\*.*"
echo Limpando arquivos temporarios agendado.
timeout /t 2 >nul
call :Fogos
goto menu
:fim
cls
echo Saindo...
timeout /t 2 >nul
exit /b
:Fogos
cls
color 0C
echo.
echo .''. . *''* :_\/_: .
echo :_\/_: _\(/_ .:.*_\/_* : /\ : .'.
echo .''.: /\ : ./)\ ':'* /\ * : '..'. -=:o:=-
echo :_\/_:'.:::. ' *''* * '.\'/.' _\(/_'.':'.'
echo : /\ : ::::: *_\/_* -= o =- /)\ ' *
echo '..' ':::' * /\ * .'/.'. '
echo * *..* :
echo *
echo.
timeout /t 1 >nul
cls
color 0E
echo.
echo .''. . *''* :_\/_: .
echo :_\/_: _\(/_ .:.*_\/_* : /\ : .'.
echo .''.: /\ : ./)\ ':'* /\ * : '..'. -=:o:=-
echo :_\/_:'.:::. ' *''* * '.\'/.' _\(/_'.':'.'
echo : /\ : ::::: *_\/_* -= o =- /)\ ' *
echo '..' ':::' * /\ * .'/.'. '
echo * *..* :
echo *
echo.
timeout /t 1 >nul
cls
color 0A
echo.
echo .''. . *''* :_\/_: .
echo :_\/_: _\(/_ .:.*_\/_* : /\ : .'.
echo .''.: /\ : ./)\ ':'* /\ * : '..'. -=:o:=-
echo :_\/_:'.:::. ' *''* * '.\'/.' _\(/_'.':'.'
echo : /\ : ::::: *_\/_* -= o =- /)\ ' *
echo '..' ':::' * /\ * .'/.'. '
echo * *..* :
echo *
echo.
timeout /t 1 >nul
cls
color 0D
echo.
echo .''. . *''* :_\/_: .
echo :_\/_: _\(/_ .:.*_\/_* : /\ : .'.
echo .''.: /\ : ./)\ ':'* /\ * : '..'. -=:o:=-
echo :_\/_:'.:::. ' *''* * '.\'/.' _\(/_'.':'.'
echo : /\ : ::::: *_\/_* -= o =- /)\ ' *
echo '..' ':::' * /\ * .'/.'. '
echo * *..* :
echo *
echo.
timeout /t 1 >nul
cls
color 07
echo.
echo FELIZ CONCLUSAO!
timeout /t 2 >nul
cls
goto :eof
color 0A
pause >nul
r/Scriptable • u/KeySir2841 • Jun 02 '25
r/Scriptable • u/proudromosexual • May 19 '21
r/Scriptable • u/gsempe • Dec 06 '20
Hi folks,
Big fan of Scriptable here.
On Friday I saw someone trying to sell his script with Gumroad and it made me asking to myself: Would it be interesting to create a marketplace to centralize quality and paying scripts?
I put together a website without any expectations to receive feedbacks https://scriptablum.com
It is now time for this idea to go through the community and see how it is received.
Do you think it is interesting? Should I drop it?
r/Scriptable • u/mypussyincolors • Jul 25 '25
This script has been download in my phone automatically, it has being working weird. Wtf Is this Im don't know anything about this things
r/Scriptable • u/ryuryuusei • Apr 17 '22
Can someone write me a script (i don't know where to put it) that presses the key "t" and writes /find 1 every 2 minutes? To mention i need this to do it on samp
r/Scriptable • u/cabellc • Apr 04 '25
I want to create a widget that scrapes text from a website as it’s updated Can someone teach me how or do it and I can learn from the code
r/Scriptable • u/see999 • Oct 22 '22
Hi guys, I’m a bit of a noob. Can anyone help me get Reminders using Scriptable?
const calTest = await Calendar.findOrCreateForReminders("Variables");
console.log(calTest)
r/Scriptable • u/[deleted] • Sep 29 '21
r/Scriptable • u/Positive-Scale-5349 • Jan 08 '23
r/Scriptable • u/AriPerets • Nov 01 '20
Hello everyone, how to convert to show data from Israel?
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 • u/Gerego • Jan 02 '21
I created an iOS Widget with Scriptable to display recent news from The Verge. You can grab it for free with a manual that explains how to install it. If you’d like to build your own widget, I created a 20 page tutorial that you can buy for a few $
r/Scriptable • u/Hot_Discount7707 • Apr 28 '25
Need a script or shortcut to quickly merge two or more mkv files in my Files app. iMovie is not an option as it takes files from the Photos app only.
Files are named as "ABC.part001.mkv", "ABC.part002.mkv", etc and are stored locally in my Files app.
Thanks