Skip to content

Easily create macros and add them to your Touch Bar in Obsidian MD!

License

Notifications You must be signed in to change notification settings

frostplexx/obsidian-touchbar-macros

Repository files navigation

Obsidian Touch Bar Macros

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

Features

  • Add custom items to your Touch Bar
  • Do anything faster with macros
  • Perform your favorite actions with a single touch
  • Customize the color of your Touch Bar items

Screenshots

Screenshot 2023-06-20 at 18 41 33

newmovie.mp4

Installation

From GitHub

  • Download the Latest Release from the Releases section of the GitHub Repository
  • Extract the plugin folder from the zip to your vault's plugins folder: <vault>/.obsidian/plugins/
  • Reload Obsidian
  • If you are still having trouble installing this plugin, feel free to open an issue here
  • Note: This plugin requires Obsidian v0.9.8 or above to work properly.

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