This article covers the use of file commands in WS Office to interact with external files through custom functions. These functions, including copyFile, renameFile, and selectFile, require the WSOffice.dll to be installed on the target system and should be stored in a central location, such as the elogon.sjs file.
The elogon.sjs file, provided by Synactive, is read at login, making the functions within it globally available. This file must be stored in the script directory to be read and can be loaded using the load command.
copyFile
Copies the contents of one file to another.
renameFile
Renames a file using a custom function.
selectFile
Allows users to choose a file.