LitDev Extension API

GW LD3DView LDArray LDBits LDBlueTooth
LDCall LDChart LDClient LDClipboard LDColours
LDCommPort LDController LDControls LDCursors LDDataBase
LDDateTime LDDebug LDDialogs LDDictionary LDEffect
LDEmail LDEncryption LDEvents LDFastArray LDFastShapes
LDFigures LDFile LDFinances LDFocus LDftp
LDGeography LDGraph LDGraphicsWindow LDHashTable LDHID
LDIcon LDImage LDInline LDIOWarrior LDList
LDLogic LDMath LDMathX LDMatrix LDMusic
LDNetwork LDPhysics LDProcess LDQueue LDRegex
LDResources LDScrollBars LDSearch LDServer LDSettings
LDShapes LDShell LDSort LDSound LDSpeech
LDStatistics LDStopwatch LDText LDTextWindow LDTimer
LDTranslate LDUnits LDUtilities LDVector LDWaveForm
LDWebCam LDWindows LDxml LDZip TW

LDProcess
Control an external application.

GetProcesses Start Stop

GetProcesses()
Get a list of system processes.
returns An array of all the system process names, indexed by the process ID.

Start(application,arguments)
Start an external application.
application The full path of the application to start e.g. "C:\Program Files (x86)\Microsoft\Small Basic\SB.exe".
arguments Arguments to give to the command or "" if none.
returns Process ID of started application, -1 if failed or -2 if attached to existing process.

Stop(ID)
Stop an external process.
ID The process ID to stop.
returns "True" or "False" for success or failure.