You can set very custom Obsidian actions and trigger them using Raycast for instance. One use case is using a script to take notes while watching a youtube video in full screen and having Raycast append information to the daily note.