Skip to content

Answer Page Dialog

  • Action
  • Browser

Sets the answer for the page's own message box (a message, a question with OK and Cancel, a box that asks you to type something, or Leave site?) the next time it shows in the tab. Put it just before the step that makes the page ask. Without it, MacroWin answers OK (and Leave). Continues on Out at once, or on Failed when there's no tab.

The Answer Page Dialog step in the MacroWin editor
Ctrl+Shift+D on the shop's drafts page clicks Delete selected and answers OK when the shop asks to confirm.

Settings

SettingStarts asWhat it does
Answer OK
  • OK: OK, or Leave on Leave site?
  • Cancel: Cancel, or Stay on Leave site?
Text to type ${} empty For a box that asks you to type something. Empty keeps what the page suggests.
Tab ${} empty Which tab: wire a Tab output here. Empty uses the tab this macro opened or switched to last.
Ready for it for (ms) 30000 When the page doesn't ask within this long, the answer no longer counts and MacroWin answers OK again.

Settings marked ${} take variables.

Where it continues

  • Out at once; the answer waits for the page's next message box.
  • Failed when there's no tab, or the tab can't answer the page's message boxes; the reason is in Error.

Outputs

Answer Page Dialog outputs
ErrorWhy it didn't work; empty when it did.

More in Browser: Back, Forward or Reload, Browser Window, Click Web Element