Just sharing a guide I wrote up for doing some fancy Obsidian things in Shortcuts. The result is a nice homescreen with a bunch of features.
Enjoy!
Just sharing a guide I wrote up for doing some fancy Obsidian things in Shortcuts. The result is a nice homescreen with a bunch of features.
Enjoy!
Excellent! I had planned to start exploring exactly how to things like this. Your post will provide welcome shortcuts in that exploration.
Hello Ryan
Thanks again for these wonderful shortcuts that truly makes a difference.
A quick question, I canāt seem to get Widgetpack working with the Todayās plan widget. As I understand it, I need to run your shortcut and then it should be available in Widgetpack as a widget. But I run the shortcut and give Widgetpack all the permissions it needs but still no widget available. If anyone knows what I am doing wrong, please say.
Youāre welcome!
To be clear: once youāve run the shortcut, you add a Widgetpack widget to your homescreen of the desired size, and then you hold-tap the added widget, select Edit Widget, and select the newly created widget from that menu.
Is the Todayās Plan widget not showing on that last step?
Indeed, not showing in that last step.
I did some more refactoring, fixed some
bugs. Perhaps this fixed whatever it was!
https://www.icloud.com/shortcuts/65901745c4824f059ee1d2687eff1f7b
After a bit more debugging: believe it or not, you might simply have to reboot your device.
I couldnāt get the last link I posted to work on my iPad. So, I rebooted, and lo, there was the updated widget.
It kind of works. The widget is working now but it is not showing any of the tasks from my daily note. I attach some pictures here. (And in case you are wondering, why the mix of languages, itās because we Danes are notoriously famous for mixing a lot of English in our language)
iOS widgets are updated kinda sporadically. If those tests are not showing by now, though, mind pasting the content of that note in here with ``` code fencing?
---
tags: Daily-note
---
## Dagens plan
- [ ] Test
- [ ] Test
- [ ]
## Dagens foto
## Journal
## Review
## Fleeting
Aha, got it. I forgot a key setup question: it needs to know how you format your daily note filename.
Try this one:
https://www.icloud.com/shortcuts/98705f3ab8c94c0482e519baabcb54c0
Love the work your sharing here, thank you @ryanjamurphy, and for making the video w @nickmilo
Iām not using Obsidian on iOS, (nor eager to upgrade to macOS monterey), so Iām not using Shortcuts app. Iām curious: are using a non-Shortcuts approach to get similar results on a Mac?
My vault is project-focused like yours, but Iām relying entirely on tags + dataview to slice and dice. It felt like a more robust solution to me than the āGUIā Kanban plugin, though Iām missing drag and drop, and the horizontal space.
Howād you decide on Kanban (over tags, for example)? Are you having to navigate to the āproject indexā page to update the projects status?
I havenāt set up much automation around my tag-based system yet, but assumed the tag-approach would make automation easier. Just curious to hear any of your thought process / experience with that.
When Iām on a Mac Iām pretty keyboard-driven, so I donāt mind using keyboard shortcuts and the Command Palette/Quick Switcher to jump around there. It wouldnāt be hard to emulate Shortcuts via e.g., Keyboard Maestro, though.
Actually, Iām hoping to build out a plugin that automatically updates a projectās status whenever it is moved on the Kanbanābut Iāve also been told that MetaEdit can help with that? I havenāt tried playing around yet.
In general I try not to spend too much time doing ājanitorial workā on what project is whereāthatās one of the reasons I like the Kanban. Itās pretty easy to mess around with it without getting lost in metadata.
On that note, this is a neat dataview snippet that finds projects that are not yet tracked in the kanban:
LIST FROM !outgoing([[ā«æā«æā«æ Projects Kanban]]) WHERE contains(file.name, "ā³")
ā«æā«æā«æ Projects Kanban
is the kanban note, and WHERE contains(file.name, "ā³")
is how I find projects. Switch the latter with however your projects are designated; e.g., a FROM #project
.
Hi Ryan, great work on this shortcut. Iām having trouble getting the Todayās Plan shortcut to work. When it asks for the file path for the daily notes, how do I work this out? Is it from the vault level, obsidian folder or within the daily notes folder?
It should be the path from the vault root. No leading slashes. My daily notes are in the top-level Calendar folder, so the path is Calendar/
.
What error is it giving you, if any?
Iām struggling to understand what the āMainframe
ā variable represents?
Ah, shoot, my bad! I missed a setup variable. Thatās supposed to be the root folder of your vault.
This shortcut link has the missing setup question. Iāll update the link on the blog post too. Thanks for the report!
https://www.icloud.com/shortcuts/b7095ede5b4e425c9f1a02bb0a0801f8
Yay, the shortcut runs now. However I am having a similar problem to @Kullenej where it shows the widget with the current date at the top but not the tasks. If you tap the widget it launches into a new blank note in a folder a level up with a file name yyyy-mm-dd (filename format I set was yyyymmdd) rather than my current daily note file.
I have tried rerunning the shortcut but I am now getting a new error!
Huh. Did you add weather features? I did not.
Iāll look into the daily note thingā¦ maybe thereās another variable missing a setup question.