|

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


image

image

Web.GetURL

OverviewExamples

string Web.GetURL ( string ObjectName )


De s cr ip t ion


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


image

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.)


P arame t er s


ObjectName


(string) The name of the web object.


Re t u r n s


(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.


|