Page 1 of 1

Read only mode help

Posted: Thu May 05, 2011 5:09 am
by wilsondevo
The following command will open file "testfile.txt" and allow me to edit it :

"C:\Program Files\Zeus\zeus.exe" testfile.txt

but how do I open a file in read only mode from the command line ?

I cannot seem to find a Zeus command line option to do it.

I had thought there might have been the typical "-r" or "-R" option to do this e.g

"C:\Program Files\Zeus\zeus.exe" -R testfile.txt

The reason I ask is that some programs allow you to specify a "Viewer"
(e.g Total Commander) for looking at text files and I would like to specify
Zeus as my viewer and since you are just "looking" at the file and have
no intention of editing it, the file of interest should be opened in a read
only mode.

Also, can Zeus show me the total number of characters in the current file ?

Posted: Thu May 05, 2011 6:37 am
by jussij
I cannot seem to find a Zeus command line option to do it.

You are correct in that there is currently is no way to do this in Zeus :(
I had thought there might have been the typical "-r" or "-R" option to do this e.g

I will look to add the -r command line option added for the next release.

Cheers Jussi

Posted: Fri May 06, 2011 4:18 am
by wilsondevo
Hi Jussi,

Thanks very much for the prompt response. It would be fantastic to have
that read only '-r' option in a future release.

Cheers - Wilson

Posted: Fri May 13, 2011 12:36 am
by jussij
The latest version found from the link below now implements this read only feature:

http://www.zeusedit.com/zforum/viewforum.php?f=6

Cheers Jussi