Announcement

Collapse
No announcement yet.

KB: Determining the Operating System (OS)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • KB: Determining the Operating System (OS)

    AutoPlay Media Studio 5.0 Knowledge Base

    Determining what Operating System (OS) is Being Used

    Document ID: IR10074
    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 determine what Operating System (OS) is Being Used.

    DISCUSSION

    AutoPlay Media includes an action to detect what OS the user is running.

    Add the following script to any event in your application to store the user's OS version in a variable OS_Name:

    OS_Name = "OS Name: " ..System.GetOSName();

    Please note that AutoPlay has another built in function: System.GetOsVersionInfo(), which returns the version information of the user's operating system in a table. This action is available in the Pro Edition Only.

    MORE INFORMATION

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

    • Program Reference | Actions | System | System.GetOSName

    KEYWORDS: AutoPlay Media Studio 5.0, Operating System, OS, System, Version


    Last reviewed: October 3, 2003
    Copyright © 2003 Indigo Rose Corporation. All rights reserved.

  • #2
    background image enlarged when determining OS
    I wrote a simple script to determin the os on the first page proload,and then page jump to the right page, but the page(the one system automaticlly jump to)'s backgound image was enlaged itself, i don't know why this happened?
    but
    PHP Code:
    os_name System.GetOSName();
    if (
    os_name == "Windows 2000"then
    Page
    .Jump("Main Menu-2k-2");
    elseif (
    os_name =="Windows XP"then
    Page
    .Jump("ARP-1700-1 - 3");
    elseif (
    os_name =="Windows 98" or os_name =="Windows 95" or os_name =="Windows Me"then
    Page
    .Jump("Main Menu-98-2");
    else
    Page.Jump("Main Menu-1");
    end 
    Last edited by werther; 01-25-2005, 11:43 AM.

    Comment

    Working...
    X