views:

229

answers:

1

I am trying to click a button on an application in the systray using WSH. Is this possible? Could somebody provide an example written in Jscript please? THANKS

+1  A: 

No, it's not possible unless the program itself provides COM instrumentation (Office and IE does this for instance). The large majority of programs cannot be instrumented. And WSH provides very basic shell access, and as far as I know, it provides no access at all to the notification area.

You'll likely want some other tool that does this. While I'm not sure of an exact program, I'm sure google can yield something in the region of "windows automation."

Svend
I am looking for answers not google leads
Proximo
He did give you the answer: No. :-)
Martijn