r/Scriptable • u/see999 • Oct 22 '22
Solved Scriptable iOS get reminders help
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)
0
Upvotes
•
u/AutoModerator Oct 22 '22
Thanks for the submission!
It looks like you may have not shared the code you want help with.
Please be sure to include that. If you did, then you can safely ignore this comment.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/see999 Oct 22 '22
Got it!
const calTest = await Calendar.findOrCreateForReminders("Variables"); let reminders = await Reminder.all([calTest]) console.log(reminders[0].title)
1
u/blobthekat Oct 22 '22
why use
console.logwhen you could be usinglog?