Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
27 Sum Game-Score Field
Set PlayBackMode Property of a Animated Gif Sprite
Puzzler - Puzzle Maker
Lingo Paradise
Get Dropped Files
Set Up Users Components
MM-XDK-L (Developers of Xtras)
Sprite Stick To Mouse Cursor
Replace tabs with spaces
AX Icons
 

 

 

Behavior Generic behavior to check Windows Platform

Added on 3/24/2002

 

Compatibilities:
behavior D6_5 D7 D8 D8_5 PC US

Required Xtras:
KeyboardControl Xtra Standard

Rating:

Author: Shockdev

Allows to check if projector is running on Windows 9x/Me or on Windows NT/2000.

-- Generic behavior to check Windows Platform
-- KeyboardControl Xtra 1.1 or later required

on getBehaviorDescription
  return "Detects Windows Platform, 9x/Me or NT/2000"
end

on mouseDown
  detectPlatform
end

on detectPlatform
  set Platform = KeyboardControlGetWin32Platform()
  case Platform of
    "95": set Platform = "Windows 9x/Me"
    "NT": set Platform = "Windows NT/2000"
  end case
  alert ("This is " & Platform)
end

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail