Indigo Rose Software
  #1  
Old 10-03-2003
Desmond's Avatar
Desmond Desmond is offline
Indigo Rose Staff Member
 
Join Date: Jul 2003
Posts: 628
Grin 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.
__________________
Setup Factory 8.0 comes with over 250 actions so you can create smaller, faster and more intelligent software installers than ever before.

WebHelp Guides: AMS | MSIFACT | SUF | TU | VP
  #2  
Old 01-25-2005
werther's Avatar
werther werther is offline
Forum Member
 
Join Date: Jan 2005
Posts: 1
Huh?

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 at 11:43 AM.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On



All times are GMT -6. The time now is 12:35 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software