Jump to content

Send not working


fstoll
 Share

Recommended Posts

Hi,

I have a (hopefully) simple issue to resolve. The Send command is not working in my scripts. I've tried it with different keys, etc., but it's as if the send command is not in the code. The dialog box brought up from the previous line just sits there waiting. For example, here is a snippet from the included WinZip tutorial in the help file. Nothing happens at the send command.

Run("winzip90.exe")

WinWaitActive("WinZip® 9.0 SR-1 Setup", "&Setup")

Send("!s")

OS is Vista and UAC is turned off.

Thanks for looking.

Link to comment
Share on other sites

My guess is that your script is hanging at WinWaitActive. Here is what you can do:

- put Opt("WinTitleMatchMode", 2) on top of your script (looks to match any substring from the title)

- use a shorter title ("Setup" or "WinZip" or anything else significant)

also

Put Opt ("TrayIconDebug", 1) on top of your script so you can see which line is executed (where the script hangs)

SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...