Guest monsoonfalls Posted May 5, 2004 Share Posted May 5, 2004 I'm a newbie and I have a specific problem I'm trying to figure out how to solve. I'm using iOpus internet macros for some automated data extraction from a web page. The problem is they keep throwing up a popup window that I have to click OK on for my script to continue. I can pay them $500 to make it go away which is stupid. Or I am hoping somewhere here knows how to hit OK on a simple message box. I assume I'll have to use autoit to launch the .iim script then close the OK button. Using Window Spy I know >>>>>>>>>>>>( Window Title )<<<<<<<<<<<<< iOpus Internet Macros >>>>>>>>>>>( Visible Window Text )<<<<<<<<< OK Extracted Text: These values are constant. So how can 1. Launch the other script. ( A simple Run("file.iim") I assume 2. Wait for the internet macro script to pop up this message box 3. Then select the popup window & hit the OK button so the internet macro script will continue? Monsoonfalls Link to comment Share on other sites More sharing options...
scriptkitty Posted May 5, 2004 Share Posted May 5, 2004 (edited) well I hate to answer this, but if it was say a different button, you can have autoit pretty much push any popup, button, etc ultrafast. use autoitspy (included in autoit) to see the name of the button. then just run a macro like this: while 1 ControlClick("iOpus Internet Macros", "", "Button1"); put button name here sleep(10) wend for educational purposes only, I am sure it is worth the $400 Edited May 5, 2004 by scriptkitty AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
Guest monsoonfalls Posted May 7, 2004 Share Posted May 7, 2004 Thanks scriptkitty, However I tried this out and wasn't able to get it to work for me. Here's the solution I figured out after I discovered the help file. Run(@ComSpec & " /c " & 'OX_Balance.iim',"C:\Program Files\InternetMacros\Macros",@SW_HIDE) WinWait("iOpus Internet Macros","OK") WinActivate("iOpus Internet Macros","OK") Send("{ENTER}") Link to comment Share on other sites More sharing options...
Guest tommyboy22481 Posted May 11, 2004 Share Posted May 11, 2004 Cracks.am gets rid of most annoying registration messages for me Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now