Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Refuse Save on Build Scripts (https://www.kinook.com/Forum/showthread.php?t=3496)

uksmiffy 03-05-2008 06:46 AM

Refuse Save on Build Scripts
 
Hi,

I have some build scripts which have some VBScript in to determine which path to take. These scripts change the ticked property of the step to skip groups or tasks.

When it gets to the end of the script it asks if I would like to save the changes. Is there any way to stop this and refuse the saving when the build is running?

These scripts are being run from another script so it is stopping the progression of the script.

Any help would be great.

Thanks

Paul

kinook 03-05-2008 08:01 AM

It would probably be better to use conditional build rules instead of modifying the checked status, but you could save the .bld file to another location at the end if needed, i.e.:

If Project.IsModified Then Project.Save "%TEMP%\temp.bld"

Another option would be to build with the Console app, which discards any unsaved changes made to the .bld file during the build.


All times are GMT -5. The time now is 03:07 PM.


Copyright © 1999-2023 Kinook Software, Inc.