Desmond
09-26-2003, 02:33 PM
<HTML> <HEAD> <TITLE>AutoPlay Media Studio 5.0 Knowledge Base</TITLE> </HEAD> <BODY> <h3>Opening a Website in the User's Default Browser</h3> <b>Document ID: IR10041</b> <hr> The information in this article applies to: <ul> <li>AutoPlay Media Studio 5.0 Standard Edition</li> <li>AutoPlay Media Studio 5.0 Professional Edition</li> </ul> <hr> <h3>SUMMARY</h3> <p>This article describes how to open a website in the user's default browser.</p> <h3>DISCUSSION</h3> <p>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. <br> <br> To accomplish this use the File.OpenURL action: </p> <ol> <li>Create a button object.<br> <br> </li> <li>Add the following script to the button object's On Click event:<br> <br> <code> File.OpenURL("http://www.yourcompany.com", SW_SHOWNORMAL);<br></code> </li> </ol> <h3>MORE INFORMATION</h3> <p>For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:</p> <ul> <li><b>Program Reference | Actions | File | File.OpenURL</b></li> </ul> <p>KEYWORDS: AutoPlay Media Studio 5.0, Open, Web, Site, Page, Default Browser </p> <hr> <FONT SIZE=1> Last reviewed: September 26, 2003<br> Copyright © 2003 <A HREF="http://www.indigorose.com" target="blank">Indigo Rose Corporation</a>. All rights reserved.<br> </FONT> </BODY> </HTML>