Home Information PDF Documents EULANDA Handbooks Training Book's corner Download Contact us Table of Contents About us

Glossary

Password needed Newsgroup

Remote Support system

Application Object (iScript)

Back | Level back

The Application-Object is the Main-Object of the EULANDA-Object-Model and allows the access to the available clients.

 

Scripts which were carried out in EULANDA (for example menu commands) is the current client available over the global variable client.

Here hardly the necessity exists to address the Application-Object. If you be sure to take action from a strange program to the EULANDA you have to  instance the Application-Object and choose a client.

Characteristics

  • property ClientCount: Integer - Amount of the available clients
  • property Clients[Index: OleVariant]: IClient - The single client-objects

Examples

A. Indicates the existing clients

Save the following script as a text file "client.vbs" on your desktop. The script will be start by a double click. It determines the available EULANDA-Clients and shows these with there alias.

VBScript File:Client.vbs
dim i, App
Set App = CreateObject("Eulanda.Application")
for i = 0 to App.ClientCount-1
s = s & vbCR & CStr(i+1) & ". " & App.Clients(i).Alias
Next
MsgBox s, vbOKOnly, "EULANDA Client"
Set App = Nothing