Script
The Script Object defines the methods and functions used to administer DEACOM scripting.
Applies To
None
Description
The Script Object defines the methods and functions used to administer DEACOM scripting. These are calls that allow you to load external scripting files, exit the script and similar functions.
Properties and Methods
Methods
- .AddUserCursor(Name[, Table])
- .Exit()
-
Script.GetDataTable(TableName) show more
- .Columns
- .Count
- .AddBooleanColumn(Name)
- .AddDateTimeColumn(Name)
- .AddDecimalColumn(Name)
- .AddIntegerColumn(Name)
-
Script.GetDataTable(TableName).AddRow([IDColumn]) show more
- .CopyFrom(From)
- .GetBoolean(Column)
-
Script.GetDataTable(TableName).GetRow(X).GetDateTime(Column) show more
- .Day
- .DaylightSavings
- .DayOfWeek
- .DayOfYear
- .Hour
- .ISOString
- .LongDateString
- .LongTimeString
- .Minute
- .Month
- .Second
- .ShortDateString
- .ShortTimeString
- .Year
- .AddDays(Days)
- .AddHours(Hours)
- .AddMinutes(Minutes)
- .AddMonths(Months)
- .AddSeconds(Seconds)
- .AddYears(Years)
- .Copy()
- .StringDayOfWeek([Culture])
- .StringMonth([Culture])
- .GetDecimal(Column)
- .GetInteger(Column)
- .GetString(Column)
- .SetBoolean(Column, Val)
- .SetDateTime(Column, Val)
- .SetDecimal(Column, Val)
- .SetInteger(Column, Val)
- .SetString(Column, Val)
- .AddStringColumn(Name)
-
.GetMaximumDateTime(ColName) show more
- .Day
- .DaylightSavings
- .DayOfWeek
- .DayOfYear
- .Hour
- .ISOString
- .LongDateString
- .LongTimeString
- .Minute
- .Month
- .Second
- .ShortDateString
- .ShortTimeString
- .Year
- .AddDays(Days)
- .AddHours(Hours)
- .AddMinutes(Minutes)
- .AddMonths(Months)
- .AddSeconds(Seconds)
- .AddYears(Years)
- .Copy()
- .StringDayOfWeek([Culture])
- .StringMonth([Culture])
- .GetMaximumDecimal(ColName)
- .GetMaximumInteger(ColName)
-
.GetMinimumDateTime(ColName) show more
- .Day
- .DaylightSavings
- .DayOfWeek
- .DayOfYear
- .Hour
- .ISOString
- .LongDateString
- .LongTimeString
- .Minute
- .Month
- .Second
- .ShortDateString
- .ShortTimeString
- .Year
- .AddDays(Days)
- .AddHours(Hours)
- .AddMinutes(Minutes)
- .AddMonths(Months)
- .AddSeconds(Seconds)
- .AddYears(Years)
- .Copy()
- .StringDayOfWeek([Culture])
- .StringMonth([Culture])
- .GetMinimumDecimal(ColName)
- .GetMinimumInteger(ColName)
-
.GetRow(X) show more
- .CopyFrom(From)
- .GetBoolean(Column)
- .GetDateTime(Column)
- .GetDecimal(Column)
- .GetInteger(Column)
- .GetString(Column)
- .SetBoolean(Column, Val)
- .SetDateTime(Column, Val)
- .SetDecimal(Column, Val)
- .SetInteger(Column, Val)
- .SetString(Column, Val)
- .RemoveRow(Row)
- .SetNextIDValue(IDColumn, Row)
- .HideWaitWindow()
- .Include(Path)
- .LogConsole(Log)
- .RemoveUserCursor(Name)
- .ShowWaitWindow(Message)
- .Sleep(Milliseconds)
Available
The Script object is available in:
- 15.03.016
- All newer builds
Type
Object
Syntax
Script;
Parameters
None
Example
There isn’t a time or place where the Script object would be called on its own. Script is the Parent key to the list of functions listed above.