Data Jar is out! ๐Ÿ‘

Data Jar is out on the App Store! Great work @simonbs !! Loved the beta, now super excited about its potential for leveraging in my shortcuts going forward, particularly for global variables, improving performance over making API calls each time. Maybe it can get its own Automators category sometime soonโ€ฆ? @MacSparky @RosemaryOrchard


Just tried it out for a spin. Added it to my Daily Routine shortcut. When it runs one of the tasks is to send a birthday iMessage if someone in my calendar is having a birthday that day. But I donโ€™t want to send it again in case I want to run my Daily shortcut more than once for that day. So created this subroutine using Data Jar. Works great. It checks the value in Data Jar. If it is not the current date then send birthday greeting and then set the value in Data Jar to current date. If it is the current date then donโ€™t send. Good work Simon!


How do you store dates in dataJar? It does not have that data type and thus shortcuts can not save the date (conversion error)

I saved it as a text in Data Jar.

Thatโ€™s the official suggestion for now from Simon.


Hmโ€ฆ am I missing something? Whenever I try that Iโ€™m getting this error:

Take a look at this and in particular the data types Iโ€™ve used in the magic variables.

1 Like