📽️ ✏️ Sign up for the Visual Thinking Workshop: https://www.visual-thinking-workshop....
------
This is a technical video walking you through the process of automating actions such as switching to the hand tool on mobile or starting the Auto Draw for Pen script when opening an Excalidraw drawing
---
If you find my videos helpful, please say thanks by buying me a coffee: https://ko-fi.com/zsolt
📩 If you want to connect, you can reach me: (@zsviczian) on the Obsidian Members Group (OMG) on Discord, or on 🐦 Twitter: / zsviczian
-----
Timestamps
00:00 Intro
01:15 Open the Developer Console
01:54 Initializing ExcalidrawAutomate
03:03 Excalidraw Package API
06:15 Excalidraw AppState
07:41 The excalidraw-onload-script property
10:46 The Obisidan API: app.isMobile
12:50 Adding the onload-script to my Excalidraw Template
15:54 The idea: Running an Excalidraw Script from code
17:05 How to run a script via the Obsidian API
19:37 Adding executeCommand to onload-script
20:24 The ExcalidrawAutomate onFileOpenHook
22:08 Trying the onFileOpenHook
23:44 Creating a Templater startup script
25:00 Code formatting trick
26:03 Walking through the script logic
30:03 Configuring Templater startup script
30:40 Restart Obsidian to test the startup script
31:45 Wrapup
-----
Script in the video: https://gist.github.com/zsviczian/d8f...
Visual Thinking Workshop: https://www.visual-thinking-workshop....
My blog: https://zsolt.blog/
Obsidian: https://obsidian.md
Excalidraw-Obsidian: https://github.com/zsviczian/obsidian...
Obsidian Templater: https://github.com/SilentVoid13/Templ...
ExcaliBrain: https://github.com/zsviczian/excalibrain