Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Thread Tools Rate Thread Display Modes
Old 01-17-2020, 12:21 PM
lockedude lockedude is online now
Registered User
Join Date: 09-07-2011
Posts: 10
Versioning the build file on save

I am looking for a way to automatically version the build (.bld) file whenever it is saved.

I am often modifying a build across several machines and it is difficult to know which might be the latest state of modification. Of course this could be easily fixed if I simply kept better track of the updates and scripts! But it got me thinking if there would be a way to say capture the Save procedure and interject maybe a project macro update with a timestamp or version? I realize there is a timestamp on the .bld file itself, but it may be more useful to have the ability to create my own version indicator that would be more applicable. There are obvious ways to accomplish this by taking separate steps on my own, but I am looking for possible automation.

I am aware of the ability to perform a project save if it is determined that IsModified is true, but I was looking to tie directly into the save or Ctrl + S functionality. Also, I am looking to do this whether I am simply modifying the script or in some form of build of the script and decide to save.

Would this even be possible?
Reply With Quote
Old 01-17-2020, 02:55 PM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 6,033
There is not currently a script event when saving that you could hook into.

You could use one of the build script events to update a project macro and save the project.
Reply With Quote
Old 01-23-2020, 10:41 AM
lockedude lockedude is online now
Registered User
Join Date: 09-07-2011
Posts: 10
Thanks, as always, for the quick response.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

All times are GMT -5. The time now is 02:56 AM.

Copyright 1999-2023 Kinook Software, Inc.