Login About Gallery
Daily Note for Bear
COMMENT
Create daily note with week number tag, emoji weather, calendar events and appointments, and reminders as tasks. Unpin yesterday’s note and pin today’s note. 1. Search for existence of pinned note by date 2. Unpin previous day’s note 3. Get weather conditions as emoji and formatted high/low 4. Get calendar events 5. Get calendar appointments 6. Get reminders 7. Create daily note text template 8. Create note with template in Bear (and pin it) * this shortcut can be automated to run in the morning before you get up if your iPhone is awake overnight ~brian
COMMENT
Check Bear for pinned daily note with title yyyy/MM/dd. If note exists, alert. Otherwise, create daily note.
TEXT
@pinned
Current Date
Under Construction
SCRIPTING
If
Notes
has any value
SCRIPTING
Show alert
Informational Message
Title
optional
Show Cancel Button
output Under Construction
Otherwise
End If
COMMENT
Unpin previous daily note
Under Construction
SCRIPTING
Get
First Item
from
old_note
SCRIPTING
If
Previous Note
has any value
Under Construction
Otherwise
End If
COMMENT
Get current weather conditions and emoji dictionary lookup Create condition/emoji key-value dictionary. Modify as desired. If no emoji in shortcut output, create new key value pair for missing weather condition.
LOCATION
Get current weather at
Current Location
DICTIONARY
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
SCRIPTING
COMMENT
Get high and low temps and format to zero decimal places.
LOCATION
Get
High
from
Weather Conditions
MATHS
Format
High
to
0 decimal places
LOCATION
MATHS
Format
Low
to
0 decimal places
COMMENT
Get all day calendar events. Exclude calendars by + then "Calendar" "is not" [selected calendar].
CALENDAR
Find
Library
where
All the following are true
Start Date
is today
Is All Day
is
True
Sort by
Start Date
Order
Oldest First
Limit
SCRIPTING
Repeat with each item in
Calendar Events
VARIABLES
Set variable
Event
to
Repeat Item
TEXT
>
Event
TEXT
Split
Text
by
New Lines
End Repeat
VARIABLES
Set variable
Events
to
Repeat Results
COMMENT
Get scheduled calendar appointments. Exclude calendars by + then "Calendar" "is not" {selected calendar].
CALENDAR
Find
Library
where
All the following are true
Start Date
is today
Is All Day
is
False
Sort by
Start Date
Order
Oldest First
Limit
SCRIPTING
Repeat with each item in
Calendar Events
VARIABLES
Set variable
Appt
to
Repeat Item
TEXT
*
Appt
-
Appt
Appt
TEXT
Split
Text
by
New Lines
End Repeat
VARIABLES
Set variable
Appts
to
Repeat Results
COMMENT
Get reminders as tasks.
REMINDERS
Find
Library
where
All the following are true
List
is
My Reminders
Due Date
is today
Is Completed
is
False
Sort by
Due Date
Order
Oldest First
Limit
SCRIPTING
Repeat with each item in
Reminders
VARIABLES
Set variable
Rem
to
Repeat Item
TEXT
- [ ]
Rem
TEXT
Split
Text
by
New Lines
End Repeat
VARIABLES
Set variable
Rems
to
Repeat Results
COMMENT
Create daily note template text: #log/yyyy/Www 🗓️ Day of Week (eee - UPPERCASE) Weather condition as "emoji High°F | Low°F” > Calendar events * Calendar appts - [ ] Reminders as tasks Note: Shortcuts doesn't correctly apply ISO 8601 rules (i.e., week 1 starts on Thu and has at least 4 days and week starts on Monday). Therefore, a math expression is used to calculate the correct week number.
DATE
Current Date
TEXT
Change
Date
to
UPPERCASE
calculateexpression Under Construction
COMMENT
If there are no calendar events, appointments or reminders, remove blank line.
DOCUMENTS
Replace
\n+
with
in
Rems
Events
Appts
Case Sensitive
Regular Expression
Under Construction
Under Construction

Showcuts

Magic Vars

Screenshot

Submitted Anonymously a month ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0