DonationCoder.com Forum

Main Area and Open Discussion => General Software Discussion => Topic started by: kalos on August 31, 2007, 03:00 AM

Title: browse text files
Post by: kalos on August 31, 2007, 03:00 AM
hello

consider "Windows Picture Viewer"

it opens the image files inside a folder and browses throught them by hitting ENTER

hitting DELETE deletes the currently viewed file

is there a program to do this for TXT files?

PS: irfanviewer, xnviewer, dont work

PS: they are actualy files that contain plain text only

thanks
Title: Re: browse text files
Post by: Darwin on August 31, 2007, 03:04 AM
kalos - I'm not clear on what you are asking here? Do you mean that you can open a file in Windows Picture Viewer and then advance through the following files by hitting enter and would like to be able to do this with plain text files?
Title: Re: browse text files
Post by: Perry Mowbray on August 31, 2007, 03:11 AM
PS: irfanviewer, xnviewer, dont work

I'm sure IrfanView can load text files?? Well, pretty sure  :-[
Title: Re: browse text files
Post by: Perry Mowbray on August 31, 2007, 03:15 AM
One of the alternative Windows Explorers that has a Quick View Window should display the text as your scroll through the files in the file view. I haven't got time to get a full list, but AC Browser (http://www.konradp.com/products/acbplus/help/quick_viewers/index.htm) for example...

