File system functions
File system functions reduce the need for external API calls:
- ChangeDirectory
- CreateDirectory
- RemoveDirectory
- DirectoryExists
- GetCurrentDirectory
- FileCopy
- FileMove
Printer functions
- PrintGetPrinter returns the current printer's information in tab delimited format.
- PrintGetPrinters returns a list of installed printers, each in the same format as PrintGetPrinter.
- PrintSetPrinter changes the printer for subsequent print jobs.
- PrintSetupPrinter displays the printer setup dialog box.
Mathematical functions
Inverse trignometric functions determine the arcsine, arccosine, or arctangent of an angle:
String functions
LastPos finds the last occurrence of a string within another string.LenW, for use in DBCS environments, returns the number of characters in a string or the number of DBCS characters a blob can contain.WordCap capitalizes the initial letter of each word in a string.
Dialog box functions
GetFolder displays a dialog box to select a folder from the file system.ChooseColor displays the standard Windows color selection dialog box.
Help functions
ShowPopupHelp displays popup help (sometimes called What's This Help).ShowHelp now supports compiled HTML (CHM) Help as well as Windows Help.
Miscellaneous functions
LibraryDirectoryEx extends the functionality of LibraryDirectory by including the object type in the returned string.Sleep causes execution to pause for a specified number of seconds. In a shared object, execution sleeps on the object but not on the process.PostURL now lets you specify a port number for the HTTP server.
GetItemAtPointer returns the handle of an item at the current cursor position in a list view or tree view.
For more information
For a complete list of new and modified functions and their descriptions, select the What's New button on the Help window, then select New PowerScript functions. The modified functions ShowHelp, PostURL, and LenW are described there as well.
|