How to rename if only using Clicks and ondownload?

I browsed some related topic and found that the ondownload normally using with open. But in my case, I can only use click to press the button to download the file. And there’s no url that I can open with LinkText. So how can I rename a file using click and ondownload? Or is there any other solution that I can use without using CMD bat or powershell? Thanks.

BTW, RPA version is 5.8.8. Chrome is Version 86.0.4240.183 (Official Build) (64-bit)

Just put the onDownload right before the click: onDownload | newfilename

Thanks bro. I hope it can work just that easy. But it’s not. I’m not sure if the onDownload should be used with Open command. Is there any other solution to use with click? Thanks~

I also have macros that use onDownload with XClick, give that a try

Oh, I’m soooo sorry. It seems like putting the onDownload before click is working perfectly. My problem here is that, the RPA extension is conflicting with the other extension Nimbus Screenshot & Screen Video Recorder. Both of them need the right to process rename. So when I turn off the Nimbus Screenshot & Screen Video Recorder, the onDownload is working again!!! Thanks, mate! Problem is solved!

Glad you got it working!