Difference between revisions of "!URLCURRENT"

From iMacros
Jump to: navigation, search
(Examples)
(Value iMacros Browser IE Plug-in Firefox)
 
(7 intermediate revisions by 2 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:IMacros-icon.png|iMacros Browser]] [[Image:Ie-icon.png|IE Plug-in]] [[Image:Ff-icon.png|Firefox]]===  
+
=== Value [[Image:IMacros-icon.png|iMacros Browser]] [[Image:Ie-icon.png|IE Plug-in]] [[Image:Ff-icon.png|Firefox]] [[Image:Cr-icon.png|Chrome]]===  
  
 
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 ===  
*[http://forum.iopus.com/viewtopic.php?f=11&t=4446 Add elements to current URL]
+
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:'''
 +
 
 +
* [http://forum.iopus.com/viewtopic.php?f=11&t=4446 Add elements to current URL]
  
 
* [http://forum.iopus.com/viewtopic.php?f=15&t=5519 Automate PHPBB3 login]
 
* [http://forum.iopus.com/viewtopic.php?f=15&t=5519 Automate PHPBB3 login]
 +
 +
* [http://forum.iopus.com/viewtopic.php?f=7&t=5330 How Save only the URL of a visited page]
 +
 +
* [http://forum.iopus.com/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 19:45, 10 October 2012

Contains the current URL. This is the URL visible in the browser address bar at the time the variable is used.

Value iMacros Browser IE Plug-in Firefox Chrome

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:

See Also

ADD, !EXTRACTADD