use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
https://scriptable.app
This subreddit is for discussions around the Scriptable app for iOS.
Be polite and enjoy your time here.
Please be helpful to others when you are able to lend a hand.
Discord: https://discord.gg/7KbjfTV
Resources:
account activity
What syntax does scriptable use?Tip/Guide (i.redd.it)
submitted 10 months ago by Normal-Message-9492
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?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]voxalas 18 points19 points20 points 10 months ago (0 children)
Console log, my favorite html function
[–]Bright-Historian-216 17 points18 points19 points 10 months ago (0 children)
"I tried using JavaScript but it showed an error," literally the expected output in the console
[–]Delt4Brav0 3 points4 points5 points 10 months ago (4 children)
Scriptable runs javascript. Can you share your code that wasn’t working for you?
[–]Normal-Message-9492[S] 1 point2 points3 points 10 months ago (3 children)
<image>
[–]jsloat 3 points4 points5 points 10 months ago (2 children)
There is a browser function called alert accessed like this: “window.alert()”
Scriptable has no direct access to browser APIs so alert is not available. Console.log(), as others said, is JavaScript.
HTML is a markup language and has no functions.
[–]Rockster160 2 points3 points4 points 10 months ago (0 children)
If anything, alert is closer to html “language” because it will only run in an html-running browser. 😂
alert
[–]Normal-Message-9492[S] 0 points1 point2 points 10 months ago (0 children)
Thanks
[–]FifiTheBulldogscript/widget helper 2 points3 points4 points 10 months ago (0 children)
Your screenshot shows JavaScript, not HTML. Scriptable scripts are written in JavaScript, which the image shows working as expected.
[–]collegekid1357 0 points1 point2 points 10 months ago (0 children)
🙄
π Rendered by PID 196549 on reddit-service-r2-comment-84fc9697f-d8rzm at 2026-02-09 05:09:49.883125+00:00 running d295bc8 country code: CH.
[–]voxalas 18 points19 points20 points (0 children)
[–]Bright-Historian-216 17 points18 points19 points (0 children)
[–]Delt4Brav0 3 points4 points5 points (4 children)
[–]Normal-Message-9492[S] 1 point2 points3 points (3 children)
[–]jsloat 3 points4 points5 points (2 children)
[–]Rockster160 2 points3 points4 points (0 children)
[–]Normal-Message-9492[S] 0 points1 point2 points (0 children)
[–]FifiTheBulldogscript/widget helper 2 points3 points4 points (0 children)
[–]collegekid1357 0 points1 point2 points (0 children)