File.OpenURL

File.OpenURL ( 

string URL,

number WindowMode = SW_SHOWNORMAL )

Example 1

File.OpenURL("www.indigorose.com", SW_MAXIMIZE);

Opens the Indigo Rose home page in the user's default browser, and maximizes the browser's window.

Example 2

File.OpenURL(_SourceFolder.."\\readme.htm");

Opens the file "readme.htm" located in the source folder in the user's default browser, and opens the browser's window normally (not minimized or maximized).

Note: _SourceFolder is a built-in variable that contains the path to the folder where the setup.exe file is located.

Example 3

File.OpenURL("http://www.indigorose.com/forums/");

Opens the Indigo Rose Software user forums in the user's default browser.

See also:  Related Actions