Project

General

Profile

$url » History » Version 6

Per Amundsen, 02/23/2023 07:53 PM

1 1 Per Amundsen
_Added in 1.9.3_
2
3
*$url*
4
5 2 Per Amundsen
Returns the currently active URL in your Web Browser.
6
7 3 Per Amundsen
_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._
8 1 Per Amundsen
9
-----------------------------------------------------------------------------
10
11
*$url(N)*
12
13
Returns the Nth captured URL address in URL catcher.
14
15
*Parameters*
16
17 5 Per Amundsen
table(ktable).
18
|*Parameter*|*Description*|
19
| N | If N = 0, number of URL addresses, otherwise the Nth URL address. |
20 1 Per Amundsen
21 6 Per Amundsen
*Properties*
22 1 Per Amundsen
23 6 Per Amundsen
table(ktable).
24
|*Property*|*Description*|
25
| .desc | *TODO* |
26
| .group | *TODO* |
27 1 Per Amundsen
28
*Example*
29
30
<pre>
31
; Print number of caught URL addresses.
32
//echo -ag $url(0)
33
34
; Print the first caught URL address.
35
//echo -ag $url(1)
36
</pre>