Closed Taitava closed 5 months ago
Event name in UI Event code in data.json {{event_type}} {{event_type:category}} Obsidian starts on-layout-ready application-started application Obsidian quits on-quit application-quit application Switching the active pane on-active-leaf-changed active-leaf-switched workspace Caret moved in editor * caret-moved Same as in data.json editor Every n seconds every-n-seconds Same as in data.json time File menu ** file-menu file-menu-item menu Folder menu ** folder-menu folder-menu-item menu Editor menu ** editor-menu editor-menu-item menu File content modified file-content-modified Same as in data.json file File created file-created Same as in data.json file File deleted file-deleted Same as in data.json file File moved file-moved Same as in data.json file File renamed file-renamed Same as in data.json file Folder created folder-created Same as in data.json folder Folder deleted folder-deleted Same as in data.json folder Folder moved folder-moved Same as in data.json folder Folder renamed folder-renamed Same as in data.json folder
data.json
{{event_type}}
{{event_type:category}}
on-layout-ready
application-started
application
on-quit
application-quit
on-active-leaf-changed
active-leaf-switched
workspace
caret-moved
editor
every-n-seconds
time
file-menu
file-menu-item
menu
folder-menu
folder-menu-item
editor-menu
editor-menu-item
file-content-modified
file
file-created
file-deleted
file-moved
file-renamed
folder-created
folder
folder-deleted
folder-moved
folder-renamed
Done. Will be released in 0.22.0.
0.22.0
This is now released.
Discussed in https://github.com/Taitava/obsidian-shellcommands/discussions/393