coathanger Posted December 13, 2003 Report Share Posted December 13, 2003 My frustrations with SonicStage's counting has had me looking for a fix for the check in/out process. I have found that by copying certain files back and forth in a shared directory, that one can essentially keep the checkout count at 3 between subsequent reloads of SonicStage. The following code samples allow one to backup the files once fresh imports have been made where the checkout counts are back to normal. One checkouts have been done, one can run the restore script to restore the count values back to 3 (or previous values). YMMV, and if this is not appropriate for this forum, I apologize for posting this info. File: OMGBackup.vbs Function BackupOMG() Set objFSO = CreateObject("Scripting.FileSystemObject") objFSO.CopyFolder "C:Program FilesCommon FilesSony SharedOpenMGprocfile" , "c:tempomgbackup" , 1 Set objFSO = nothing End Function box = MsgBox("Backup OMG files", vbyesno) If box = 6 Then BackupOMG() End If File OMGRestore.vbs Function RestoreOMG() Set objFSO = CreateObject("Scripting.FileSystemObject") objFSO.CopyFolder "c:tempomgbackup" , "C:Program FilesCommon FilesSony SharedOpenMGprocfile" , 1 Set objFSO = nothing End Function box = MsgBox("Restore OMG files", vbyesno) If box = 6 Then RestoreOMG() End If Quote Link to comment Share on other sites More sharing options...
BerkY Posted December 13, 2003 Report Share Posted December 13, 2003 I dont use scripts... so could you tell me step by step what to do Quote Link to comment Share on other sites More sharing options...
coathanger Posted December 13, 2003 Author Report Share Posted December 13, 2003 Copy the directory listed (c:program files....) to a temp directory after you have checkout counts where you want them. Once you do the checkouts, close sonicstage and copy the backed up directory and files back over the original directory. The script does nothing malicious and should be relatively easy to follow. If you want to verify, look up "FileSystemObject.CopyFolder" on google and you will see similar examples to copy directories. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.