|
Built-in functions |
Top Previous Next |
|
The following functions can be used with Variables and IF-statements.
Returns the name of the selected folder.
Example:
Returns the number of updated bookmarks.
Returns the number of bookmarks in the specified folder. Folder and sub folders must be separated with a backslash, eg. GetFolderBookmarkCount("Software\WSW")
Returns the number of updated bookmarks in the specified folder. Folder and sub folders must be separated with a backslash, eg. GetFolderUpdatedBookmarkCount("Software\WSW")
Returns a unique string ID, for example 20041212120023123. This value can be used, if unique filenames are required. For example to generate a report into a new, unique file.
Returns the current date/time. As parameter you can define the format of the date.
Format: yy - current year with 2 digits yyyy - current year with 4 digits m - current month with 1 or 2 digits, no leading zero (1-12) mm - current month with 2 digits, leading zero (01-12) mmm - name of current month, 3 characters (jan, feb...) mmmm - full name of current month d - current day with 1 or 2 digits, no leading zero (1-31) dd - current day with 2 digits, leading zero (01-31) ddd - name of current day with 2 characters dddd - name of current day hh - hours nn - minutes ss - seconds
Example:
Returns the number of the week day. 1 for Monday, 2 for Tuesday, 3 for Wednesday, etc.
Returns the clicked button of the QuestionBox command. The result is "yes" or "no".
Converts a string into upper case.
Converts a string into lower case.
Checks if the specified file exists. The result is "1" or "0".
Example:
Returns the name of the currently opened bookmark file (full path + filename), eg. "c:\wsw\bm.wsw".
Example:
Returns 1 if a dialup connections exists and 0 otherwise. You must have "dialup" configured in the program configuration, otherwise this function always returns 0. See also RasDial and RasHangup.
Tests with the specified URL if an internet connection exists. If the specified URL can be accessed, this function returns 1. If the specified URL reports an error, this function returns 0.
Example:
|