Actions
$download » History » Revision 1
Revision 1/2
| Next »
Per Amundsen, 02/25/2016 12:12 PM
Added in 2.3
$download
Returns the download name during a on DOWNLOAD event.
$download(name,[N])
Returns information about a the Nth download.
Parameters
name - Name to lookup, can be a wildcard.
[N} - If N = 0, number of matches, otherwise the Nth match. (optionally)
Properties
.name - Name of the download.
.file - Filename to save as.
.url - The url to download.
Example
; Print number of downloads. //echo -ag $download(*, 0) ; Print the first download. //echo -ag $download(*, 1)
Updated by Per Amundsen over 8 years ago · 1 revisions