FileProc is a simple file processor which can perform a few operations on files, namely:
• Format to any width
• Intelligent un-format
• Replace any character with any other
• Encrypt/Decrypt with any password upto 32 characters
Usage
¯¯¯¯¯
Load in the usual way & click on the iconbar icon. Choose the process which you want to apply to the file by selecting the appropriate radio icon, and filling in any writable icons which are relevant to that process.
Then, drag the file to be processed to the iconbar icon or to the window, and it will be loaded then processed in memory (you won’t notice the processing as it is very fast as that part of the program is written in ARM code). To save the processed file, press OK to write over the original, or use the save box as normal.
The following processes are available...
Format to <x> chars
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
The input file should be a text file with LF terminated lines, with the text in continuous paragraphs (eg. exported from Impression or written in StrongED 2 with wordwrap mode on). The output file contains the same text but it is formatted to the width specified in the writable icon.
Wordwrap (paragraph)
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
This does the reverse of format, with a few special bits added in. Basically it joins all lines unless before a double LF, or a line beginning with TAB, space, ~, -, =, ¯ or #. This works quite well (well it does with my textfiles!!) and requires no or very little editing afterwards (usually routines which do this just do the double LF stuff but this leaves all underlined heading etc. in a mess, the wordwrap routine in !Edit does this).
Replace <x> with <y>
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Replaces all occurences of the byte indicated by the 1st writable icon with that indicated by the second. The writable icon’s contents are EVALuated, so 28 would mean CHR$28, &0d would mean CHR$13 etc. Note there is enough room in the writable icons for you to enter ASC"!" etc. This can make life easier!
Encrypt with
¯¯¯¯¯¯¯¯¯¯¯¯
This encrypts the file using the password specified. The password appears as *s and there’s no second box so don’t get it wrong!! To decrypt drag the encrypted file, and use the same password. The output will be decrypted. The longer the password the more encrypted is the data. (Max length of password is 32 chars).
Disclaimer
¯¯¯¯¯¯¯¯¯¯
I take no responsibility for any data corruption or effects of any kind due to the use or misuse of this program.
What’s new in this version?
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
• Quite a few bug fixes - the program should now be reliable most of the time.
• SJPD module scrapped - arm code now held in ‘Code’ file
• Code for turning ¤x into [17][0x] removed (what? :~/)