looking to make a vb script which can check in/out files during the state transition with execute command option. The problem I am facing is to reference to the file which should be checked out
Here is what i currently have:
Set vault = CreateObject("ConisioLib.EdmVault")
vaultName = "VAULT NAME HERE"
vault.LoginAuto vaultName, 0
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set file = objFSO.GetFile("<Filepath>")
If True = file.IsLocked Then
file.UnlockFile 0, ""
File not found