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)
-   -   How can I tell which VBP is running? (https://www.kinook.com/Forum/showthread.php?t=1857)

Dave_Novak 06-27-2006 08:24 AM

How can I tell which VBP is running?
 
I would like to have some build steps conditional based upon which VBP is running -- the GUI or the CMD-line version. Is there a way to do this?

I see system macros for VISBUILD (GUI) and VISBUILDCMD (CMD), but I don't know how to tell which is running.

kinook 06-27-2006 09:25 AM

[Application.Context = vbldContextGUI]
is true

or

[Application.Context = vbldContextCommandLine]
is true

http://www.visualbuild.com/Manual/contextproperty.htm
http://www.visualbuild.com/Manual/scriptexpressions.htm

Dave_Novak 06-27-2006 09:26 AM

Excellent -- thanks!


All times are GMT -5. The time now is 07:09 AM.


Copyright © 1999-2023 Kinook Software, Inc.