Visara Master Console Center Scripting Guide Instrukcja Użytkownika Strona 177

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 262
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 176
Chapter 5 Script Commands
Scripting Guide 177
SCRIPTCANCEL
Syntax:
SCRIPTCANCEL($ScriptName,$Class,$Name)
Description:
Obtains the system integer file descriptor from a file handle.
Action:
Cancels all active scripts that match the given input.
Parameters:
$ScriptName: String. The name of the script (file name) or "*" as a
wildcard to match all names.
$Class: String. Class name passed to script or "ALL" as a wildcard
to match all classes. Typical class names are: ROOM, CPU, OS,
UNIT. Refer to the <Icon Class/Icon Name> section for more
information.
$Name: String. The icon name passed to the script or "*" as a
wildcard to match all names. Refer to the <Icon Class/Icon Name>
section for more information.
Returns:
Numeric value, as follows:
-1 = Error occurred (invalid input parameters)
0 = Success
Example:
$OSName := ICONNAME(OS)
SCRIPTCANCEL("timeralert", "CPU", $OSName)
See Also:
EXEC, START
Przeglądanie stron 176
1 2 ... 172 173 174 175 176 177 178 179 180 181 182 ... 261 262

Komentarze do niniejszej Instrukcji

Brak uwag