|
|
|
|
  |
|
Msgbox, WebPage interaction
Last Post 16 Apr 2010 08:45 AM by Tijn. 7 Replies.
|
Sort:
|
Jimmyu
 |
| 01 Apr 2010 08:40 PM |
|
i am using djuggler to automatically surf thourgh web pages... for example: i create a script that searches for routers on buy.com. It will loop through each master link and pull up a details page, I also create a "msg box" the pops up and waits for me to click OK before proceding to the next master link and pulling up the next details page (i can then read this details page at my leisure)... Problem: the msgbox prevents me from interacting with the details page on web viewer. i want to sometimes interact with the details page (save it, click another link, whatever it is) and the msgbox prevents me from doin gthis is there another way to hold the script, also allows me to interact with the page within the viewer, then i can execute a command that continues the script? any creative was of accomplishing this?? hope this makes sense.. |
|
|
|
|
Support Team
 |
| 02 Apr 2010 08:59 AM |
|
The Advanced HTML Dialog action in the Deployment section of the Djuggler Builder edtion is non modal and can do that. DS |
|
|
|
|
jimmyu
 |
| 05 Apr 2010 08:37 PM |
|
Hi i tried, the "Show HTML Dialog" under deployment in the Builder trial version and it opens a text box but the script continues to run... I need the functionality of the msgbox, which stops the script until i click OK. BUT i also need it to be non-modal (i can interact with the webpage via the webviewer until i click OK to continue the script when I choose) Is this possible? if so how? Did I select the wrong function? thanks |
|
|
|
|
Tijn
 |
| 06 Apr 2010 12:44 PM |
|
You can set the HTML dialog to Input mode, instead of viewer mode. Input mode will hold the script and wait for input. Next you create a simple HTML form with an OK button. See the action example 199 how to use the HTML dialog as an input dialog. Tijn |
|
|
|
|
jimmyu
 |
| 06 Apr 2010 04:36 PM |
|
Thanks, but i think you are missing my point. I want to interact with the web-page in the webviewer (click links, etc). if i use INPUT mode the dialog box pops up but the web page(from web-viewer) is not accessible (cannot click links etc). I see that i can have inputs into the box but what does that have to do with me intereacting with the webpage in the webviewer? i would like to hold the script, interact with the webpage in the webviewer, then click or button(or whatever) to continue with the script. This advanced dialog box in input mode or viewer mode doesnt allow it(it will stop the script but not allow me to intereact with webpage)... what am i missing? thank you for the help |
|
|
|
|
Tijn
 |
| 07 Apr 2010 01:08 PM |
|
OK, Here is a creative solution. First you compile the attached OKtoClose.djs to an executable file. Next look at the attached waitwithnonmodalbrowser.djs. If will use the Run Shell Command with a wait for finish. On the OK button from OKtoClose the script will continue, while you can click in the web viewer from waitwithnonmodalbrowser. Hope this helps. Tijn |
OKtoClose.djs
waitwithnonmodalbrowser.djs
|
|
|
|
jimmyu
 |
| 16 Apr 2010 01:13 AM |
|
thanks that is a creative way to interact with the webviewer and have a dialog box to continue the script once I am done BUT the OK box hides itself behind the webviewer once i click the webviewer, so its a constant, minimize, or moving etc... anyway around this via djuggler or do i need to space windows and ok box? thanks |
|
|
|
|
Tijn
 |
|
|
  |
 |
 |
 |
|
|
|
|