The Context Object - Script2Service Programming Interface
Introduction
The Context object is exposed to scripts inside the service only.
From this object, scripts inside the service get access to other objects
implemented by Script2Service, such as Sockets Manager, Internet, etc.
Properties
FileSystem
Globals
| Value |
Globals Object |
| Access |
Get |
| Notes |
|
Internet
Property
| Value |
VARIANT |
| Arguments: |
|
| Access |
Get, Put |
| Notes |
|
Service
| Value |
Service Object |
| Access |
Get |
| Notes |
|
SocketsManager
Thread
| Value |
Thread Object |
| Access |
Get |
| Notes |
|
ThreadMan
TickCount
| Value |
ULONG |
| Access |
Get |
| Notes |
|
Methods
CreateBufferObject
| Return Value |
Buffer Object |
| Notes |
|
CreateGUID
CreateObject
| Return Value |
Object |
| Arguments: |
|
| Notes |
Create an ActiveX object of local computer.
|
CreateProcessObject
CreateProxyBlanket
CreateTimeObject
| Return Value |
Time Object |
| Notes |
|
CreateTimeSpanObject
GetActiveObject
| Return Value |
Object |
| Arguments: |
|
| Notes |
|
GetSystemTime
| Return Value |
Time Object |
| Notes |
|
Idle
| Return Value |
|
| Arguments: |
|
| Notes |
|
LogEvent
| Return Value |
|
| Arguments: |
- BSTR message
- USHORT type (Optional, default(4))
|
| Notes |
|
SetSystemTime
| Return Value |
BOOL |
| Arguments: |
|
| Notes |
|
StopService