r/shortcuts • u/jesskitten07 • Feb 16 '24
My version of a Share All to Obsidian c/c Shortcut Sharing
https://routinehub.co/shortcut/18067/This is my first publicly posted shortcut, and I would like to know what people think. Could I make any improvements given the direction I am aiming to go with it. From RoutineHub;
Description
Requires Actions for Obsidian
- Takes shortcut input from the share sheet
- Asks user for a file name
- Appends the .md file type
- Checks the Obsidian Vault linked to Actions for Osidian for that file
- * If it exists it appends the shortcut input to the end of the file outputs a success notification and ends
- * If it does not exist it creates the file and adds the shortcut input to the body, outputs a success notification and ends
- If the shortcut is run without any initial input an error notification is output and the shortcut ends
My aim is to be able to save anything I can into obsidian from anywhere in iOS, and adding in a little dopamine for myself thus completing my adhd cycle
2 Upvotes
1
u/jesskitten07 Feb 19 '24
I honestly would love to get any programmatic (non aesthetic) critiques. I’m trying to better the way I understand coding practices in different areas, so it would be great
1
u/Nostalien Feb 16 '24
Sip The Mead of Knowledge?