I want to use ondownload in capcut web, but ondownload with the target “video 1.Mp4” actually captures when capcut web finishes exporting, not when “video 1.Mp4” finishes downloading.
Ondownload | filename | true
works for me. The TRUE is important, it makes the macro wait for the download to complete.
Also, ONDOWNLOAD must be in the macro before the click command that triggers the download.
See this GIF, the line with the CLICK command waits until the download is complete. During this time you see the download count down in the top status bar:
thanks it turns out my mistake was in ${!COL1} .Mp4 as the target and not adding true but 100000 per millisecond. thanks
1 Like
I don’t understand, sometimes it works and sometimes it fails. Is there something wrong with the macro I created? Please help. Xclick 1 is used for export, then waitforelement feasible to wait for the text that says expoert to finish, then continue with ondownload, but ondownload is immediately green, without waiting for the download process to finish
no need to answer it turns out my mistake was in xclick I should have used click then added the locator
1 Like