System functions
 

baDisableDiskErrors

disables the 'Drive not ready' error message

baDisableKeys

disables/enables key presses

baDisableMouse

disables/enables mouse clicks

baDisableSwitching

disables/enables task switching

baDisableScreenSaver

disables/enables the screen saver

baScreenSaverTime

sets the screen saver time out

baSetScreenSaver

sets the screen saver

baSetWallpaper

sets the desktop wallpaper

baSetPattern

sets the desktop pattern

baDesktopColor

returns the desktop color

baSetDesktopColor

sets the desktop color

baSetDisplay

sets the screen size and depth

baSetDisplayEx

sets the screen size and depth

baSetMultiDisplay

sets the screen size and depth

baExitWindows

exits or restarts Windows

baRunProgram

runs an external program

baWinHelp

shows a Windows help file

baMsgBox

shows standard system message box

baMsgBoxEx

shows custom message box
baMsgBoxButtons sets the button text for baMsgBox

baPrompt

shows prompt dialog box

baLogIn

shows log in dialog box

baTaskDialog

shows a Vista style Task Dialog

baSleep

pauses the calling Director/Authorware program

baHideTaskBar

shows/hides the task bar or dock

baSetCurrentDir

changes the DOS current directory

baCopyText

copies text to the clipboard

baPasteText

pastes text from the clipboard

baEncryptText

encrypts a text string

baDecryptText

decrypts a text string

baPlaceCursor

positions the cursor

baRestrictCursor

restricts the cursor to a specific screen area

baFreeCursor

allows the cursor to move anywhere on the screen

baSetVolume

sets the volume of wave and midi files and audio CD

baGetVolume

gets the current sound volume of wave and midi files and audio CD

baEnvironment

returns an environment variable

baSetEnvironment

sets an environment variable

baAdministrator

returns Administrator status

baUserName

returns name of current user

baUserShortName

returns short name of user

baComputerName

returns name of computer

baLanguage

returns the language currently in use

baIsLimited

checks if the program is being run as a Limited user under Vista.

baIsVirtualized

checks if program's file access is being virtualized under Vista.

baInstallFont

installs TrueType or bitmap font

baKeyIsDown

checks whether a key is being held down

baKeyBeenPressed

checks whether a key has been pressed

Virtual key codes

a list of key codes

baCapsLockOn

determines the state of the Caps Lock key

baSetCapsLock

sets the state of the Caps Lock key

baNumLockOn

determines the state of the Num Lock key

baSetNumLock

sets the state of the Num Lock key

baEjectDisk

ejects CD

baCreatePMGroup

creates a Start Menu group

baCreatePMCommonGroup

creates a Start Menu group

baDeletePMGroup

deletes a Start Menu group

baPMGroupList

returns list of Start Menu groups

baPMSubGroupList

returns list of Start Menu groups inside another group

baCreatePMIcon

creates a Start Menu icon

baDeletePMGroup

deletes a Start Menu icon

baPMIconList

returns list of icons in a Start Menu group

baSystemTime

returns the current system time/date

baSetSystemTime

sets the system time/date

baPrinterInfo

returns information about the installed printer

baSetPrinter

changes settings for the default printer

baPrintDlg

shows printer dialog box

baPageSetupDlg

shows page setup dialog box

baRefreshDesktop

refreshes the desktop icons
baRefreshFiles refreshes the desktop database

baSetCursor

sets a system cursor

baLoadDefaultCursors

loads the user's default cursors

baCreateGUID

creates a unique GUID