Warning: this feature requires version 2.3 or above. Event scripts are scripts that run when something happens: an event. The syntax is very similar to the one used in templates. The name of the event is on a line, surrounded by [square brakets]. The script commands follows. Example:
[upload completed]
{.move|%item-resource%|C:\another_folder\%item-name%.}
Would you need to not overwrite an existing event script, you can prefix the event name with a "+" sign. Example: [+upload completed]. You can read more on the forum.
edit Events listedit Network events
edit Naming eventsYou can use these events to change the name that will be given to the file that is about to be uploaded or downloaded: upload name, archive name, download name. The resulting text of these events will be used as new name for the worked file. For event archive name the symbol %stream-size% is provided so that you can use it for actions depending the size of the generated archive. edit Other events
edit Timed eventsYou can ask HFS to run a script at a certain time, or interval. To run a script at 1PM o'clock, you can make an event [at 13:00]. To run every 15 minutes instead you should make an event [every 15 minutes]. You can read more on the forum.
Last modified July 31, 2010 11:45 am / Content is available under GNU Free Documentation License 1.2. / Skin by Kevin Hughes
![]() |