Project

General

Profile

$url » History » Revision 7

Revision 6 (Per Amundsen, 02/23/2023 07:53 PM) → Revision 7/8 (Per Amundsen, 02/26/2023 07:54 AM)

_Added in 1.9.3_ 

 *$url* 

 Returns the currently active URL in your Web Browser. 

 _Only works for Internet Explorer/Opera 12, does not work in any modern browser due to "DDE":https://en.wikipedia.org/wiki/Dynamic_Data_Exchange support being removed._ 

 _As of AdiIRC 4.4, the 64 bit version is able to get the url from chrome, edge, firefox, opera, brave and vivaldi. In some of them the http(s) prefix is not available, the rest of the url is however.__ 

 ----------------------------------------------------------------------------- 

 *$url(N)* 

 Returns the Nth captured URL address in URL catcher. 

 *Parameters* 

 table(ktable). 
 |*Parameter*|*Description*| 
 | N | If N = 0, number of URL addresses, otherwise the Nth URL address. | 

 *Properties* 

 table(ktable). 
 |*Property*|*Description*| 
 | .desc | *TODO* | 
 | .group | *TODO* | 

 *Example* 

 <pre> 
 ; Print number of caught URL addresses. 
 //echo -ag $url(0) 

 ; Print the first caught URL address. 
 //echo -ag $url(1) 
 </pre>