Version Control Changelog (v2.0) VersionControl_Menus.ms v2.0 - Added new Version Control menu to Max's top main bar. v1.41 - Changed the variable names to follow the programming guidelines. v1.4 - Changed name from "SCIO_Menus" to "VersionControl_Menus". All "Source Control" and "SC" references changed to "Version Control and "VC" v1.3 - Copyright information added. v1.2 - Initial release. AddNew.ms v2.0 - Utilized the VCParseCommandResults & VCWriteCommandResults functions in VersionControlLib.ms to display results of the AddNew to the user. Removed the two included library files. All functions are now made global when those two files are loaded at startup. (Max 5 only) Changes the title bar to show the status of the file in Version Control after it has been added. (Max 5 only) Uses the new usedMaps() command to find all bitmaps. This replaces the node-tree walking code I wrote to do the same thing. That code is still used if the scripts are run on Max 4. v1.71 - Changed variable names to follow the programming guidelines. v1.7 - Changed name from "SaveAsToSourceControl" to "AddNew". All "Source Control" and "SC" references changed to "Version Control and "VC". Changed function call "ConvertArray" to "ConvertArrayDOS2Unix" to reflect the change made in LSUtilLib v1.6 - Fixed a bug with a misnamed variable that was breaking the script. v1.5 - Copyright information added. v1.4 - Switched from storing strMaxFileToEdit and strStartMapsFile in the FileProperties page to storing them in the persistent global variables, "pg_strMaxFilepath" and, "pg_strMapsFilepath". v1.3 - Changed the function call "ConvertArrays" to "ConvertArray" to reflect the change made in LSUtilLb. v1.2 - Initial release. CheckIn.ms v2.0 - Utilized the VCParseCommandResults & VCWriteCommandResults functions in VersionControlLib.ms to display results of the CheckIn to the user. Removed the two included library files. All functions are now made global when those two files are loaded at startup. (Max 5 only) Changes the title bar to show the status of the file in Version Control after it has been checked in. (Max 5 only) Uses the new usedMaps() command to find all bitmaps. This replaces the node-tree walking code I wrote to do the same thing. That code is still used if the scripts are run on Max 4. v1.91 - Changed variable names to follow the programming guidelines. v1.9 - Changed name from "SaveToSourceControl" to "CheckIn". All "Source Control" and "SC" references changed to "Version Control and "VC". Changed function call "ConvertArray" to "ConvertArrayDOS2Unix" to reflect the change made in LSUtilLib v1.8 - Copyright information added. v1.7 - Changed from reading strStartMapsFile and strMaxFileToEdit from FileProperties to using the persistent global variables, "pg_strMaxFilepath" and, "pg_strMapsFilePath". Moved, "bExit" and, "aNewPathnames" from global to local variables. v1.6 - Changed the function call "ConvertArrays" to "ConvertArray" to reflect the change made in LSUtilLb. v1.5 - Fixed a bug that prevented the script from completing if the user answered "yes" to, the "Would you like to reopen..." dialog. v1.4 - Initial release. CheckOut.ms v2.0 - Utilized the VCParseCommandResults & VCWriteCommandResults functions in VersionControlLib.ms to display results of the CheckOut to the user. Removed the two included library files. All functions are now made global when those two files are loaded at startup. (Max 5 only) Changes the title bar to show the status of the file in Version Control after it has been checked out. (Max 5 only) Uses the new usedMaps() command to find all bitmaps. This replaces the node-tree walking code I wrote to do the same thing. That code is still used if the scripts are run on Max 4. v1.91 - Changed the variable names to follow the programming guidelines. v1.9 - Changed name from "EditFromSourceControl" to "CheckOut". All "Source Control" and "SC" references changed to "Version Control and "VC". v1.8 - Added code to call the SCGetFileStats function from P4Lib.ms. This code prevents the max scene from being checked out twice. v1.7 - Copyright information added. v1.6 - Switched from storing strMaxFileToEdit and strStartMapsFile in the FileProperties page to storing them in the persistent global variables, "strMaxFilepath" and, "strMapsFilepath". v1.5 - Instead of showing an error requestor and quiting; now if the file is already opened for edit in source control when this script is run the file is opened via the regular max "open" command.v1.4 - Initial release. Revert.ms v2.0 - Utilized the VCParseCommandResults & VCWriteCommandResults functions in VersionControlLib.ms to display results of the Revert to the user. Removed the two included library files. All functions are now made global when those two files are loaded at startup. v1.51 - Updated variable names to follow programming guidelines. v1.5 - Added confirmation dialog to the script. v1.4 - Changed name from "RevertScene" to "Revert". Changed function names to reflect overal package renaming from "Source Control" to "Version Control". v1.3 - Copyright Information added. v1.2 - Resetting the peristent global variables, "pg_strMaxFilepath" and, "pg_strMapsFilepath" at the end of the script. v1.1 - Initial release. View.ms v2.0 - Utilized the VCParseCommandResults & VCWriteCommandResults functions in VersionControlLib.ms to display results of the View to the user. Removed the two included library files. All functions are now made global when those two files are loaded at startup. (Max 5 only) Changes the title bar to show the status of the file in Version Control after it has been loaded. (Max 5 only) Uses the new usedMaps() command to find all bitmaps. This replaces the node-tree walking code I wrote to do the same thing. That code is still used if the scripts are run on Max 4. v1.41 - Changed the variable names to follow the programming guidelines. v1.4 - Changed name from "ViewFromSourceControl" to "View". All "Source Control" and "SC" references changed to "Version Control and "VC" v1.3 - Copyright information added. v1.2 - Initial release. VersionControlLib.ms v2.0 - Renamed to LSVersionControlLib.ms Added the VCParseCommandResults & VCWriteCommandResults functions. This allows for Perforce to report back what tasks it has accomplished. Added VCOpenFileCheck. This callback function checks all opened max files to see if they are in version control. Changed lib to load into memory at startup and made all functions global. v1.91 - Changed all global string variables to local string variables. Renamed variabled prefixes to match coding guidelines. v1.9 - Changed all instances of "SC" to "VC" to reflect the renaming of the package to "Version Control" v1.8 - SCAdd function adds binary files in exclusive mode now. Exclusive mode files can only be checked out by one person at a time. v1.7 - Added SCGetFileStats function to prevent file from being checked out twice. v1.6 - Copyright information added. v1.5 - Initial release. VersionControl_About.ms Moved into Macro_VersionControl.ms No long maintained as a seperate file.