====== GetLocation ====== Gets the location of the active tab. ===== Syntax ===== function GetLocation:TCSLocation; ==== Returned value ==== * //type:// [[en:wascript:pascal:records:tcslocation|TCSLocation]] * //functions:// current location ===== Examples ===== -//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);{{ :wascript_getlocation_1.png }}