Advanced: Remove small Sample Files from iFlicks

When using watch folders, all video items dropped to a folder will be opened and processed by iFlicks. Sometimes this is not desirable for specific files.

This sample rule will remove all files from iFlicks which have a size smaller than 25MB of size. Additionally a message box will be shown to notify you about this action, which you can easily stop by removing the display dialog line from the script.

on action(this_video)

set this_info to get info for (file of this_video as alias)

if (size of this_info) < (25 * 1024 * 1024) then

display alert "removing file " & (file of this_video as text)

remove this_video

end if

end action

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk