Extract dialog box text in iMacros or JavaScript
I am using iMacros 7.6.0.2. I am trying to figure out how to extract text from a popup dialog (not the ones I created). I am using JavaScript, and SET! EXTRACTDIALOG YES doesn't work with my version of iMacros. Updating is not an option, so I am wondering if there is a way to do this, or if I screwed up ... Thanks
+1
source to share
1 answer
http://wiki.imacros.net/Data_Extraction
Check out the link above and there are some examples.
URL GOTO=http://www.iopus.com/imacros/demo/v6/dialogs/javascript2.htm
SET !EXTRACTDIALOG YES
ONDIALOG POS=1 BUTTON=OK CONTENT=
TAG POS=1 TYPE=INPUT:BUTTON FORM=NAME:NoFormName ATTR=VALUE:Popup<SP>1
WAIT SECONDS=3
PROMPT {{!EXTRACT}}
Here's one example. There is also a Demo-FireFox folder in the iMacros folder. It has sample iMacros scripts. There are several examples of exatract and they might help you.
0
source to share