Deprecated: Return type of I::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 62

Deprecated: Return type of I::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 91

Deprecated: Return type of I::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 71

Deprecated: Return type of I::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 101

Deprecated: Return type of I::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 53

Deprecated: Return type of Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/collection.php on line 80

Deprecated: parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in /home/public/kirby/toolkit/lib/url.php on line 135
One Tap Less | Running Actions from the Keyboard in Drafts

Running Actions from the Keyboard in Drafts

Back in November, I pointed out the inability to launch actions from keyboard extensions in Drafts, but that's not true anymore as version 4.2.1 brings a new extension dedicated to run actions as keys. I'll revisit the action with Symbolay and you won't believe how easy it is to turn your actions into keyboard extensions.

In the aforementioned article, we developed a workflow to search for symbols and insert them in our Drafts document. The trick requires 2 actions: one to grab a search query – If any – and another for the callback. Download the actions below if you don't have them already.

Download the first action here

Download the second action here

You create a Run Action key as any other keyboard extension. Tap the pencil icon in the keyboard's extra row, tap the plus button in the top-right and choose Run Action from the dropdown menu. Fill the options, you may want something short for the label and for the Action Name use the name for the first action, Symbolay. Save afterwards and that's it. You can install this key directly here.

The Javascript methods from actions and script keys still differ and this new feature hastens something you were able to do from the actions panel. Yet Drafts 4.2.1 is resourceful for external Bluetooth keyboard users, who can trigger extended keys with keyboard shortcuts—and also hide keys from the extended keyboard to launch them only with the shortcuts. It's a good reason to get a Bluetooth keyboard, do you know a good fit for the iPad Air? Send me your recommendations on Twitter.