Web.GetURL

string Web.GetURL ( 

string ObjectName )

Description

Gets the URL that is currently displayed in a web object.

Note: If the web object is displaying a local file, this action will return the full path to that file in the standard URL format, i.e. file:/// followed by the full path to the file. (For more information, see the netspace.org URL guide.)

Parameters

ObjectName

(string) The name of the web object.

Returns

(string) The URL of the file that is currently displayed in the web object. If an error occurs, a blank string "" is returned. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also:  Related Actions