Open DrewNaylor opened 5 years ago
That smaller launcher Microsoft used to have was the Office Shortcut Bar. Since it supported multiple shortcut lists, it would be a good idea to support that as well, maybe with multiple sections in the XML file and a dropdown button to switch shortcut bars.
There's another application that recreated this program, and that was called FreeBar, but it appears to have not been updated for a while.
Screenshot of FreeBar's Screenshots page showing a few screenshots from the UI:
Screenshots of the Microsoft Office Shortcut Bar:
For the button list via XML, it would be a good idea to have an option to say if an entry is an exact folder/file path, or if it's an entry that relies on the Office Folder Location figured out by UXL Launcher itself.
Actually, maybe I can use YAML files to specify layouts for each Office version, as some versions add, remove, or change apps. There should also be a way for the user to customize this list for each column, but that may take longer. There should at least be a way for the user to say whether to use the layout specified by the chosen version of Office or to use one from a list. If there isn't a layout for a specific version of Office, it'll use the default, which is the one it currently uses.
I can take the tile list-loading code from the Avalonia version of RetiledStart as an example of how to load a bunch of stuff from a YAML file and use classes to store the properties for display in the UI.
The things a layout file can specify are:
String
String
My.Resources
. If a filepath is specified, it needs to be a PNG icon, preferably of the same size as the rest of the icons in the main window's columns. I think the complicated icons may be slightly different, so there's some room for size here.Boolean
://
in them will be overriden with the default icon for the app. Apps with no default icon will simply have their PictureBox be transparent.My.Resources
.String
This would allow more customizability. In addition to having support for XML files that specify the applications, there would be a UI in the Options window to configure this. Maybe there could be a default XML file in My.Resources that could be written out to a file when the user changes the app list, maybe into AppData.
This could also probably work for a third-party version of the small launcher Microsoft used to have.
Example:
Edit: See the latest comment on how I can use YAML to specify the columns and load them at runtime. Allowing the user to easily customize the layouts will take longer.