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
Difference between revisions of "URL"
Line 11: | Line 11: | ||
*GOTO | *GOTO | ||
− | *:Specifies the URL to go to. | + | *:Specifies the URL to go to. |
+ | |||
+ | Examples of valid URLs: | ||
=== Examples === | === Examples === |
Revision as of 22:15, 4 December 2008
Navigates to a URL in the currently active tab.
Syntax
URL GOTO=some_URL
Note: iMacros automatically inserts a URL GOTO command at the start of every recording. However, the command is not required. It can be removed. Removing this command is useful if you want to macro to continue where another macro (or a human user) left off. Without URL GOTO, iMacros continues at the exactly same position, without reloading the page.
Parameters
- GOTO
- Specifies the URL to go to.
Examples of valid URLs:
Examples
If you want to open a second website, use the following code:
' open a webpage in the first tab URL GOTO=http://www.iopus.com ' open a new tab TAB OPEN ' get new tab to foreground TAB T=2 ' load another page URL GOTO=http://www.google.com
The URL can also call Javascript functions that are either defined in this line or are embedded in the page (V6.22 and later):
URL GOTO=javascript:alert("TEST");
URL GOTO=http://www.iopus.com URL GOTO=javascript:openDemo('shared/flash/imacros1',820,650); TAB T=2