ToDo: ----- 15.05.02: - a log file, with all shown values (bps, time, etc) Bugs: ----- History: -------- 1.5 (26.05.02): CHG: If you set 'Com=Command' to "" (empty string), then no action button (named "!") will be created. [suggested by Todd A. Oberly] (23.05.02): CHG: The value after "time: " now shows the time since starting the download! Previously the time when the file was last modified has been used. FIX: The "time: " value now also takes care of the days part of the time, f.e. if a download started before 00:00 o'clock, the time was negative. NEW: Added the magic-stackcookie, to ensure that it get at least 16K of Stacksize! Shell v45.6+ is needed for this! NEW: There a now 2 executables in the archive, one has a "_NoGuru" appended. This is like the previous, it shouldn't cause a guru if an error occured. The other (w/o the suffix) has some checks disabled, which reduces the filesize about 3000 Bytes and may cause gurus if an error occured! The version string tells you which version you have. CHG: Removed shell arg SM=SizeMode, replaced by AutoSize/T NEW: New shell arg AS=AutoSize/T If used (AutoSize = YES), the current size, the filesize and the bps are shown in B (=Bytes), if the size is < 1024 Bytes, in KB, if the size is >= 1024 Bytes and in MB, if the size is >= 1048576 Bytes! CHG: Changed the gauge infotext a little bit. CHG: Remove the alias EXIT for AUTOEXIT, it was only introduced to use with AmiSat, till AmiSat required FSwatcher v1.3+. 1.4 (19.05.02): NEW: Extended the both time values to display also the hours (noticed while downloading the pegasos video with wget;-) CHG: Removed shell arg KB=ShowKilobytes/T, its replaced by 'SizeMode' NEW: New shell arg SM=SizeMode It can be set to "KB" or "MB", to display the current size and the filesize in Kilobytes (divided by 1024!) or MegaBytes (divided by 1024*1024, with 3 numbers after the comma). If its set to a different string, "bytes" are used. NEW: New shell arg Com=Command This command will be executed if you press the "!" button! You can use it f.e. to play the currently downloading mp3 song! Default is "s:FSwatcher.bat". The 's' and/or 'x' bit have to be set, if the command is a shell-script! NEW: New shell arg ComCon=CommandConsole This is used to specify a console window where the output of the command is send to. Default: CON:210/400/500/120/FSwatcher action command/CLOSE If you don't want a window, use "ComCon = NIL:" w/o the qotes. CHG: Removed the initialPattern (#?.mp3) from the asl-req, cause every file could be downloaded, not just .mp3s. 1.3 (16/17.05.02): FIX: Fixed the automatically closing of the finished requester NEW: You can now set the env-var 'FSwatcher' to your default args. It will be parsed before the commandline is parsed. Therefore all /S shell args are now /T args, if you want to set a /T arg you have to put a "ON" or "YES" after it, and if you want to unset it, you have to use "OFF" or "NO"! NEW: New shell arg QUIET/T [suggested by jah] Should ALL error requesters be suppressed? Well the "Dos.ReadArgs() failed!" isn't suppressed;-) NEW: New shell arg BPSBar/T Should a small gauge showing the current bps relative to the max bps be displayed? NEW: New shell arg TimeOut/N If a transfer is stalled (-> the "---" display) AND AUTOEXIT/T is used, the window will close after 'TimeOut' seconds. Defaults to 10. You can use values from 0 to 30. 0 means, no timeout. NEW: New shell arg Delay=UpdateDelay/N Update the display every x seconds. Defaults to 2. You can use values from 1 to 10. NEW: New shell arg KB=ShowKBytes/T If the current size and the filesize should be displayed in "kb", then you should set this argument to ON or YES, NEW: the window doesn't gets activated when its opened 1.2 (01.05.02): NEW: 3 shell arguments: Name=FileName, Size=FileSize/N and AUTOEXIT/S You can now specify the filename and the filesize (if not it will be tried to read from the comment) at startup, to directly start the download. AUTOEXIT means no finished requester at the end and quit the program after the is download finished. 1.1 (30.04.02): NEW: After a WB/DOpus-Drop or if you press "Start" when the filesize is 0, the filesize is read from the comment of the file NEW: The fileName gadget has now a popasl button attached. 1.0 (20.04.02): first version, it works;-)