+1
Écarté

Group ID memory

Anonyme il y a 12 ans mis à jour il y a 1 an 11

It'd be nice if one could „ask” Taskbar Inspector to remember changed group id so that it wouldn't be necessary to change it everytime 7TT is run and created groups were more persistent this way.

Solution

+1
Solution
Écarté
It was already requested:
http://rammichael.com/7-taskbar-tweaker-v2-0/comment-page-1#comment-968

My reply:
"For the tweaker to remember your grouped windows, it has to be able to somehow identify them, like window title or window class (both are not reliable).
...

Let’s say I have this in my taskbar:
[group: notepad & firefox] [firefox] [group: notepad & explorer]
What should the tweaker remember?"


What you can do is to bind a shortcut with a specific Application ID.
One way achieving it is using win7appid:
http://code.google.com/p/win7appid/
+1
Solution
Écarté
It was already requested:
http://rammichael.com/7-taskbar-tweaker-v2-0/comment-page-1#comment-968

My reply:
"For the tweaker to remember your grouped windows, it has to be able to somehow identify them, like window title or window class (both are not reliable).
...

Let’s say I have this in my taskbar:
[group: notepad & firefox] [firefox] [group: notepad & explorer]
What should the tweaker remember?"


What you can do is to bind a shortcut with a specific Application ID.
One way achieving it is using win7appid:
http://code.google.com/p/win7appid/

awesome solution I was looking for several years! thank you

+1
How about at least a basic implementation using fullpath to .exe and window class (maybe even window names with regular expression)? Have it read/write an .ini, doesn't have to be automatic, I'm sure users will be willing to enter the details manually!
e.g
[Group_Name]
1, %ProgramFiles%\App1.exe, MozillaWindowClass, .* - Firefox
2, E:\Games\Steam\Steam.exe, USurface_.*, Steam|Friends|Downloads
3, %WinDir%\notepad.exe

I have 6-8 utility apps that I always group into a random group. I've been manually grouping them for about 4 years now, but I'm tired of it! I'm going to try your win7appid suggestion :D
I'm going to try your win7appid suggestion :D
I think that's the best solution for you. Try it and let me know whether it worked.
I've been using a lot more hotkeys, shortcuts and scripts in my setup recently so WinAppId fits perfectly into my workflow! The .lnks have all been set up and it's working great! Thanks so much!
+1

Can we please have another example of it?

Wow! I remember this thread. I feel so old ,'/

This is how I do it with AutoHotkey.
Save the code below as something like "MyGroupName.AHK" file (it's just a renamed .txt file) and place Win7AppId1.1.exe into the same directory as the "MyGroupName.AHK" file.

Edit the file in a text editor and change the list of applications to your own applications shortcut files. Remember, you're pointing to the application shortcut .lnk file, not the actual .exe

Save the script and then run it. It will process all the shortcuts to be grouped in "Random_Group" next time you open the shortcut.

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

AppId(lnk){
app:="Win7AppId1.1.exe"
group:="Random_Group" ; Name for the group or application
Run, %app% "%lnk%" %group%,,hide
}

; Add shortcut links to the applications that will be grouped
AppId("C:\Documents\Menu\Start\XenceLabs_Tablet.lnk")
AppId("C:\Documents\Menu\Menu\Game\MSI Afterburner.lnk")
AppId("C:\Documents\Menu\Menu\Application\ToDoList.lnk")
AppId("C:\Documents\Menu\Menu\Audio\ROLI_Launcher.lnk")
AppId("C:\Documents\KeePass\KeePass.lnk")


Actually, if you don't use AutoHotkey, you could just do it with a batch file. Type this into a text file and save it as .bat

start "" "C:\location_of\Win7AppId1.1.exe" "C:\Users\Administrator\Application_1.lnk" "Random_Group"
start "" "C:\location_of\Win7AppId1.1.exe" "C:\Users\Administrator\Application_2.lnk" "Random_Group"

+1

I want to make the taskbar remembers the preview thumbnails order for browsers, so I don't need to use 7+ taskbar tweaker to reorder the firefox's thumbnail preview order everytime after a restart. Do you think WinAppId would solve my problem? I try looking for more information on WinAppId, but not much information are found and I still don't know what it is. Thanks!

Thanks. Though challenging and extra scope, it would still be super useful to be able to control and reuse user-defined grouping and sequence of windows. So that the users can organize, focus, switch, and restore their work quickly. Especially if the grouping must be based on the context/content of the work rather than system-defined disjointed apps. That often involves dozens or even hundreds of related documents/windows/tabs across dozens of separate apps. It would be great to be able to manage that via a tree view similar to Taskbar Inspector, preferably with easy regrouping (hotkeys, drag-and-drop), hotkey navigation, and multiple grouping levels.

Though there doesn't seem to be a good end-to-end solution yet (even for Linux such as KDE Plasma), there are multiple concrete and promising examples in this direction:

AHK Workspaces - Window Management Script - AutoHotkey Community

GitHub - fuhsjr00/bug.n: Tiling Window Manager for Windows

Tabs Outliner - Chrome Web Store (google.com)