Skip to content

Instantly share code, notes, and snippets.

@jevin
Last active August 3, 2026 07:30
Show Gist options
  • Select an option

  • Save jevin/ba516ccede3b4cd43eb64fab2f105258 to your computer and use it in GitHub Desktop.

Select an option

Save jevin/ba516ccede3b4cd43eb64fab2f105258 to your computer and use it in GitHub Desktop.
Text Later
let w = new ListWidget();
let text = w.addText("Hello World!");
Script.setWidget(w);
Script.complete();
w.presentSmall();
// const number = args.plainTexts
// const alert = new Alert()
// alert.title = "Schedule a WhatsApp message for later!";
// alert.message = "Fill in the form!";
// const message = alert.addTextField("Enter your message")
// alert.addAction("Schedule")
// alert.addCancelAction("Cancel");
// const alertAction = await alert.present()
// if (alertAction === -1) {
// return;
// }
// const schemaURL = `number: ${number} message.text: ${message.text}, alert.textFieldValue(0): ${alert.textFieldValue(0)}`
// console.log(schemaURL);
// QuickLook.present(schemaURL)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment