Urgent! So .. how much are you willing to pay?
... before answering, that was a rhetorical question (or at least, for me it is).
The Scripting Forum is to help you writing your own scripts. It is not, however, meant, designed, intended or a good, fast and easy way to Request Free Scripts ("urgent" or otherwise). Writing scripts is not hard for those who can, and those who can are in general willing to help those who cannot. But it takes time and effort! Your request stretches the concept of "freely and willingly helping others" a bit too far.
If "downloading all images from my publication" means:
"I want to copy all placed images in a document to a new folder", why don't you use InDesign's own feature for that?
It's "Package" from the "File" menu. That would do what you want…
No script needed.