Page 1 of 1

smartFavs

Posted: 22 Jun 2015 19:59
by SkyFrontier
Hi.

This script is another approach on favorit'ing stuff. It's also a complement to my previous flashFavs script, despite being capable of independent execution.
While flashFavs is a powerful tool I now can't live without, it puts (by concept design) an extra menu between you and your favorites. This is my solution, with added innovative approach - a dynamic menu that verifies existence of items in real time, marking non-existent with a red-X icon.
smartFavs.png
smartFavs.png (25 KiB) Viewed 1469 times
Features:
-keyboard driven: accelerators support for the favorites menu
-labels approach: on the right side, the name of the item; on the left, its full path - both ellipsed when necessary (original concept: Code Snippet - Ellipsing Paths at Popupmenu
-flexibility: ellipsed size can be easily controlled using variables $pathLENmax and $pathLENmaY
-integration: If flashFavs Favs file exists under running <xyscripts> directory, it'll be auto-detected and its items added to the popped main favorites menu
-easy to use: listed paths go under the "$a" variable
-smartness: distinctive icons for files and folders; non-existent items are marked with a red X.
-the FORK has an extra feature that some may like: full path does not contain the labeled item (=generally, smaller menu width); plus, it has an improvement as observed here by user PeterH.

Screenshot for the ellipsing in action:
smartFavs_ellipsing.png
smartFavs_ellipsing.png (31.24 KiB) Viewed 1469 times
Once clicked, available items will be listed in a new tab.