Code waiting 60 seconds

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
Posts: 77
Joined: Tue Apr 29, 2008 6:50 pm

Code waiting 60 seconds

Post by shaves » Sun Oct 05, 2008 2:52 pm

I'm using the following code to select an item from a drop down. The drop down looks like a grid but only the first column has data. I have captured the selection and have it stored in an array (DR(6,rt)). This is working but the problem is that it waits 60 seconds before moving on to the next line of code.

Any suggestions to avoid the 60 second wait? Thanks for the help.

MyMacroCode = "CODE:"
MyMacroCode = MyMacroCode + "VERSION BUILD=6140505" + vbNewLine
' MyMacroCode = MyMacroCode + "SET !SINGLESTEP YES" + vbNewLine
MyMacroCode = MyMacroCode + "TAB T=2" + vbNewLine
MyMacroCode = MyMacroCode + "FRAME F=3" + vbNewLine
MyMacroCode = MyMacroCode + "TAG POS=5 TYPE=BUTTON" + vbNewLine
MyMacroCode = MyMacroCode + "FRAME F=26" + vbNewLine
MyMacroCode = MyMacroCode + "TAG POS=1 TYPE=A ATTR=TXT:" & DR(6, rt) & "<SP>" + vbNewLine
Posts: 126
Joined: Wed Jun 11, 2008 4:13 pm

Re: Code waiting 60 seconds

Post by BrianR » Mon Oct 06, 2008 1:44 pm

Try adding the Timeout Command: SET !TIMEOUT 10

Post Reply