AutoPlay Media Studio 5.0 Knowledge Base

Opening a Website in the User's Default Browser

Document ID: IR10041
The information in this article applies to:
  • AutoPlay Media Studio 5.0 Standard Edition
  • AutoPlay Media Studio 5.0 Professional Edition

SUMMARY

This article describes how to open a website in the user's default browser.

DISCUSSION

AutoPlay Media Studio 5.0 contains a built in action which opens a website in the user's default browser. This is useful, for example, if you want a button labeled "Company Website" to open your company's website in the user's default browser.

To accomplish this use the File.OpenURL action:

  1. Create a button object.

  2. Add the following script to the button object's On Click event:

    File.OpenURL("http://www.yourcompany.com", SW_SHOWNORMAL);

MORE INFORMATION

For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:

  • Program Reference | Actions | File | File.OpenURL

KEYWORDS: AutoPlay Media Studio 5.0, Open, Web, Site, Page, Default Browser


Last reviewed: September 26, 2003
Copyright © 2003 Indigo Rose Corporation. All rights reserved.