Delete/Rename/Edit Favorite

Added some actions to the Favorites, but I can't seem to find a way to delete/rename/edit them?

Even though I would expect a more "standard" approach to this such as right-clicking and showing a menu with these tasks, I can see how Renaming and Editing could be achieved:

Editing - load the action(s) into a macro, make the changes, then Add to Favorites and by using the same name it will show the Replace Existing button as enabled.

Renaming - load the action(s) into a macro, make the changes, then Add to Favorites by using a new name

Now I can't seem to find the way to completely delete unused ones or the ones where the name is wrong/outdated.

I agree that overwriting favourites would be nice. Deleting is easy. When you browse favourites, there's a delete button at the bottom.

As long as you use the same name, it overwrites it when using the Replace Existing. Isn't that what you mean?

I can't find that Delete button:

image

I'm on a 13" laptop. Maybe that's not visible here?

Hit βŒƒβŒ˜A and type "fav"

Or, in the view you're already in (actions sidebar), select the favourite and just hit ⌘⌫.

1 Like

Awesome! I didn't know about that shortcut. That seems to be a better way to add actions, actually. Thanks for sharing!

And yeah, the ⌘⌫ also worked!

Thank you so much!

1 Like

There are a few more that are incredibly useful and quick to use.

Here’s the set of really useful shortcuts when editing macros in the KM editor:

βŒƒβŒ˜A - insert an Action (in a macro)
βŒƒβŒ˜T - insert a Token (in a field)
βŒƒβŒ˜V - insert a Variable (in a field)
βŒƒβŒ˜F - insert a Function (in a field)
βŒƒβŒ˜W - insert an ICU Date (in a field)

Each of these brings up a spotlight-like dialog that helps you easily find and insert the corresponding item.

4 Likes

HOLY SH*T!!!!!!

HOW HAVE I MISSED THIS?!?!?!!

That's a game-changer!!

(Also, how do you do those nice hotkey symbols?)

1 Like

Here’s the markdown for you @noisneil:

<kbd>βŒƒ</kbd><kbd>⌘</kbd><kbd>A</kbd> - insert an Action (in a macro)
<kbd>βŒƒ</kbd><kbd>⌘</kbd><kbd>T</kbd> - insert a Token (in a field)
<kbd>βŒƒ</kbd><kbd>⌘</kbd><kbd>V</kbd> - insert a Variable (in a field)
<kbd>βŒƒ</kbd><kbd>⌘</kbd><kbd>F</kbd> - insert a Function (in a field)
<kbd>βŒƒ</kbd><kbd>⌘</kbd><kbd>W</kbd> - insert an ICU Date (in a field)

2 Likes

Awesome, thanks! I learned two cool things today!

1 Like

@tiffle In case you haven't already...

Hotkey Symbol Markdown.kmmacros (41 KB)

Macro screenshot

  • Select hotkey symbols in a forum reply (e.g. ⌘S).
  • Trigger this macro and you get:

⌘S

Also, can you have a look and see if you know of a simpler way to process each character of a string?

2 Likes

Oh - that's neat :sunglasses:

There is a better way to step through characters. I've incorporated it into your macro:

Hotkey Symbol Markdown v2.kmmacros (21 KB)

Click to see macro

You basically use the simple regex (OMG) for a character . to step through the clipboard which is a collection of single characters. Hmmm - the macro explains it better than I can tell!

2 Likes

BTW @noisneil - thanks for that macro :+1: I've now added v2 of it to my "Any Browser" group.

1 Like

Just testing your version.

Works great!

1 Like

Okay, let's play with that theme a little...

Convert Selected Text to Command-Key MarkDown v1.00.kmmacros (26 KB)

Macro Image

Keyboard Maestro Export

Type:

cmd
opt
ctrl
sft

Select and hit the hotkey.

OR

cmd,opt

OR

cmd,opt,s

One could play with the syntax quite a lot, or abbreviate the command symbols to something like:

c,o,s,ct

Although I think I'm done with this for now.

I already have text-expansion macros for the following:

Abbreviation Expansion
kbd <kbd></kbd>
kbda a (i.e β€œkbd” and then any single character)
kbdb b
… …
cmd; ⌘
cntr; βŒƒ
opt; βŒ₯
sft; ⇧
Abbreviation Symbols
;cmd ⌘
;ctrl βŒƒ
;opt βŒ₯
;sft ⇧

I might play with the command-string codes some more after it soaks though:

Abbreviation Symbols
csoc,x βŒ˜β‡§βŒ₯⌘x
3 Likes

That poor cat's been skinned so many times recently :stuck_out_tongue_winking_eye:

2 Likes