KMFAM: Export To KM10 Native Favorites Is Here! (v1.1)

As promised, here's how to export KMFAM Favorite Actions to Keyboard Maestro v10's native favorites. Watch the video first: https://youtu.be/pc0n5oaL09U

UPDATED Version 1.1

Added support for the upcoming KMFAM v1.4 release. Works with previous versions of KMFAM also.

INSTALLATION

If you installed a previous version, you MUST delete the two KMFAM->FAV groups before installing this.

KMFAM Export to FAV.v1.1.kmmacros.zip (227.8 KB)

10 Likes

Nice! I don't have the brain power to handle this right now, but I bookmarked this to look at it tomorrow :sweat_smile:

Does this mean you will no longer use/support your KMFAM macros?

-Chris

Hi @DanThomas,

Thanks a lot for taking time to do this. By sharing this export macro you're effectively terminating your own KMFAM macro set which has served many, including me, so well in the past years.

Much respect to you!

1 Like

Following your tutorial right now.
The long dash issue comes up again :joy:

Hi Dan,

I've encountered a problem. It says I have not selected a group yet. But I've selected one.

I've uploaded a gif here:

2021-11-30 21-25-13.2021-11-30 21_25_54

I encountered exactly the same problem.

@martin @rolian Can you guys install this macro:

Debug Clipboard Issues.kmmacros (28.7 KB)

It creates a macro called "Debug Clipboard Issues" in macro "Debug Clipboard Issues". Don't forget to activate it.

Run the import, and immediately after you get the error, run this macro and let me know what it says. When I say "immediately after", I just mean don't let the clipboard change before running this.

Thanks!

Here is the result:

image

"Click at Found Image" is the selected action group.
image

Thanks. Delete the two KMFAM->FAV groups, and install this:

KMFAM Export to FAV.v1.0.1.kmmacros (629.5 KB)

Let me know how it works. Thanks!

1 Like

That worked for me! Thanks very much.

1 Like

Hey Dan, I ran into the same issue:

Clipboard Types:

public.utf8-plain-text, com.stairways.keyboardmaestro.actionarray

Content:

Activate/Recall specific Safari tab

Before I go further, is this what I need to do as well?

-Chris

Yes. I updated the first post to include the updated macros.

No, it doesn't mean that. I'm not really sure what I personally will be using in the future. Honestly, I haven't really even used KM's Favorites much at all yet. So I'll have to play with them for awhile.

But I'll keep supporting KMFAM, at least until it becomes either completely unnecessary, or untenable. I'll be releasing a fix for the dialog positions shortly (that's my plan, anyway).

1 Like

Outstanding! I just set it up, modified it a little so it would run in a continuous loop, and let it run. It imported all of my actions in about 10 minutes without me having to do anything :laughing:

Good to know, thank you!

On another note, I noticed today that when I try to edit my favorite actions in KMFAM, I get this error:

I'm not sure when it actually started and if it's related to installing the import macros, because I hadn't tried to edit my favorites in a few days. But any ideas what might have happened?

-Chris

That's good to know! I was too chicken to include a macro for that. :joy:

On another note, I noticed today that when I try to edit my favorite actions in KMFAM, I get this error

I think that's related to a KM10 issue. If you're up for it, I can give you a fix for that, and it also fixes the dialogs not remembering their positions. I'm trying to automate applying the fix right now, but I don't know if I'll get there or not. Here's the steps:

  1. Find where your KMFAM Resources are. If you don't know, look at the variable DND__kmfamResourcesFolderPath. It should look something like this:

    /Users/Dan/Documents/KMFAM Resources/

  2. Inside that folder, in the lib subfolder find these files:
    • Edit Favorite Actions.html
    • Edit Sort Options.html
    • Select Favorite Action.html
  3. Rename them to something, so you can restore them if this messes anything up.
  4. Unzip these files, and put them in that lib folder:

KMFAM Updated HTML Files.1.3.zip (21.7 KB)

I think that'll solve the problem. Let me know.

Hey Dan,

I did that but am still running into the same(?) or similar issue.

I jumped to the wrong conclusion. Sorry. Although those files will definitely help with other problems.

Check these actions and see if you changed them, or disabled them, or something like that:

image

1 Like

That did it! I had disabled them after updating to KM10 because of the repositioning issues. I enabled them again (leaving my bandaid Set Next Engine Window action in place as well) and it's working again. Thanks!

Cool. You shouldn't need the bandaid anymore. Disable it and let me know if it remembers its position now. Thanks!

Even better! I disabled it, and the window does indeed remember it's previous position now. Thanks Dan!

1 Like

New version 1.1, which works with the upcoming KMFAM v1.4 release. It also works with previous KMFAM releases, so you can install it even if you don't have KMFAM 1.4