SC quicksearch new flag - return names only no paths

Features wanted...
Post Reply
jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

SC quicksearch new flag - return names only no paths

Post by jupe »

First off let me preface this wish by saying that I know what I am asking is already possible with a little extra scripting but if this request isn't much work for you I think it could be beneficial in various situations.

What I am requesting is an additional flag for the SC quicksearch command that returns file/folder names only without path. If you need example use cases for this there are various situations where I find myself wanting to do this, such as when displaying a popupmenu of QS results, creating VF's. populating an inputselect with long paths etc, while I could post-process the results to what I require, if this wish was granted it would be more efficient, but if you think the juice isn't worth the squeeze I can live without it. Thanks for your consideration.

eg. (flag "n" = names only / no paths)

Code: Select all

	popupmenu(quicksearch("searchterm.ext /f", "c:\really\long\path\not\wanted\displayed", , "n"));

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

Re: SC quicksearch new flag - return names only no paths

Post by admin »

Okay, makes sense (and is easy to do). Next beta...

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: SC quicksearch new flag - return names only no paths

Post by jupe »

Awesome, thanks!

Post Reply