F² - Favorites on steroids [V2.0.1]

Discuss and share scripts and script files...
MBaas
Posts: 683
Joined: 15 Feb 2016 21:08

F² - Favorites on steroids [V2.0.1]

Post by MBaas »

This is a dream come true! (I've been mulling over this for years and finally I got the tools to do it :) )

I found the list of Favorites..hmm, eh, not so easy to navigate when it had more than 2 or 3 entries and I wanted to enhance the usability of Favs.
So here is my little tool:
screenshot.png
Essentially it presents your favs in a nice menu (in a hierarchy that you defined). Additionally you can explore the folder hierarchy of your favs and there's also a search option to pick a fav.

All this from XY's list of favorites! (You can extend the title gets with additional info for F²)

Installation:

The .zip contains two folders:
[*]app -put this into %APPDATA%\F2 or a subfolder of xyscripts
[*]xys - these files are copied into the Scripts folder. Update F2.config.xys and set the paths appropriately.

That's all!
Run F2.xys. Update favs to tweak the menu structure. Repeat until you're happy.

There's also a GitHub repo with even more details - and you can share issues there instead of here - however you wish. I'm listening everywhere!😉


Download:
https://github.com/mbaas2/F2/releases/download/v2.0.1/F2-2.0.1.zip
You do not have the required permissions to view the files attached to this post.
Last edited by MBaas on 07 Apr 2026 19:55, edited 5 times in total.
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.0600 * * LinkTree

admin
Site Admin
Posts: 66074
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: F² - Favorites on steroids [V1.0.0]

Post by admin »

Looks great! :appl: :beer:

highend
Posts: 14923
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: F² - Favorites on steroids [V1.0.0]

Post by highend »

Corrected your folder from %APPDATA\F2% into %APPDATA%\F2 to not confuse users :biggrin:
One of my scripts helped you out? Please donate via Paypal

MBaas
Posts: 683
Joined: 15 Feb 2016 21:08

Re: F² - Favorites on steroids [V1.0.0]

Post by MBaas »

highend wrote: 28 Mar 2026 13:02 Corrected your folder from %APPDATA\F2% into %APPDATA%\F2 to not confuse users :biggrin:
Upps - thanks! :beer:
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.0600 * * LinkTree

Horst
Posts: 1374
Joined: 24 Jan 2021 12:27
Location: Germany

Re: F² - Favorites on steroids [V1.0.0]

Post by Horst »

This gives a script error on every start.
First it displays
Screenshot - 29.03.2026 , 17_56_13.png
Clicking the Main entry
Screenshot - 29.03.2026 , 17_09_41.png
Using Continue it goes on and works.

Then it displays the real menu but on a strange screen position
You do not have the required permissions to view the files attached to this post.
Windows 11 Home, Version 25H2 (OS Build 26200.8457)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1412b (x64), Everything Toolbar 2.3.0, Listary Pro 6.3.6.99

MBaas
Posts: 683
Joined: 15 Feb 2016 21:08

Re: F² - Favorites on steroids [V1.0.0]

Post by MBaas »

Sorry, there was some info missing in my doc: when you launch the macro, you need to load "fy.xys","main"

The syntax error is puzzling, as I did not see it during testing, but can easily be fixed by changing that line to "
if (exists($c))
". (Sorry, I can't yet commit the changed code as I have already added more stuff that I need to cleanup first)
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.0600 * * LinkTree

Horst
Posts: 1374
Joined: 24 Jan 2021 12:27
Location: Germany

Re: F² - Favorites on steroids [V1.0.0]

Post by Horst »

MBaas wrote: 30 Mar 2026 18:20 Sorry, there was some info missing in my doc: when you launch the macro, you need to load "fy.xys","main"
Don't understand, there is no fy.xys in the scripts folder.
So where should I put the load command ?
Windows 11 Home, Version 25H2 (OS Build 26200.8457)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1412b (x64), Everything Toolbar 2.3.0, Listary Pro 6.3.6.99

MBaas
Posts: 683
Joined: 15 Feb 2016 21:08

Re: F² - Favorites on steroids [V1.0.0]

Post by MBaas »

Sorry, typo. I meant when you load F2 xys
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.0600 * * LinkTree

Horst
Posts: 1374
Joined: 24 Jan 2021 12:27
Location: Germany

Re: F² - Favorites on steroids [V1.0.0]

Post by Horst »

MBaas wrote: 30 Mar 2026 19:44 Sorry, typo. I meant when you load F2 xys
Ok, that works from a User defined button.
Windows 11 Home, Version 25H2 (OS Build 26200.8457)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1412b (x64), Everything Toolbar 2.3.0, Listary Pro 6.3.6.99

MBaas
Posts: 683
Joined: 15 Feb 2016 21:08

Re: F² - Favorites on steroids [V1.0.2]

Post by MBaas »

Just released v1.0.2
  • New Features
    • added new menu-item to go to recent folders + hotlist items (I wonder if that is too specific for my way of using it - should I perhaps put these into a separate user-editable include file? Fedback welcome!)
  • Fixes
    • entries w/o an associated menu were not shown in the menu - they now appear as top-level items
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.0600 * * LinkTree

MBaas
Posts: 683
Joined: 15 Feb 2016 21:08

Re: F² - Favorites on steroids [V2.0.0]

Post by MBaas »

Updated to 2.0.0

Seems a high jump - but as a proponent of SemVer I had to bump. ;)

