LEGAL STUFF ----------- This program is FreeWare. It may be copied and distributed through bulletin boards or networks so long as all the original files are included in the archive. This program may not be charged for or sold, aside for a reasonable media and copying fee (no more than $5), without the permission of the author. The author grants Fred Fish the right to distribute this program in his disk library. This program is Copyright 1994 RG Industries, and all rights to the program, the archive, and all associated files are exclusive to the author. The author takes no responsibility for the use or misuse of this program. All responsibility for use or misuse of this program is taken by the user. The author makes no claims that this program will do anything or nothing. ----------------------------------------------------------------------------- FProcess 1.0 -------------- Copyright 1994 RG Industries Author: Frederick Potetz March 28, 1994 Requirements: AmigaDOS 2.04 or higher. This is just a small program I wrote in-between work on my other programming projects. The coding took me ~2 hours and the debugging, error correction, and revision took ~10 hours more. FProcess is a small utility designed to identify files and run a prescribed process on them (ex. Feed FProcess a GIF file and it will run the viewer you selected in the prefs file on it.) FProcess can identify filetypes in one of three ways. 1: Initial ASCII code. Maximum of 20 characters. (ex. GIF87a would be used for GIF pictures.) 2: Initial ASCII code with wildcards. Max 20 characters. (? is a wildcard) (ex. ??????JFIF would be used for JPEG pictures.) 3: Filename extensions. Maximum 256 characters. (#+extension) (ex. #.MOD would catch any file ending in .MOD) FProcess can take an argument in a number of ways. FProcess will take a file as an argument through a shell (ex. FProcess or FProcess ? for a really short template). If called through WB or through CLI without an argument it will pull up a filerequester and can take either single or multiple files from it. FProcess requires the ReqTools.library (v38 or greater) to run. FProcess must also have its preferences file in ENV:. The preferences file is named "FProcess.Prefs" and should be copied into your "SYS:Prefs/env-archive/" drawer. The prefs file is ASCII and must follow the following guidelines: 1: The first line in the Prefs file is the number of file types contained in the File. 2: All filetypes must be preceeded by a blank line. 3: a filetype consists of three parts, each on its own line. a: The filetype (ex. GIF87a Picture) b: The ID code (ex. GIF87a) c: The action (ex. SYS:GIFViewer) This product is FreeWare. If you find a use for it, then use it with my blessing (just don't make a profit on it =). If you feel a need to give me something for my effort, then send me mail and tell me what you think. Source code is available upon request. Send replies to: Frederick Potetz 117 Creston Drive West Mifflin, PA 15122 USA P.S.: Many thanks to the creator of ReqTools.Library. Takes a little of the hassle out of coding. Fine piece of work. ----------------------------------------------------------------------------- History: ----------------------------------------------------------------------------- Version 1.0: 3-28-1994 - First Release.