scripting@wanadoo.nl



summary
http://www.scriptlogic.com/kixtart/FunctionLibrary_FunctionList.aspx
forum


  close
UDF topic
        description
Absprinter-friendly mirror of this topic
internal
Mathematical absolute value.
AllFlagsprinter-friendly mirror of this topic Given two numbers, returns a boolean true if ALL the '1' bits in the second number are set in the first number, else returns a boolean false.
AllSpecialFoldersprinter-friendly mirror of this topic Dynamically sets variables with the path of all available Windows special folders.
AnyFlagsprinter-friendly mirror of this topic Given two numbers, returns a boolean true if ANY of the '1' bits in the second number are set in the first number, else returns a boolean false.
ArrayEnumKeyprinter-friendly mirror of this topic Creates an array of names of the subkeys contained in a registry key or subkey.
ArrayEnumValueprinter-friendly mirror of this topic Creates an array of names of the registry entries contained in a registry key or subkey
AsciiAryprinter-friendly mirror of this topic Returns two-dimensional ASCII array of lower ASCII characters, the type of character (control, symbol, lower, upper, number), the technical name for the character, a mnemonic name for the character, visual substitution character (where applicable), and whether the character is printable or not.
AScanprinter-friendly mirror of this topic
internal
Searches all elements of an array for a matching expression.
atDeleteAllJobsprinter-friendly mirror of this topic Deletes all scheduled Jobs on a specific host.
atDeleteJobprinter-friendly mirror of this topic Delete a task scheduler jobs on a local or remote NT/2000/XP-Machine. uses WMI, for NT 4.0 you have to install WMI first.
atGetJobsprinter-friendly mirror of this topic Get all task scheduler jobs on a local or remote NT/2000/XP-Machine.
atNewJobprinter-friendly mirror of this topic Adds a scheduled Jobs on a specific host.
Asortprinter-friendly mirror of this topic Sorts the elements of the array.
BinaryIPprinter-friendly mirror of this topic Converts an IP address into a binary string.
CalcLogicalSubnetprinter-friendly mirror of this topic This function returns the logical subnet ID when given an IP-Address and Subnet mask.
CnvtBaseprinter-friendly mirror of this topic Converts numbers from any base (2-36) to any base (2-36). i.e. base 2=binary, 8=octal, 10=decimal, 16=hex, etc.
CnvtBase2printer-friendly mirror of this topic Within the numeric and string limits of KiXtart, converts any numeric base to any other numeric base.
CompareFileDatesprinter-friendly mirror of this topic Compares the dates of two files.
CompareVersionsprinter-friendly mirror of this topic Compares two multi-segment version strings.
cTimeprinter-friendly mirror of this topic Converts a cTime time into Kixtart format
DateFrprinter-friendly mirror of this topic Return the date to French format (DD/MM/YYYY).
DateMathprinter-friendly mirror of this topic Performs mathematical computations on a date or computers days between two dates.
Dayprinter-friendly mirror of this topic Returns the day portion of a specific date.
DBCommandprinter-friendly mirror of this topic Executes a SQL statement and returns an array of records if applicable.
DBConnCloseprinter-friendly mirror of this topic Closes a connection to a database that has previously been opened with DBConnOpen()
DBConnOpenprinter-friendly mirror of this topic Open a connection to a database using ADODB
DBExecuteSQLprinter-friendly mirror of this topic Executes a SQL command on a database
DBGetRecordsetprinter-friendly mirror of this topic Retrives a recordset from a database as the result of a SQL query
DBRecordsetCloseprinter-friendly mirror of this topic Closes a recordset that has beeen previously opened with DBRecordsetOpen()
DBRecordsetOpenprinter-friendly mirror of this topic Opens a recordset object from a database
DelDirTreeprinter-friendly mirror of this topic Deletes all directories and files under $root ($root is excluded). Excludes from deletion any directory (and its content) listed in $excludelist. $excludelist is a string containing a semicolon-separated list of dirs.
DelPrinterConnectionsprinter-friendly mirror of this topic unmaps connected printers
DisplayTextprinter-friendly mirror of this topic Displays text at specified coordinates (or centered on row). Color may be optionally specified..
divIPprinter-friendly mirror of this topic Strip IP address to separate octets for use in mathematical comparisons, et al. Concatenates trimmed IP address together as human-readable form (e.g. 192.168.0.10).
dnsSearchOrdprinter-friendly mirror of this topic
new
Changes client DNS search order based on your definition (through SELECT...CASE statement). Also makes differentation between Windows NT and 2000/XP.
Expprinter-friendly mirror of this topic Mathematical Exponentiation
Filesystemprinter-friendly mirror of this topic
new
Determinate the Filesystem on a specified drive.
FillWithAsteriskprinter-friendly mirror of this topic Displays asterisks while user enters password.
FindPROCprinter-friendly mirror of this topic Returns the PID of the requested process
fixPRODprinter-friendly mirror of this topic
new
Fixes @productsuite macro to report better (specifics).
Flip_Currencyprinter-friendly mirror of this topic Add or remove the currency symbol (as defined in your system setup) in a number.
Flip_Decprinter-friendly mirror of this topic Add or remove the decimal character (as defined on your system) in a number/string.
Flip_Numsepprinter-friendly mirror of this topic Add or remove number separators (i.e. commas for U.S.) in a number.
Flip_SerTimeprinter-friendly mirror of this topic Given a time, returns seconds since midnight. Given seconds since midnight, returns a time.
Fmtprinter-friendly mirror of this topic Given a string and formatting codes, returns a formatted string.
GetADsPathFromHexSidprinter-friendly mirror of this topic Uses COM (ADsSecurity.DLL) to translate a Hex Sid into the objects AdsPath.
GetDefaultPrinterprinter-friendly mirror of this topic Gets the name of the current user's default Windows printer.
GetDiskNameprinter-friendly mirror of this topic Returns the volume name of the selected partition.
GetDrivesprinter-friendly mirror of this topic Returns an array of drives of a particular type.
GetDrives2printer-friendly mirror of this topic Returns an array of drives of the specified types.
GetFileExtprinter-friendly mirror of this topic Returns only the filename's extension, given a filespec.
GetFileNameprinter-friendly mirror of this topic Returns the filename-only portion of a given filespec.
GetFilePathprinter-friendly mirror of this topic Returns the path-only portion of a given filespec.
GetFolderSizeprinter-friendly mirror of this topic Return the total bytes consumed by the files in a folder tree.
GetGUIDprinter-friendly mirror of this topic
new
Creates a GUID (globally unique identifier).
GetIEAutoDetectprinter-friendly mirror of this topic
new
Returns the "Automatically detect settings" check box in IE.
GetIPinfoprinter-friendly mirror of this topic Gathers a computers IP address, subnet mask, and default gateway on computers that do not support EnumIPinfo().
GetLineCountprinter-friendly mirror of this topic Counts the lines in a given text file.
GetLinesprinter-friendly mirror of this topic Gets a line or range of lines from a text file.
GetServiceStartupprinter-friendly mirror of this topic Returns the startup state of any service, given its 'short' name.
GetSoftwareListprinter-friendly mirror of this topic Return and array consisting of the software programs installed on the client.
GroupMembersprinter-friendly mirror of this topic returns an array containing all members of a specified group.
GUICopyprinter-friendly mirror of this topic Uses the Shell Object to copy or move files/folders. Displays the animated 'Copying Files' progress dialog as files/folders are being copied.
HostsInstallprinter-friendly mirror of this topic Checks for an IP Address and alias name. If needed, it will update.
IIFprinter-friendly mirror of this topic
internal
Also known as an Immediate IF, this function evaluates a logical expression and then returns one of two results.
InContainerprinter-friendly mirror of this topic Determines if the current NT4 acount name type of the user or computer is a member of a specific container (OU, Computers, etc) in Active Directory.
InGroupsprinter-friendly mirror of this topic Checks whether the user is a member of a group, given a list of one or more groups.
InOUprinter-friendly mirror of this topic Check user/computer OU from Active Directory Updated on 05/09/2002, 9x/NTx flavor only
InStringprinter-friendly mirror of this topic Scans a string for the presence of a second string.
IsAlphaprinter-friendly mirror of this topic To determine whether supplied character string consists of alphabetic characters (non numeric)
IsLowerprinter-friendly mirror of this topic This function determines supplied string is lowercase.
IsRasprinter-friendly mirror of this topic Determines if client is using a dial-up connection (modem) to access the network.
IsUNCprinter-friendly mirror of this topic Indicates whether the given path is a UNC or not.
IsUpperprinter-friendly mirror of this topic This function determines supplied string is uppercase.
Joinprinter-friendly mirror of this topic
internal
Combine the elements from an array into a single, concatenated string.
JoinArrayprinter-friendly mirror of this topic Joins two arrays together. Also allows the adding of elements to an array.
JoinRevprinter-friendly mirror of this topic Combine the elements from an array (in reverse order) into a single, concatenated string.
LastLoggedprinter-friendly mirror of this topic Action: Show users that have not logged in 30 days
Leftprinter-friendly mirror of this topic Returns a String containing a specified number of characters from the left side of a string
MakePathprinter-friendly mirror of this topic Creates a multi-level directory structure on a local or remote system.
MakePathsFromADlocation printer-friendly mirror of this topic Use TranslateName() to return the Conical Name of an account from the ActiveDirectory. The concical name is then split up and the parts are used to build a series of directory paths that are stored in an array. Certain characters that are invalid in in directory names are removed from the conical name and are not included in the final path. This array of paths can be used to execute subscripts for specific collections of users or computers based on domain and OU hierachy.
MapDrvprinter-friendly mirror of this topic Briefly describe the action of the function.
Modprinter-friendly mirror of this topic
internal
Mathematical modulus
Monthprinter-friendly mirror of this topic Returns the month portion of a specific date.
MonthNameprinter-friendly mirror of this topic Returns the month name, given a specific date or number.
MsecSleepprinter-friendly mirror of this topic Sleep for a number of mili-seconds.
NUGMapprinter-friendly mirror of this topic Automate net use without even edit your kix-file, all just based on groups in the domain
NumberWordsprinter-friendly mirror of this topic Returns the English words for a given number. I.e. 23504 is "Twenty-Three Thousand Five Hundred Four".
NumSepprinter-friendly mirror of this topic Inserts thousand separators in a number.
Occursprinter-friendly mirror of this topic Calculates the number of times a string occurs within another string, element or all the elements of an array.
Ordinalprinter-friendly mirror of this topic Takes a number and returns the named series of that number (e.g.: 1st, 2nd, 53rd, 89th, etc.).
PadStrprinter-friendly mirror of this topic Left pad or Right pad a string with specified character(s) to a specified overall length.
Pipeprinter-friendly mirror of this topic Submits a shell command and redirects output to an array
p2pauseprinter-friendly mirror of this topic
new
Press "P" to pause, "SPACE" to quit...
QueryHotFixprinter-friendly mirror of this topic Queries the installation of a specific Operating System Hot Fix or displays all Hot Fixes installed on the specified computer.
RegASCIItoHEXprinter-friendly mirror of this topic
new
Converts a ASCII string to a HEX string that can be written to the registry.
RegHEXtoASCIIprinter-friendly mirror of this topic
new
Converts a registry HEX string key to an ASCII string.
RegWriteprinter-friendly mirror of this topic Creates deep registry keys
RemoteCommandprinter-friendly mirror of this topic Execute a command, local to that PC, using the system account.
Repeatprinter-friendly mirror of this topic Returns a string composed of specified character(s) repeated n times.
RepeatStrprinter-friendly mirror of this topic Repeats a given string a specified number of times.
Replaceprinter-friendly mirror of this topic The function replace all subString in a String with another subString.
ReplaceStrprinter-friendly mirror of this topic Given a string, this function replaces either the first occurrence or all occurrences of second supplied string.
Rightprinter-friendly mirror of this topic Returns a String containing a specified number of characters from the right side of a string.
SerialDateprinter-friendly mirror of this topic Convert dates to numbers (and back) for the purpose of performing date math.
SerialTimeprinter-friendly mirror of this topic Convert time to numbers (and back) for the purpose of performing time math.
SetIEAutoDetectprinter-friendly mirror of this topic
new
Toggles the "Automatically detect settings" check box for IE.
slUBoundprinter-friendly mirror of this topic Returns the upper boundary of an array, or -1 if the array has only one element and the element is a blank string.
slQueryHotFixprinter-friendly mirror of this topic Queries whether a specific hotfix is installed -or- returns a string of all hitfixes that are installed.
Strprinter-friendly mirror of this topic Returns any numeric expression as a string.
StringReplaceprinter-friendly mirror of this topic The function replaces all subString occurrences in a String with another subString, original by Jeff Shahan, modified by Michel Sijmons to really replace strings.
Stripprinter-friendly mirror of this topic Removes (by default) all punctuation from a given string. However, any list of characters may be specified for removal.
StrSidToHexSidprinter-friendly mirror of this topic Converts a Sid in string (S-1-5-21-...) format to Hex format
Stuffprinter-friendly mirror of this topic Allows to add, replace, remove or substitute characters of one text string with another.
TitleCaseprinter-friendly mirror of this topic Places correct case on first position of character string and to the rest of characters in string.
Touchprinter-friendly mirror of this topic Touches the save time on the file to current time. If the files doesn't exist, it is created as empty.
TranslateNameprinter-friendly mirror of this topic Translates from one name type to another. Good for converting an NT4 type name like domain\user into an LDAP distinguished name used in Active Directory or the reverse.
TrimIPprinter-friendly mirror of this topic This function returns a valid IP address trimmed for spaces
TypeWriteprinter-friendly mirror of this topic Display specified text at a specified location using a 'command & conquer' typewriter style (E.V.A.)
Uniqueprinter-friendly mirror of this topic Creates a zero-length unique-named file in the specified directory and returns the fully qualified file spec.
UserGroupsprinter-friendly mirror of this topic returns a list of groups taht a given users is a meber of
UserRenameprinter-friendly mirror of this topic Renames a NT user account.
ValidColorprinter-friendly mirror of this topic Validates Colors for Foreground and Background
VerboseDateprinter-friendly mirror of this topic Returns a verbose representation of a specific date. Example: "April 1st, 2001".
VersionCompareprinter-friendly mirror of this topic Compare two multi-segment version strings.
Waitprinter-friendly mirror of this topic Pauses script execution for a specified number of seconds or until a key is pressed.
WeekDaysDiffprinter-friendly mirror of this topic Calculate the number of week days (M-F) between two dates.
Wordprinter-friendly mirror of this topic Returns the nth word from a string.
Wordsprinter-friendly mirror of this topic Count the number of words in a text string.
Writeprinter-friendly mirror of this topic Send a string to one or more destinations.
WriteLogprinter-friendly mirror of this topic Permanently opens the file coded in the UDF as file handle "1" and writes time stamped text to file handle "1" throughout the execution of your script.
WriteLog2printer-friendly mirror of this topic Writes text to a specified log file with optional TimeStamp.
XORprinter-friendly mirror of this topic Performs a binary Exclusive Or on two numbers..
Yearprinter-friendly mirror of this topic Returns the year portion of a specific date.
printer-friendly mirror of topic on scripting@wanadoo.nl site close


Functions: 134     (9 new entries/no updated entries) (5 internal commands/functions)


FunctionList


Copyright © 2003 www.scriptlogic.com & scripting@wanadoo.nl - last updated on 5 November 2003


Site Meter