smartFavs

Discuss and share scripts and script files...
Post Reply
SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

smartFavs

Post 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 1467 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 1467 times
Once clicked, available items will be listed in a new tab.
Attachments
smartFavs_fork.xys
(12.4 KiB) Downloaded 188 times
smartFavs.xys
(7.17 KiB) Downloaded 214 times
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

Post Reply