Содержание

GetLocation

Gets the location of the active tab.

Syntax

function GetLocation:TCSLocation;

Returned value

Examples

  1. //Loading page "google.ru/?q=request". Expect the loading is complete 
    LoadURI('google.ru/?q=request');
    //Get location
    var location:=GetLocation;
    //Deduce the fields of the location to the log
    Log('Protocol:'+location.Protocol);
    Log('User:'+location.User);
    Log('Password:'+location.Pass);
    Log('Host:'+location.Host);
    Log('Port:'+location.Port);
    Log('Path:'+location.Path);
    Log('Params:'+location.Params);