The xplorer2 Review (https://www.donationcoder.com/forum/index.php?topic=9493.0) probably has lots of people's favourites too.
Title: Re: browse text files
Post by: kalos on August 31, 2007, 03:17 AM
kalos - I'm not clear on what you are asking here? Do you mean that you can open a file in Windows Picture Viewer and then advance through the following files by hitting enter and would like to be able to do this with plain text files?

exactly, but ofcourse Windows Picture Viewer cant open text files, I need another program to do it

PS: irfanviewer, xnviewer, dont work

I'm sure IrfanView can load text files?? Well, pretty sure  :-[
-Perry Mowbray (August 31, 2007, 03:11 AM)

no
[url]http://irfanview-online.com/vb/showthread.php?t=81[url]
Title: Re: browse text files
Post by: Darwin on August 31, 2007, 03:19 AM
DOpus (http://www.gpsoft.com.au) will do what Perry describes above as well... and I am pretty sure that V - The File Viewer (http://www.fileviewer.com) will too...
Title: Re: browse text files
Post by: justice on August 31, 2007, 03:20 AM
I'm sure irfanview can load text files too because I've used it myself. But you might have to download the plugin pack (http://www.irfanview.com/plugins.htm)
Title: Re: browse text files
Post by: kalos on August 31, 2007, 03:22 AM
just tested AC Browser, it sucks realy bad
Title: Re: browse text files
Post by: Darwin on August 31, 2007, 03:25 AM
Check out this recent thread on File Managers (https://www.donationcoder.com/forum/index.php?topic=9783.msg74300;topicseen#msg74300) for some ideas.
Title: Re: browse text files
Post by: kalos on August 31, 2007, 03:32 AM
I used irfan viewer with all the plugins

as for the V-file viewer, does it really do what I say or I cant make it work?

what it does is to view the files inside a folder NOT to view the text of the files
Title: Re: browse text files
Post by: rjbull on August 31, 2007, 03:40 AM
You could try TextView (http://www.flos-freeware.ch/archive.html) (freeware) by Florian Balmer.

Also Lister (http://www.ghisler.com/lister/), Total Commander's "F3 viewer," has been split out and offered as a freeware.

Title: Re: browse text files
Post by: kalos on August 31, 2007, 03:42 AM
dopus does what most file managers do, but again its not what I need

it has the viewer pane thingie

hitting enter or delete in viewer pane types a newline or deletes, its not "viewer pane" this thing is called text editor!

moreover, when I select a file and I watch in the viewer that I want to delete it, and then I delete it, it doesnt go to the next file!!! it removes the focus!!!
Title: Re: browse text files
Post by: justice on August 31, 2007, 03:46 AM
I used irfan viewer with all the plugins
Can you explain what problems you have with it? theres a back and forward button as well as a delete button in irfanview, and am using that you can change the font used to view the textfiles.
Title: Re: browse text files
Post by: kalos on August 31, 2007, 03:48 AM
TextView does what I said above for dopus, plus it doesnt let me view the file with single click, it needs double clicking (shrug)
Title: Re: browse text files
Post by: kalos on August 31, 2007, 03:49 AM
as for the irfanview you can see the above post of their forum
Title: Re: browse text files
Post by: Darwin on August 31, 2007, 08:51 AM
I used irfan viewer with all the plugins

as for the V-file viewer, does it really do what I say or I cant make it work?

what it does is to view the files inside a folder NOT to view the text of the files

I said I was "pretty sure" V - File Viewer would work for you, didn' offer certainty, and can't as I don't have it installed.

In DOpus, go into Settings - Preferences - Plugins - Viewers and uncheck "SourceCodeEditor" - now you're just viewing txt files rather than editing them...
Title: Re: browse text files
Post by: Dirhael on August 31, 2007, 09:48 AM
Well, you could also use Total Commander, Speedcommander or Xyplorer to do it if Dopus isn't to your liking...or even Far Manager should you prefer it. I've attached a screen of each :)
Title: Re: browse text files
Post by: Perry Mowbray on August 31, 2007, 10:44 AM
as for the irfanview you can see the above post of their forum

Ah well, like it was adequately explained in the other forum, IrfanView relies on the file extension and .ini or .log or .anythingelse is not the same as .txt (though they all may be text files)

I'm sure irfanview can load text files too because I've used it myself. But you might have to download the plugin pack (http://www.irfanview.com/plugins.htm)

I'm pretty sure it isn't a plug-in (I can't see it in the list anyway), I think it's part of the main programme.
Title: Re: browse text files
Post by: yksyks on August 31, 2007, 04:00 PM
ZTreeWin (http://www.ztree.com) in Autoview mode can do same:

[ You are not allowed to view attachments ]
Title: Re: browse text files
Post by: AzureToad on September 04, 2007, 01:18 PM
TextView does what I said above for dopus, plus it doesnt let me view the file with single click, it needs double clicking (shrug)

Configurable.   I'm running version 6.0.12.  View / Options / General tab, check "Allow only single mouse-click to open objects"  voila.

 :Thmbsup: TextView http://www.flos-freeware.ch is what you want if you want to select which text files to view, select text from a file, edit a file if needed, file management, etc.
 :-\ Irifanview http://www.irfanview.net/ works well for viewing one file after another, without the need/ability to select the file from a list - space bar moves to the next file, backspace moves to the previous, etc.

Both tools are HIGHLY recommended
Title: Re: browse text files
Post by: TPReal on September 10, 2007, 07:04 AM
Try this simple program, I think it might be what you are loking for. You load a directory, then there's a list of all text files which you can browse and delete (not edit).

[attachthumb=#1][/attachthumb]

I'm sorry for the pity fact that you must also download some libraries, but when I try to compile a program with needed libraries in it, something doesn't work. Put them in the program directory or in windows\system32. (Not all the libs are needed, but I'm not sure which of them are.) http://etonne.110mb.com/files/libs.zip

TPReal.
Title: Re: browse text files
Post by: Darwin on September 10, 2007, 07:29 AM
Wow! Thanks TPReal. This looks really interesting  :Thmbsup: I'm downloading now to try it out (will post back later in the day to report on my experience - off to work now).
Title: Re: browse text files
Post by: kalos on September 11, 2007, 03:20 AM
mr TPReal you made my day, big thanks, its exactly what I need

by the way, how you found this? is it yours?
Title: Re: browse text files
Post by: rjbull on September 11, 2007, 03:40 AM
Try this simple program, I think it might be what you are loking for. You load a directory, then there's a list of all text files which you can browse and delete (not edit).

This looks very like a Windows-ized version of PC Magazine's DOS utility FileCtrl.com.  Is that where the inspiration came from?

[ You are not allowed to view attachments ]
Title: Re: browse text files
Post by: TPReal on September 11, 2007, 04:05 AM
Nice to hear that you like it :)
In fact I wrote this program once for myself, but it didn't have the option to delete files, only to view them, so now I added deleting and that's it. The whole work (then and now) took less than an hour, I think :)
I wasn't inspired by the program you have mentioned, rjbull, because I didn't know there is such a program :) I just made what seemed most obvious to me.
What was important to me at the time when I wrote the program for myself, is that it can open all ASCII files (in fact, it checks if there is a byte with value 0x00 anywhere in the file, and if not, it assumes that the file is human-readable).
TPReal.
Title: Re: browse text files
Post by: kalos on September 11, 2007, 09:47 AM
I loved that your program is the only that when you delete a file, it focuses the next in the left list!

ofcourse there could be improvements, eg scan subfolders, select multiple files, etc

but it doesnt perfectly what I need so far

:)
Title: Re: browse text files
Post by: rjbull on September 12, 2007, 03:24 AM
In fact I wrote this program once for myself, but it didn't have the option to delete files, only to view them, so now I added deleting and that's it.

TPReal,

Please will you consider adding a README file to the archive, briefly saying what the program does, where it and the necessary libraries can be downloaded from, and what the license conditions are? 

Thanks...



Title: Re: browse text files
Post by: TPReal on September 12, 2007, 08:43 AM
OK, I added some text file to the archive and updated the original post :) but I really had no idea what to write there.

I don't know what is the copyright status of the libraries and if they can be downloaded from some other place. I guess that as I own legally BDS 2006, I can distribute the libraries along with the programs that need them, so I put them on the server and gave you the link. I hope that's OK :)

If you find anything suspicious in the text file, please tell me so that I can correct it.

TPReal.
Title: Re: browse text files
Post by: kalos on September 12, 2007, 08:57 AM
thanks

can you add the feature to select multiple files with ctrl/shift ?
Title: Re: browse text files
Post by: TPReal on September 12, 2007, 09:07 AM
Do you mean: select multiple files on a list so that they can be deleted together? Because now I don't see any other purpose for selecting multiple files.
Surely it can be done, but now I have some other work to do, so don't expect it today :)
TPR.
Title: Re: browse text files
Post by: kalos on September 12, 2007, 09:41 AM
yes, this is what i mean

anytime, thanks !
Title: Re: browse text files
Post by: TPReal on September 12, 2007, 03:31 PM
OK, I found some time. Now you can select multiple files and delete them. I updated the original post. I have a suspection that there is a bug in the previous version :) so better download the latest one.
TPReal.