The renewal maintenance has officially ended for Progress iMacros effective November 30, 2023.
This Wiki site will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely, The Progress Team
!X PERM NEW WINDOW BEHAVIOR
Some websites require a special setting for new tabs to load correctly in the iMacros Browser or when using the iMacros WebBrowser Component for .NET. Add the following command to the beginning of your macro:
SET !X_PERM_NEW_WINDOW_BEHAVIOR TABS_CONNECTED
Please note that the !X_PERM_NEW_WINDOW_BEHAVIOR setting remains in effect until a new value is set or until the browser is restarted. Valid values for this setting are:
- TABS (default):
- Open all windows in a new tab. Should work with most websites.
- TABS_CONNECTED:
- Always open windows as connected tabs (accessible for webpage scripts in the "opener" tab).
- Suggested as a workaround for sites where the page in the new tab is blank or does not open at all.
- TABS_DISCONNECTED:
- New tab is "disconnected" from originating tab, so it cannot be accessed through JavaScript.
- POPUPS
- Open all windows in a separate popup window.
- This method seems to work in all cases, but it opens popup windows (similar to IE) which cannot be further automated.
The !X_PERM_NEW_WINDOW_BEHAVIOR setting remains an undocumented internal variable since a majority of websites do not require it (available in version 7.36.1445 and later).