How to archive unused KBM macros?

Nyuck nyuck...

My addiction to Chrome is predicated on the existence of the Tabs Outliner extension, which gives me a hierarchical list of all my open tabs, window by window, and which allows me to save them right there in its list, automatically, transparently, no action required. If I manually close a tab, it goes away, If I add a text note in TO to a tab, it will stay even it closed, if the system or Chrome crashes, all windows tabs lists are saved (but unfortunately not the Spaces info). So in the TO database, I have my tabs history going back to 2016.

If there is something equivalent in a more robust and trustworthy browser, I'm all ears.

I doubt you’ll find anything similar for Safari. That sounds like a comprehensive tool.

I just have a personal issue with their business model, so I don’t use any of their products.

-rob.

1 Like

I you type slowly (or maybe I should have said inconsistently with frequent pauses), KM will jump in and update the plist often. If you type quickly and consistently, KM won't update the plist as often.

If you paste from TextEdit, KM will only write the plist one time, just after your paste.

Your extension should work with Brave or Arc.

1 Like

Got it. Thanks.

Hmm. I thought it was a lone developer. If you don't want to go on record, would you please PM me?

Thanks. I'll give those a try.

Sorry, my bad on the vagueness of that statement: I meant Google's business model, not the add-ons.

-rob.

I hear that. And I used to work for Google. They've changed.

Ditch Chrome and you’ll save lots of CPU and memory; as a bonus your electric bill will go down: Here's how to stop Chrome using significant energy

Also, with Arc you have no need to keep all those tabs open: Arc Browser | Cure Your Tab Overload

I'm not saying you're wrong – just that that's maybe not the best source to cite. :laughing:

So it deletes them for you after a set time. Isn't that a bit like managing documents in the Finder by keeping them in the Trash?

Might I suggest that once many tabs are open, it's time to offload them to a text note system and organise them – and one's thoughts – there. KM is very useful for that sort of thing, of course.

Not seeing the parallel; maybe this will help illustrate the flexibility: Arc Browser | Pinned Tabs vs. Bookmarks

I meant optional timed deletion of data. I wasn't being entirely serious. Just a bit.

I don't think I will be considering Arc until such time as an account is no longer required.

[Accidentally overwritten post reinstated! I don't blame the browser...]

1 Like

Do you use a junk email account to participate in this forum? If so, maybe you could use the same account to try Arc while still mitigating your risk.

Getting way off-topic, @August; I'll stop here unless you have other questions related to the information I supplied.

No, I only post junk. :upside_down_face: No, for me it's not an appealing model of how to do things, but each to their own, as always. I am glad that Arc and other browsers are providing variety.

Hi Jim,
That linked article reads a lot like a pitch for the Clean My Mac product. Do you use that? Are you a fan?

I have been seriously considering that approach and to augment it by having a text note file for each one of my workspaces, automatically saving the tabs' titles and links into the appropriate file for whichever Desktop Workspace they are open in. But I haven't begun to design it yet. If you know of KBM macros that any aspect of this, I'm all ears.

Thanks.

1 Like

For me this is a curation problem. I often have several attempts at automating something. (Typically Excel.) But which one is the current one?

I have a lot of macros to wade through and I'd like to do a better job of managing them.

From what you wrote further down, I gather that you mean MacOS "spaces" rather than, say, tab groups. I'll come back to that.

How much automation you want is a point to consider, and when you would like it to run. Here are two examples.

  1. A macro to save the URLs and titles of all currently open tabs, and then close them. It could run at the end of your day (scheduled for a regular time, or run before shutdown or daily backup procedures)
  2. A macro to save the URL and title of just the currently open tab.

How you get the title and URL depends upon your browser, but with KM it is possible (even with Firefox) to get that information. As you probably know, for most browsers, including Chrome, you can use the tokens %FrontBrowserTitle% and %FrontBrowserURL%.

I use Obsidian, which, like this forum, uses Markdown. It follows that I find it convenient to use Markdown's format of [title](URL). So for using tokens in a macro, that is [%FrontBrowserTitle%](%FrontBrowserURL%).

You know more about MacOS spaces than I do (I never have got on with virtual desktops), so I hope you will have more of an idea of how best to identify a space.

Opening a corresponding file (or, say, in Obsidian, a matching note – the same thing) would be straightforward.

The most effective system will be one that is tailored for your preferred way of working, so in this case I think you should just make your own macros from scratch. A search of the forum might still give you ideas, but the only challenge that I can see is the question of "spaces".

I hope that was of some help. I am sure that a number of us will be happy to discuss this all further – but admin might want to split the thread if so. :wink:

I heartily agree. I'd be happy to, if I could.

Thanks for all your potentially very useful comments. You've given me an outline to the problem scope that is a great start.

1 Like

The following reply comments definitely should be spli off into a new thread.

Yes. Sorry that I wasn't clear.

I am definitely pushing Mission Control Desktop Workspaces past their design limits. I don't know if you've been in any way tracking my progress, but I currently have 45 Spaces available, with 33 of them in active or semi-active use. (I made extra because I can only make more than the pseudo-limit of 16 when I have a second display attached and for the last couple of years I've been only on my laptop with my external display in storage.)

Thanks, yes it is. Ideally it would be recently saved whenever the system crashes or I am forced to reboot. But if the process gets in the way or slows things down, I don't want it frequently. My first pass, I think, would be to manually activate it whenever I "feel" the need is immanent.

A key point for me is to have this window-by-window and Space-by-Space

I don't have any regular "end" to my day. It's often when my eyes are so tired that I can't read the page without turning the brightness up to where it hurts. Daily backup is handled in the background by Time Machine. I'm planning on an independent cycle for baking up KBM macros, when I'm actively working on something, because my Time Machine drive is not always connected to my laptop, and there's a nice macro for that in the Forum here, but I haven't gotten around to setting that up.

I, too, and very fond of Markdown. Thanks for the reminder of those very useful tokens.

TL;dr:
Unfortunately, that is probably because Apple treats the feature like a bastard step-child who it is illegal to let starve. They used to have lots of information available through their API, such as which Space was active, which Space a window was open in, etc. and a few developers were beginning to make effective use of that, then Apple deprecated everything. The only API that is still publicly available is NSNotifyActiveSpaceDidChange, which Peter has made available (thanks!) in KBM as of v11.0. I use that to put the current Space name (as I've named it) onto a pushdown stack which then makes available a lot of functionality, beyond what Apple ever did. For instance, I can display a list of Spaces in usage order and I have the very useful function of Go To Previous Space. I've created my space-changing macros, including Go To Previous Space, to support dragging a window along with the change, so it's the same command in either condition — whether or not you are holding a window's title bar determines whether or not you drag the window with you.

Having intuitive, robust, transparent Space Management functions (KBM macos) available makes all the difference in being able to use Spaces as part of my working environment.