Class: System
Summary
System class.
Remarks
There is only one System object (system). System objects cannot be created.
Methods
Method | Description |
doesImageExist |
Determine if an image, probably used for a Marker icon, exists. |
getCountryCode |
Gets the abbreviated country system locale setting from the Windows installation. |
getImage |
Get an Image given a name |
isInternetAvailable |
Determine if DigiGuide has an internet connection |
isKeyPressed |
Determine whether a key is pressed. |
shellExecute |
Run a program or open a file using the program associated with the file type. |
|
|
|
Examples
Code taken from the default Favourite marker template; var strDomain = "forums." + app.getRootDomainName();
var strPage = "/post.asp?forum_id=3&method=Topic&forum_title=TV+Talk+and+Radio+Ramblings"; if( system.getCountryCode().toUpperCase() == "USA" ) { strPage = "/post.asp?forum_id=12&method=Topic&forum_title=TV+Talk+and+Radio+Ramblings"; }
system.shellExecute( "http://" + strDomain + strPage );
|
Requirements
Build 1064
|