MACRO: [KMFAM] Favorite Actions and Macros v1.4 Released 2021-12-09

It's a Chrome-based browser. Just rename the group before you save it.

I've been happily using KMFAM for many months. It has saved me an enormous amount of time! With that said, I just started encountering an error when launching.


I reported this to @DanThomas and he asked me to post the information here to see if others might be seeing the same issue.

Also, @peternlewis, Dan thought you might have some insight.

I'm using:

• Keyboard Maestro 10.2
• Ventura beta 13.3 (22E5219e)/MacBookPro16,1

No idea, sorry. A quick search doesn't find any references to that.

1 Like

@DanThomas and @peternlewis, I narrowed it down; the error is generated during the execution of the following JXA: Favorite Actions Core.scpt

Here's a copy: Favorite Actions Core.scpt.zip (7.9 KB)

I suspected it wouldn't help (because the script reference KM variables), but what the heck I went ahead and loaded the script into the Script Editor and attempted to run it. It did compile, but when running the following appeared:

I suspect this problem is related to a change in Ventura. I'd be glad to debug further, but I'd need some hand-holding.

You won't be able to debug anything in the script.

Looking at the error message again, it looks to me like an error is probably happening while the script is executing, and for some reason, Safari's Web Inspector is trying to act as a debugger. If there's any way to turn this off, then you should turn it off. That way the error will get returned to KM.

If memory serves, you're on a Beta version of the OS, so it's possible this will be fixed in later versions.

2 Likes

Hi @Dan, thank you for a great macro!

I have issues with sorting. I have adaptive sorting disabled and sorting is enabled, but still the sorting is incorrect. How can I fix it? See below:




the above sorting does not change (as it should not) when I unpin the items on the list:

The "Sort Name" field is sorted alphabetically. So you would end up with something like this:

1
10
11
12
13
2
3
4

So use values that all have the same number of digits, with leading zeroes if necessary:

01, 02, 03...10, 11

Or better yet, to leave yourself room to insert things later,

010, 015, 020, 025

or something like that.

Thank you!

1 Like

@DanThomas, when I click "/" to choose the action and click on the action, I am getting this error and no actions are added:
Screenshot 2023-11-19 at 4.26.25 PM

I'm not exactly sure what you're trying to say, however if you were to tell me that it doesn't work with macros that have a slash in the name, it wouldn't surprise me.

Getting this erro:

KMFAM Macro Installer v1.4

You selected "2024-02-12 06:08:37.773 osascript[19358:237493]
ApplePersistence=NO
/Users/user/Files/KMFAM Installation Files.v1.4/".
This folder doesn't contain the installation files.

The folder we're looking for is most likely named
"KMFAM Installation Files.v1.4".

Press OK to choose a different folder, or Cancel to quit.

Never seen that error before, and I honestly have no clue.

any easy way to export the favorites i've made to give to a friend & he could import them?

Hello @arfan

Sure there is one - download the Export to KM Native Favorites Macro from Dan - it’s linked in the OP above.

This fabulous Macro exports a copy of all your KMFAM Actions into one single Macro where every Action sits in its own collapsed Group Action named like you named them inside KMFAM. From there you can find your own way to export the favorites to give them your friend.

I encourage you to watch the tutorial video for this macro first to see how the whole process is done.

It must be linked in the OP of the Macro if I remember it correctly.

Have a great day and good luck - let us know how it goes - and of course if you have further questions.

Greetings from Germany

Tobias

1 Like

Hello Dan (@DanThomas)

Sorry if I am bumping you for help while you are busy but I need your assistance…

I want to upgrade KMFAM from Version 1.1 and don’t really get it which Version (1.2 or 1.4) I have to choose first - or is the order trivial ?!

I am using KMFAM on every System from Yosemite to Ventura in a VM and on real Machines with High Sierra and Monterey and never ran into issues - let’s say I want to have less more Global Variables to keep tracking of

It would be nice if you could help me with this.

Greetings from Germany

Tobias

I can see how that might be confusing. Just follow the steps for 1.4, and ignore the rest.

I'll probably edit the original post and remove the previous versions.

Hello Dan

Thanks for your reply and thanks again for pointing me into the right version for my needs …

I would say it is better to maybe update the OP with more and clear information that makes it easier for new KMFAM users to choose the right Version demanding on their own purpose…

I like it beeing up to date as much as possible but I like it to have options for some kind of legacy … there comes a little playroom with this …

Thank you so much again .. and have a great day and of course a nice weekend

Greetings from Germany

Tobias

I did. Thanks.