Get Current URL dynamically

Options

Hi,
Is there a way to get the current URL in AppWorks, like in a browser using "window.location.host" command ? The same command did not work inside appworks !