Difference between revisions of "!URLCURRENT"

From iMacros
Jump to: navigation, search
(Examples)
(Value iMacros Browser IE Plug-in Firefox)
 
(2 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 ===  
 
  ADD !EXTRACT <nowiki>{{!URLCURRENT}}</nowiki>
 
  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:'''
 
'''Related forum posts:'''

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