Desmond
10-03-2003, 10:40 AM
<HTML> <HEAD> <TITLE>AutoPlay Media Studio 5.0 Knowledge Base</TITLE> </HEAD> <BODY> <h3>Determining the Operating System (OS) Language</h3> <b>Document ID: IR10069</b> <hr> The information in this article applies to: <ul> <li>AutoPlay Media Studio 5.0 Professional Edition</li> </ul> <hr> <h3>SUMMARY</h3> <p>This article describes how to determine what language the user's operating system is configured to.</p> <h3>DISCUSSION</h3> <p>In AutoPlay Media Studio, to determine what language the user's OS is set to and store it in a variable user_language, insert the following code into an event in your application:<br> <br> <code>user_language = System.GetDefaultLangID;<br></code> <br> Please note that user_language is a table, and can be referenced by calling user_language.Primary and user_language.Secondary</p> <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 | System | System.GetDefaultLangID</b></li> </ul> <p>KEYWORDS: AutoPlay Media Studio 5.0, Default, Language, OS, Operating, System, Primary, Secondary </p> <hr> <FONT SIZE=1> Last reviewed: October 3, 2003<br> Copyright © 2003 <A HREF="http://www.indigorose.com" target="blank">Indigo Rose Corporation</a>. All rights reserved.<br> </FONT> </BODY> </HTML>