Metadata
- Author: alexwlchan.net
- Full Title: Getting the Path to the Note I Have Open in Obsidian
- Category:#articles
- Document Note: Отличный пример вызова Apple Script для взаимодействия с MacOS из скрипта на Python.
- Document Tags: obsidian outline try
- Summary: The author created a Python script to quickly find the file path of the currently open note in Obsidian. This is useful for running text cleanup scripts without needing to manually locate the file. The solution uses AppleScript to get the note’s title and matches it to the file on disk, making the process faster and easier.
- URL: https://alexwlchan.net/2023/obsidian-open-note/
Highlights
- But even if Obsidian doesn’t have its own AppleScript dictionary, it is still visible from the AppleScript universe – as a process in System Events. We can’t see much, but we can see its windows (View Highlight)
📂 Articles | Последнее изменение: 23.01.2025 07:41