Open note for date (NLDates)
COMMENT
This Shortcut relies on the Natural Language Dates plugin by @argentum to handle daily note creation via your templates.
Don't fuss with the below date format string unless you know what you're doing!
TEXT
yyyy-MM-dd

Text
COMMENT
Change the text variable immediately below to:
yes
...if you want the shortcut to open the daily note in a new pane every time.
TEXT
no

Text
SCRIPTING
Count
Items
in
Shortcut Input

Count
SCRIPTING
If
Count
is greater than
0
CALENDAR
Format
Shortcut Input
Options Under Construction

Formatted Date
URL
obsidian://nldates?day=
Formatted Date
&newPane=
Text

URL
SCRIPTING
Otherwise
DATE
Current Date

Date
SCRIPTING
Choose from Menu

Menu Result
SCRIPTING
Yesterday

Menu Result
CALENDAR
Subtract
1
days
from
Date

Adjusted Date
CALENDAR
Format
Adjusted Date
Options Under Construction

Formatted Date
SCRIPTING
Today

Menu Result
CALENDAR
Format
Date
Options Under Construction

Formatted Date
SCRIPTING
Tomorrow

Menu Result
CALENDAR
Add
1
days
from
Date

Adjusted Date
CALENDAR
Format
Adjusted Date
Options Under Construction

Formatted Date
SCRIPTING
Pick date

Menu Result
CALENDAR
Format
Text
Options Under Construction

Formatted Date
SCRIPTING
End Menu

Menu Result
URL
obsidian://nldates?day=
Daily Note Filename
&newPane=
Text

URL
SCRIPTING
End If

If Result
SAFARI
Open
If Result
Showcuts