XYstylEZ - flashFavs

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

XYstylEZ - flashFavs

Post by SkyFrontier »

"Uuuuuh... what a sweet device like..."
-Julie S.
flashFavs_by_SF.xys
(11.72 KiB) Downloaded 242 times
flashFavs_menu.png
flashFavs_menu.png (6.71 KiB) Viewed 1552 times
favoritos.png
favoritos.png (23.46 KiB) Viewed 1551 times
flashFavs, v1 - an XYstylEZ feature presentation

Always wanted a flexible, non-intrusive, fast way to deal with favorite files and folders. File-based. Colorful.
Well... aside the "colorful" part (which can be easily wiped out), you may really like this one. Really.

No XY setting is involved, so "restart without saving" can be used at any time. "Save settings on exit" can also be OFF - your files and folders, favorited, will never be lost.

>Favorite files and folders are displayed in-place, in list.
Yay!

Can be run from anywhere: UDC, (load) .xys, Scripting>Run Script..., user button. No dependencies at all other than a flat .txt file, which is auto-created on first run.

-add <curitem> (file or folder) by running the script and selecting option '1'; multi-item selection is allowed; fav file is auto-saved, duplicated entries auto-removed
-if nothing is selected, the color scheme will be changed (ensure you will NOT trigger the script with intervals < 1 sec, otherwise the recursion warning will be displayed!); if a selection is found, the scheme will change too! (to avoid any changing, make sure a single entry is present at the $ct variable; the first theme, "FFFFE0,666666, D6D6D6", is a pretty neutral one)
-color schemes can easily be added/removed - edit the $ct variable (each used color scheme is copied to clipboard, so it's easy to control what will be kept or trashed);
format "FFFFE0,666666, D6D6D6" means "text color-LIST,BG color-LIST, folder BG color on tree"
-option '2' allows to either GO TO favorite items or EXECUTE files (you can adjust this via the $run variable - 1 means EXECUTE, 0 or other means GO TO); items (files and/or folders) will always be opened on new tab, when requested
-validation function to cleanup inexistent entries for a tidy fav file
-accelerators!
-icons! =)

Suggestions are welcome.
Enjoy. :cup:

edit: this script is now complemented by smartFavs, which 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 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.
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