Question

Stefan
08/26/2005 06:34 am
Is there any way to run an external program once a single file (not the complete project) has been downloaded? Preferabbly together with the name of the just downloaded file.

Thx

Stefan
Oleg Chernavin
08/26/2005 06:55 am
No. But you can run Offline Explorer with an /hWnd= parameter and your program will receive messages about each of the downloaded files.

Best regards,
Oleg Chernavin
MP Staff
Stefan
08/26/2005 06:59 am
I tried to find any info on the /hWnd= in the OE help file, but couldn`t find anything. Can you point me to the right direction please ?

Thx

Stefan
Oleg Chernavin
08/26/2005 08:09 am
Yes, it is undocumented. OE will send a WM_COPYDATA message to the specified window handle. The memory pointed by the message will contain an INI-like structure with all of the downloaded file details.

For example, if your window handle is 10055 (decimal), then run OE:

oe.exe /hWnd=10055

Oleg.