Determines if a file is locked or not.
Function IsLocked(file)
file (input) - the file you want to checkĀ
This function returns a boolean true/false value.
Sample
'---------- Start ----------
Function Start
if target.file.IsLocked( "C:\FileTestFolder\trgFileSample.txt" ) = true then
trg.Message( "It is locked" )
else trg.Message( "It is not locked" )
End Function
See also