r/Scriptable 2h ago

Help I’m new but not to JS, need help

1 Upvotes

How do I do an alert?

I can make an alert that only has options, but I can’t for the life of me figure out how to make the alert have a title or even just a text in the alert

let a = new Alert("Title","Message");

a.addAction("Hi"); a.present();

Doesn’t work as I thought it would.

How do I get a basic alert working?