EDIT: Improved code (a bit):
Code: Select all
::copytext ("<curpath>\"); status "Paste current path (CTRL+V) into Finder!"; open "<xydata>\_RES\Soft\Finder\Finder.exe"
admin:
I just had an idea that could work: Have a list right on the Contents tab (at the right side of the text box) that will list all matches (with surrounding text) of the current Contents entry in the selected and focused file WHEN the tab is open and a file gets selected. Even in the normal file list! (= browse mode: No file find necessary but possible!) Even me I could use that...
-PowerDesk File Finder is a good tool (the best I ever seen!) to achieve that results. Currently I am using it combined with a script to launch Finder, copy current location to clipboard and get it ready to be used in Finder's Path field, which is not updated when launched from inside XYplorer!
I am looking for a Pro version 5, if anyone has a link to it, please post it here. The FREE version 5 comes with Finder v. 5, which has small improvements over v. 4 (namely a Files Types field that v. 4 hasn't, as far as I can recall), which is probably the one that is still available in a few sites.
Code: Select all
copytext ("<curpath>\"); status "Paste current path (CTRL+V) into Finder!"; open ".\_Res\Soft\Finder\Finder.exe"
The best feature it has over concurrency: it shows exactly what you want, each time it occurs, plus a few "context entries".
The worst feature it has: it shows exactly what you want, each time it occurs. When encountering a large set of occurrences, mostly entries that belongs to a folder whose name matches the query, it will show ALL of the folders that contain the searched term.
So in a search for "Wilbur", meaning "wilbur.jpg" contained in a folder named "Wilbur_files", all of this will be shown:
C:\Temp2\Site\Wilbur_files\button_topic_new.gif
C:\Temp2\Site\Wilbur_files\button_topic_reply.gif
C:\Temp2\Site\Wilbur_files\file.png
C:\Temp2\Site\Wilbur_files\icon_biggrin.gif
C:\Temp2\Site\Wilbur_files\icon_confused.gif
C:\Temp2\Site\Wilbur_files\icon_contact_pm.gif
C:\Temp2\Site\Wilbur_files\icon_cool.gif
C:\Temp2\Site\Wilbur_files\icon_lol.gif
C:\Temp2\Site\Wilbur_files\icon_mini_faq.gif
C:\Temp2\Site\Wilbur_files\icon_mini_login.gif
C:\Temp2\Site\Wilbur_files\icon_mini_members.gif
C:\Temp2\Site\Wilbur_files\icon_mini_message.gif
C:\Temp2\Site\Wilbur_files\icon_mini_profile.gif
C:\Temp2\Site\Wilbur_files\icon_mini_search.gif
C:\Temp2\Site\Wilbur_files\icon_post_quote.gif
C:\Temp2\Site\Wilbur_files\icon_post_report.gif
C:\Temp2\Site\Wilbur_files\icon_post_target_unread.gif
C:\Temp2\Site\Wilbur_files\icon_question.gif
C:\Temp2\Site\Wilbur_files\icon_razz.gif
C:\Temp2\Site\Wilbur_files\icon_redface.gif
C:\Temp2\Site\Wilbur_files\icon_smile.gif
C:\Temp2\Site\Wilbur_files\icon_user_offline.gif
C:\Temp2\Site\Wilbur_files\icon_user_online.gif
C:\Temp2\Site\Wilbur_files\icon_user_profile.gif
C:\Temp2\Site\Wilbur_files\icon_wink.gif
C:\Temp2\Site\Wilbur_files\site_logo.gif
C:\Temp2\Site\Wilbur_files\spacer.gif
C:\Temp2\Site\Wilbur_files\stylesheet.css
C:\Temp2\Site\Wilbur_files\wilbur.jpg
If you know that your file was exactly "wilbur.jpg", then it'll just return
C:\Temp2\Site\Wilbur_files\wilbur.jpg
in the search. No boolean search allowed, or other option (limit entries to 15 max/both previewed lines of contents and lines of entries being user defined, as Hallgren said, for instance).
OF COURSE Don's approach is a far better way, but it seems it'll take quite a time to get the job done... =)