Hi, sorry for my bad English
I'm looking for the following
I wish a script file that read on a directory a file (highlighter_list.txt), and then mark or highlight the directories or files based on list containing in highlighter_list.txt
The idea is to organize directories and scroll those who are ready
thanks
Highlighting directories and files with text file selector
-
CompSystems
- Posts: 300
- Joined: 09 Nov 2012 14:35
- Location: Colombia
- Contact:
Highlighting directories and files with text file selector
Last edited by CompSystems on 25 Apr 2015 04:26, edited 1 time in total.
-
highend
- Posts: 14948
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: highlighting directories via a text file
Topic was moved...
Answer:
Where highlighter_list.txt is in the current directory. Otherwise change it to one with a full path.
Answer:
Code: Select all
selectitems regexreplace(readfile("highlighter_list.txt"), "\r?\n", "|"), , 1, "n";One of my scripts helped you out? Please donate via Paypal
-
CompSystems
- Posts: 300
- Joined: 09 Nov 2012 14:35
- Location: Colombia
- Contact:
Re: highlighting directories via a text file
Thanks, but I tried it and does nothing
Scripting menu/ try script ...
If the current folder has the following files
-------------------
c.txt
b.txt
a.txt
1.txt
highlighter_list.txt
------------------
and the file highlighter_list.txt contains the following list
1.txt
b.txt
then you should highlight those files (1.txt, b.txt)
Thanks
If the current folder has the following files
-------------------
c.txt
b.txt
a.txt
1.txt
highlighter_list.txt
------------------
and the file highlighter_list.txt contains the following list
1.txt
b.txt
then you should highlight those files (1.txt, b.txt)
Thanks
-
PeterH
- Posts: 2827
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: highlighting directories via a text file
Had a look...
It highlites the files by selecting them.
The files must be displayed in active list pane & tab when executing script.
Tested with 5 files, with 2 names in highlighter_list.txt.
(Check the names...)
It highlites the files by selecting them.
The files must be displayed in active list pane & tab when executing script.
Tested with 5 files, with 2 names in highlighter_list.txt.
(Check the names...)
-
CompSystems
- Posts: 300
- Joined: 09 Nov 2012 14:35
- Location: Colombia
- Contact:
Re: highlighting directories via a text file
ok, it works well
, it is possible that only highlight without mark []
-
highend
- Posts: 14948
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Highlighting directories and files with text file select
You mean: Do not change the focus of the current file? Replace the 1 with a 0...
One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club