frostplexx / obsidian-touchbar-macros

Easily create macros and add them to your Touch Bar in Obsidian MD!
MIT License
13 stars 0 forks source link
obsidian-md obsidian-plugin

Obsidian Touch Bar Macros

This is a plugin for Obsidian that adds Touch Bar support.

Features

Screenshots

Screenshot 2023-06-20 at 18 41 33

https://github.com/Frostplexx/obisdian-mac-touchbar/assets/62436912/fe467348-ffcf-4ae3-87bd-ac01ae8c26c1

Installation

From GitHub

Usage

  1. Open the settings for the plugin
  2. Add a new Touch Bar item
  3. Add a name (can be any ascii character), a color and a macro
  4. Close the settings page and enjoy your new Touch Bar item

Macro Language

For adding macros please use this syntax:

Syntax Description
[KEYCODE] This is how you press a key, where KEYCODE is the name of the key you want pressed
+ + is used to combine multiple keys
,DELAY, , is used to add a delay between key presses where DELAY is the amount in ms
"TEXT" " is used to add text where TEXT is the text you want to add. The plugin will type this text
# # is used to add a comment where COMMENT is the comment you want to add (NOT IMPLEMENTED)
\ \ is used to escape the next character
{REPEAT}() {}() is used to repeat the previous command where REPEAT is the amount of times to repeat