Hi,
I am well-versed iMacro script writer/developer, working from past 3 years for iMacros.
I read through your requirements.
My suggestion for your requirement is Custom Tool for your requirement, because as we know iMacro has some limitations to do automation, your asking beyond that.
Still I have hope iMacros, please send website link, so that I will check and let you know.
Please PM me, we will discuss about project.