New features
  • Add the variable "$P_F2_FAVTAG"; to your F2.config.xys to define the label of a tag that F2 will assign to your favorites.
    Set the field to "" to not use this feature.
  • "favmen-suffix.txt" is automatically renamed to "favmen-end.txt" and there also is a "favmen-start.txt" and
    "f2-settingsmen.txt" which you can use to add items to the start of the F²-menu and to its separate "Settings" option
    which helps to keep the menus clean and focussed. Also some previously hardcode items found their way into "favmen-start.txt" so it's all configureable now ;)
  • The "Settings" menu is callable using a dedicated label not too surprisingly named "Settings". These options can be used as an alternative route to edit favorites and rebuild the menu.
    use config "P_F2_CFGINMAIN" to control if you want the settings included in the main menu (=true) or not. They are always accessible via "Settings" too.
Improvements
  • Favorite editing handles environment-variable-based icon paths correctly in the preview.
  • Updated doc
Fixes
  • Favorites without an associated menu path are shown again as top-level menu entries.
  • Top-level menu sorting now places normal entries in alphabetical order instead of pushing them to the end.
  • Menu generation now merges labels that differ only by accelerator markers
  • Editing or adding a favorite now writes back the full favorite line, preserving the target folder/file path and properly quoting the title/icon definition.
  • Existing favorite detection is more robust for quoted paths and paths with trailing separators.
Breaking changes (sorry!)
  • renamed label "addcurritem" to "AddEditcuritem"
  • Internal renaming: "xyFavMenu" → "F2Helper" (*** Sorry, but this means you'll have to rename the file in the config $P_F2_EXE ***)
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.0600 * * LinkTree

Horst
Posts: 1374
Joined: 24 Jan 2021 12:27
Location: Germany

Re: F² - Favorites on steroids [V2.0.0]

Post by Horst »

Using the newest version there is a small problem.
The entry "Recent Locations.." is always called twice
regardless if I make a selection or simply press the Ok or Cancel button.
Windows 11 Home, Version 25H2 (OS Build 26200.8457)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1412b (x64), Everything Toolbar 2.3.0, Listary Pro 6.3.6.99

MBaas
Posts: 683
Joined: 15 Feb 2016 21:08

Re: F² - Favorites on steroids [V2.0.0]

Post by MBaas »

Yup, you're right, I'm seeing that as well - but I'm rather clueless as to why this happens... :oops: Hopefully I'll find it...
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.0600 * * LinkTree

Horst
Posts: 1374
Joined: 24 Jan 2021 12:27
Location: Germany

Re: F² - Favorites on steroids [V2.0.0]

Post by Horst »

It also happens using Manage Favorite Folders and Manage Favorite Files.
Windows 11 Home, Version 25H2 (OS Build 26200.8457)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1412b (x64), Everything Toolbar 2.3.0, Listary Pro 6.3.6.99

MBaas
Posts: 683
Joined: 15 Feb 2016 21:08

Re: F² - Favorites on steroids [V2.0.0]

Post by MBaas »

really weird... :oops:
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.0600 * * LinkTree

Post Reply