+1

Launch TO before opening any Chrome windows

Loony Bin 10 aastat tagasi uuendaja 𝐋 øяεηzo 1 kuu tagasi 4
I have been trying to figure out a way to open my TO tree before opening Chrome itself (or at least a Chrome window). For me, that is simply easier since I always begin navigating to my tabs straight from TO anyway and always just close the first window that pops up when Chrome launches.

I know that TO can run without any Chrome windows open, so I thought there should be a way to just run it solo from the get-go. To figure this out I ended up running across these Chromium cmdline flags/switches and found one for launching extensions. So far, I have been successful in launching TO solo before Chrome, but I can only access the TO options page and not the actual tree.

In my case, the .exe path with flags looks like this:
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Profile 1" --app-id="eggkanocgddhmamlbiijnphhppkpkmkl"
where Profile 1 is the user I want to open Chrome as and eggkanocgddhmamlbiijnphhppkpkmkl is the TO app-id, found in C:\Users\MyName\AppData\Local\Google\Chrome\User Data\Profile 1\Extensions (for Windows).

What I'd like to ask is:
1) Is there another, better way to accomplish this?
2) Can the json or js files be altered so that the app-id flag opens the tree view?
3) Could you add a button to the options page that opens the tree view? (not ideal, but probably easiest for you to implement)

...and since I'm not sure the app-ids are consistent across systems, I found the one for TO by going to Chrome options > Tools > Inspect devices > Extensions > Inspect (for TO) > Resources > any of the last 4 or so menus.

Thanks.
+4
This is the Tabs Outliner Tree page url:
chrome-extension://eggkanocgddhmamlbiijnphhppkpkmkl/activesessionview.html
You can open it directly from shortcut for example
+2
I've used "create application shortcuts..." to put icons on my taskbar, but I need one for each Chrome profile, which is less than ideal and also is another icon(or 2) on my taskbar., but works. I'd really like to have TO in the Apps menu/launcher. That does support multiple profiles.
Also, the open extension taskbar icons don't get picked up by windows to combine, so yeah. Having them in the Apps launcher would be pretty fantastic. Having the icon there instead of the main button bar in chrome would serve me much better.

I use this: https://github.com/Lorenzo501/MinimizedTabsOutliner-wrapped.ps1.bat

Just save that batch script somewhere, do that thing it mentions in the README, make a shortcut to the batch script, set the shortcut to open as minimized (right click and then Properties), put the shortcut in your Windows Startup folder (WinKey+R and then type shell:startup), download WinSize2 and set it up for the tabs outliner window, set the chrome shortcut to open as maximized (right click and then Properties), also if you haven't done the following already, go into the tabs outliner settings and enable: "Open Tabs Outliner window on Chrome startup." And I think you need to install AutoHotKey for WinSize2 to work (it has a bunch of AHK scripts, so yeah I think so but I already had it). And then you're done!


You could even go a step further by downloading another chrome extension as well, called "Maximize Dragged Tab". Chrome in general and with tabs outliner works waaaay better then and opens tabs outliner by opening and closing chrome really quick. It has to open chrome for a very short amount of time so that the tabs outliner window gets scrolled to the bottom. You could technically open chrome as hidden but then it won't automatically scroll the tabs outliner window to the bottom, which is annoying because that's where all the newly saved tabs are.

You can use this AutoHotKey script with the path to the .bat script to start it completely hidden (better than shortcut):

#Requires AutoHotkey 2.0.5
#NoTrayIcon
Run "C:\Users\XXX\Documents\Minimized Tabs Outliner (wrapped .ps1).bat",,"Hide"