extract webdialog popup

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.
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
shaves
Posts: 77
Joined: Tue Apr 29, 2008 6:50 pm

extract webdialog popup

Post by shaves » Tue Oct 11, 2011 4:24 pm

For certain situations in my macro, I will get a webdialog pop up. I would like to extract the contents of the webdialog pop up and take some action based on the contents. Is it possible to to extract the contents of an html webdialog pop up? I have looked around but haven't found an answer to this question.

I have used the following command: "ONDIALOG POS=1 BUTTON=OK CONTENT=" and it works fine. It closes the pop up and the the code keeps on running. However, I would like to see what is on the webdialog pop up before clicking "yes" each time.

Here is the code I have tried. I have added the "SET !EXTRACTDIALOG YES" to try and extract the webdialog pop up but I am not having any success with this.

"TAB T=1"
"TAB CLOSEALLOTHERS"
"FRAME F=3"
"SET !TIMEOUT 120"
"SET !EXTRACTDIALOG YES"
"ONDIALOG POS=1 BUTTON=OK CONTENT="
"TAG POS=1 TYPE=A ATTR=TXT:Bill<SP>To<SP>Options"

Any suggestions or code samples would be greatly appreciated. Thanks for the help.
Hannes, Tech Support

Re: extract webdialog popup

Post by Hannes, Tech Support » Thu Oct 20, 2011 1:14 pm

Post Reply