WaitLocalFileNoMessage
Structure
WaitLocalFileNoMessage(sFileName: Text; bWait: Boolean; iTimeOut: Integer): Char
Type
Function
Description
This function temporarily pauses IndySoft functionality and waits for a file in a network directory. Or, if bWait = False, then IndySoft does not wait for the file to be 'dropped', but immediately returns true/false based on the presence of the file. If a wait occurs, a dialog is shown onscreen (below), with an animation.
Wait for File
If the file is not found before the iTimeOut # of seconds elapses, the dialog is closed and the function returns a '0' (False). If the file is located, then the function returns a '1' (True). Important: No message is shown after the timeout interval with this function - as compared to WaitLocalFile function, which shows a confirmation.
Parameters: 4
sFileName = the name of the network file that should be copied to the InSite temp directory. This file name should include the full network directory path.
bWait = Boolean (True/False), determines if IndySoft should pause operations and wait for the requested file.
iTimeOut = Integer, the # of seconds IndySoft should wait on the requested file. Only valid if bWait = True
Return Value
Char - '1' = True, '0' = False |