Difference between revisions of "OpenURL"

(added categories)
Line 2: Line 2:
 
[[category:User-interface functions]]
 
[[category:User-interface functions]]
  
''new to [[Analytica 4.6]]''
+
== OpenURL(url) ==
 
 
= OpenURL(url) =
 
 
 
 
Opens a browser window to the specified «url».
 
Opens a browser window to the specified «url».
  
 
This can be used in the [[OnClick]] attribute of button to open supplementary documentation for your model.
 
This can be used in the [[OnClick]] attribute of button to open supplementary documentation for your model.
  
= Failures =
+
== Failures ==
 
+
There is no return value -- it always returns [[Null]].  
There is no return value -- it always returns Null.  
 
  
 
The function does not report failures. If the URL does not exist, this error will appear in your browser window, but no error message will occur within Analytica.
 
The function does not report failures. If the URL does not exist, this error will appear in your browser window, but no error message will occur within Analytica.
Line 18: Line 14:
 
If your computer is unable to open a browser, nothing will happen, and no error is reported.
 
If your computer is unable to open a browser, nothing will happen, and no error is reported.
  
= Examples =
+
== Examples ==
 
+
:<code>OpenURL("http://lumina.com")</code>
:<code>[[OpenURL]]("http://lumina.com")</code>
+
:<code>OpenURL("lumina.com")</code>
:<code>[[OpenURL]]("lumina.com")</code>
 
  
= See Also =
+
==History==
 +
[[OpenURL]] was introduced in [[Analytica 4.6]].
  
* ''Hyperlinks in model documentation'' in Chapter 9 of the Analytica User Guide. (An alternative).
+
== See Also ==
 +
* [[Links or URL in model attributes]]
 
* [[ShowPdfFile]] function
 
* [[ShowPdfFile]] function
 +
* [[OpenModelFile]]

Revision as of 22:45, 25 January 2016


OpenURL(url)

Opens a browser window to the specified «url».

This can be used in the OnClick attribute of button to open supplementary documentation for your model.

Failures

There is no return value -- it always returns Null.

The function does not report failures. If the URL does not exist, this error will appear in your browser window, but no error message will occur within Analytica.

If your computer is unable to open a browser, nothing will happen, and no error is reported.

Examples

OpenURL("http://lumina.com")
OpenURL("lumina.com")

History

OpenURL was introduced in Analytica 4.6.

See Also

Comments


You are not allowed to post comments.