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 "!URLCURRENT"
Jump to navigation
Jump to search
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
Contains the current URL. This is the URL visible in the browser address bar at the time the variable is used. | Contains the current URL. This is the URL visible in the browser address bar at the time the variable is used. | ||
− | === Value [[Image: | + | === Value [[Image:NGIM-icon.png|iMacros 2021.0]] [[Image:Ff-icon.png|Firefox]] [[Image:Cr-icon.png|Chrome]] [[Image:IMacros-icon.png|iMacros Browser]]=== |
Any valid URL. | Any valid URL. | ||
+ | |||
+ | === Set By === | ||
+ | [X] Internal | ||
+ | |||
+ | [ ] [[SET]] | ||
+ | |||
+ | '''Internal''' means that the iMacros program itself sets the value of the variable during program run. [[SET]] means that the user can set this value via the [[SET]] command inside a macro. | ||
=== Examples === | === Examples === | ||
− | *[ | + | ADD !EXTRACT <nowiki>{{!URLCURRENT}}</nowiki> |
+ | |||
+ | Copy current page to TAB 2: | ||
+ | SET !VAR1 <nowiki>{{!URLCURRENT}}</nowiki> | ||
+ | TAB OPEN | ||
+ | TAB T=2 | ||
+ | URL GOTO=<nowiki>{{!VAR1}}</nowiki> | ||
+ | |||
+ | '''Related forum posts:''' | ||
+ | |||
+ | * [https://forum.imacros.net/viewtopic.php?f=11&t=4446 Add elements to current URL] | ||
+ | |||
+ | * [https://forum.imacros.net/viewtopic.php?f=15&t=5519 Automate PHPBB3 login] | ||
+ | |||
+ | * [https://forum.imacros.net/viewtopic.php?f=7&t=5330 How Save only the URL of a visited page] | ||
− | * [ | + | * [https://forum.imacros.net/viewtopic.php?f=2&t=5984 Save page with URL as file name] |
=== See Also === | === See Also === | ||
[[ADD]], [[!EXTRACTADD]] | [[ADD]], [[!EXTRACTADD]] |
Latest revision as of 12:41, 20 July 2022
Contains the current URL. This is the URL visible in the browser address bar at the time the variable is used.
Value
Any valid URL.
Set By
[X] Internal
[ ] SET
Internal means that the iMacros program itself sets the value of the variable during program run. SET means that the user can set this value via the SET command inside a macro.
Examples
ADD !EXTRACT {{!URLCURRENT}}
Copy current page to TAB 2:
SET !VAR1 {{!URLCURRENT}} TAB OPEN TAB T=2 URL GOTO={{!VAR1}}
Related forum posts: