Difference between revisions of "OpenURL"
(added categories) |
|||
Line 2: | Line 2: | ||
[[category:User-interface functions]] | [[category:User-interface functions]] | ||
− | + | == 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> | + | :<code>OpenURL("lumina.com")</code> |
− | :<code> | ||
− | = | + | ==History== |
+ | [[OpenURL]] was introduced in [[Analytica 4.6]]. | ||
− | * | + | == 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
Enable comment auto-refresher