Have a question if I am able to play a macro onwebpagedialog and then after that if I can get it to close.
Microsoft Windows 10 Enterprise
Microsoft Windows NT 6.3.9600.0
64-bit Operating System
Installed UI Culture: English (United States)
CLR version 4.0.30319.42000
Internet Explorer version 11.1508.15063.0
Enhanced Protected Mode = False, 64-bit processes for EPM = False
BrowserEmulation Mode = IE11
iMacros Browser (x86) version 12.5.503.8802
Licensed Product: Trial Version
License Type: 30-day trial (27 days left)
Here is my issue: I fill out a form click submit. Then I have it click "add case report" button this is when onwebpage dialog is activated. I can get it to close if I do the {CLOSE}, but I have another macro playing to select the correct form, fill out the form, click save. Everything works as it should, but I am looking for a way to "x" out of the dialog webpage. I even tried URL GOTO=javascript:window.close(); this works for the main webpage but when I looked into the source code I found it was a window.showmodaldialog and can't seem to get that to close.
Code: Select all
ONDIALOG POS=1 BUTTON=YES
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=NAME:btnSubmit
ONWEBPAGEDIALOG MACRO=UDFeICR.iim
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=NAME:btnAddCaseReport