Jump to content
Sign in to follow this  
Amerigo

script help

Recommended Posts

Amerigo

Perhaps you can help with this script?

I want it to open WordWeb whether or not it is already in the system tray. I use Responding Heads to run AutoIt Scripts. If you can convert this to VB for RH to use without AutoIt, that would be even better.

Opt("WinTitleMatchMode",2)

If WinActive("WordWeb") Then ~~~(this probably won't work because its not active if in the system tray?)

Send("^%W") ~~~(cntl+alt+w)

Else run "C:\Program Files\WordWeb\wweb32.exe" ~~~(error here. Run command???)

Sleep(10000) ~~~(time it takes to load???)

Send("^%W")

End If

Thank you so much,

Amerigo


Anyone who does not wonder is either omniscient or foolish.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.