[solved] How to save task session (browser tabs) and reopen with a clickable link?

I was working on this task today morning (let's call it task x). I have a note in my note taking app about task x.

I had to switch to task y so had to close the tabs i had open for task x. But these tabs are important. I want to save all these URLs somewhere.
There is a chrome extension called 'get toby' that save all the currently open tabs and group them for you so next time you click on the group and it reopens all those tabs. But the problem is, i have so many tasks that I even forget that I have a session saved in 'get toby' for the specific task.

In other words, next time I start working on task x, there is a possiblity that I might start from scratch and I might have totally forgotten that I have tabs saved in 'get toby'. Also even if I remember that i have tabs saved, just because there are lot of folders in 'get toby' it would be difficult to search for the exact group of tabs I want.

Solution for that looks like, I have those tabs saved in my note taking app where I have notes about task x. Because my note taking app is the place from where I decide whether or not to start a particular task or any extra notes.

I am wondering if there is a way that I would have some kind of clickable link created automatically each time I have to pause working on a task. I would then paste this clickable link manually in my note taking app. Next time I want to start working on that task, I would obviously see the clickable link in my note taking app for that task so then I would click on the link and it would reopen all my tabs.

(I use chromium based browsers)

@tiffle

continuing from out last conversation on the other post,

This post is my original question.

I am wondering what if I create a text file each time I have to save a session. This text file would have a list of URLs (tabs) that I am closing to move on to the next task.
I will have a KM trigger URL (the clickable link) which would set the name of the text file somehow. So no matter what task session I am trying to reopen, the KM trigger URL would be the same except the parameter with regards to the name of the text file from where the URL are to be pulled up and reopened.

hence i started looking if there is any way to tell the URL to use which text file to reopen URLs.

Yes.

If you're triggering the macro using a URL trigger and the macro is called, let's say, TestMacro, then you'd trigger it using an action like this:

image

You would have to replace the "filename" part with the URL-encoded pathname of the file that contains your list of URLs.

For example, the path

~/Desktop/KM/KM Test List.txt

would become after URL-encoding

%7E%2FDesktop%2FKM%2FKM%20Test%20List%2Etxt

You can easily URL encode something in the clipboard using KM's Filter action like this:

image

In your macro TestMacro you could then access the name of the file you've passed by using the KM %TriggerValue% token.

I hope this helps.

1 Like

Thank you so much. It worked :+1:

1 Like