Save files and Run exe using webquerysave

Hi ! I have an agent that works great on the Notes client. Now I just need to have it work using a browser.

The LotusScript agent saves several documents to the local machine and then calls an exe file to run. What is the best way to have the agent run from a browser? Change to JavaScript? Create an ActiveX control?

Thanks. Here is the basics of the LotusSript agent running from the Notes client that I need the web to work with.

’ Make a folder to download the files to on the local machine

Mkdir “c:\LotusInstall”

’ Download the standard files needed to local machine

Set doc = collection.GetNthDocument( j )

Set rtitem = doc.GetFirstItem(“Body”)

Set object = rtitem.GetEmbeddedObject(“filename.xxx”)

Call object.ExtractFile(“c:\LotusInstall\filename.xxx”)

’ Start the exe file on the local machine

taskId% = Shell(“c:\LotusInstall\filename.exe”,1)