Sign in to follow this  
Followers 0
Guest monsoonfalls

Message Box Pop Up

4 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by scriptkitty

AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

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}")

Share this post


Link to post
Share on other sites
Cracks.am gets rid of most annoying registration messages for me :D

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  
Followers 0