[Contents]
[Index]
[Help]
[Browse <]
[Browse >]
lister set <handle> newprogress [name] [file] [info] [info2] [info3] [bar] [abort]
This turns the progress indicator on for the specified lister.
This is similar to the old lister set progress command, but allows
greater control over the information displayed.
handle is the handle of the lister in question.
(If you don't want to open the progress window over a lister, use the
dopus progress command instead.)
name - allocates space for filename display
file - allocates space for file progress display
info - allocates space for information line 1
info2 - allocates space for information line 2
info3 - allocates space for information line 3
bar - allocates space for progress bar
abort - adds "Abort" gadget
Progress windows that show both the bar graph and the file progress will
have the graph and file displays swapped around. This means that instead of
the graph showing the percentage of files copied, and a 'xx%' display
showing the progress of that file, the graph shows the file progress and a
'xxx of yyy' display gives overall information.
For example,
+ lister set 121132636 newprogress name file info bar abort
The following commands are for use once your progress window is open.
lister set <handle> newprogress name <filename>
If the progress bar was opened with the name parameter, this will set the
current filename to filename .
For example,
+ lister set 121132636 newprogress name 'myfile.txt'
lister set <handle> newprogress file <total> <count>
If the progress indicator was opened with the file but not the bar
parameter, this will set the total number of files and the number of the
current file. This is shown as 'xx%' in the top right of the requester.
If the progress indicator was opened with both the file and bar parameters,
this will set the total number of bytes and the current byte count. This is
shown in the bar graph part of the requester.
+ lister set 121132636 newprogress file 12 4
lister set <handle> newprogress <info|info2|info3> <text>
text is a text string to be displayed between the filename and the bar
graph of the progress indicator. You can only use this if you allocated
this space when you created the progress bar.
For example,
+ lister set 121132636 newprogress info "From 'T' to 'Ram:'"
lister set <handle> newprogress bar <total> <count>
If the progress indicator was opened with the bar but not the file
parameter, this will set the total number of bytes and the current byte
count . This is shown in the bar graph part of the requester.
If the progress indicator was opened with both the file and bar parameters,
this will set the total number of files and the the current file count .
This is shown as 'xxx of yyy' in the top right of the requester.
For example,
+ lister set 121132636 newprogress bar 1024 100
lister set <handle> newprogress title <text>
text is a text string to be displayed in the title bar of the progress
indicator.
For example,
+ lister set 121132636 newprogress title 'Copying...'
You can use the old lister set progress commands on a "newprogress"
indicator, but obviously they can only change the filename and bar count.
Use lister clear progress to remove either the "old" or "new" progress
indicators.
See also:
lister set progress
lister query abort
lister clear progress
lister clear abort
dopus progress
Converted on 04 Nov 1998 with RexxDoesAmigaGuide2HTML 2.2 by Michael Ranner.