Hi everyone,
I just started using Typinator and wanted your help for the following set of questions since I couldn’t find answers to them online:
-
How do I programmatically add snippets to Typinator? My use case is, instead of triggering the
Create new item from Selection
via a keyboard shortcut, how do I use AppleScript or any other scripting to trigger that feature so the Typinator popups opens up. I usually can’t remember shortcuts that well and would be using Alfred’s Universal Actions to add a new snippet to Typinator. -
How do I move snippets into Typinator programmatically?. E.g. I want to keep my iOS text replacement snippets and a specific Typinator snippet collection in sync. Until now I was doing that with Alfred where I would pull snippets from the SQLite db (plist format) and push that into Alfred (Alfred snippets are json files). How do I accomplish that?
-
Another thing i’m struggling with is capturing the actual input/trigger. e.g., the inline calculation snippet has
FORMULA=\?
as the trigger and expands to{{#$1}}
which is the result of the calculation. But this removes the actual calculation. I want2+3=5
instead of just5
. How do I achieve that? I tried{{FORMULA}}={{#$1}}
but this doesn’t work. Somehow I need to capture the input given to this macro