Hi!
is there a hotkey or shortcut that would allow me to select everything in the folder based on the first letter of what i already have selected ?
for example, i select my "view.php" file or "vendor" folder and everything else in the folder that begins with "v" is selected. if i had more than 1 selected, the hotkey shouldn't work.
would also be nice if it respected the same selection filtering as "select | select by selected type".
Quick Select Based on First Letter
-
- Posts: 224
- Joined: 29 Sep 2022 14:20
- Location: Win10 @125%
Re: Quick Select Based on First Letter
Scripting^^
Use a "User defined command" and assign it a hotkey...
Code: Select all
$items = listpane(, , 4, <crlf>);
$sel = <get SelectedItemsNames>;
if (!$sel || gettoken($sel, "count", <crlf>) > 1) { end true; }
selectitems regexmatches($items, "^" . substr($sel, 0, 1) . ".*?(?=\r?\n|$)", <crlf>);
One of my scripts helped you out? Please donate via Paypal
-
- Posts: 224
- Joined: 29 Sep 2022 14:20
- Location: Win10 @125%
Re: Quick Select Based on First Letter
amazing thank you. works perfect.