PDA

View Full Version : Conditional for running under GUI?


digit
05-15-2009, 08:07 AM
Forgive me if this has been asked before, but is there a way to check if the VBP script is running under the GUI or console? There are a few confirm popup dialogs (via VBScript) in my script, but I'd like to silence these for console builds.

I could pass in a temp macro "QUIET" or something, but I'm wondering if there is a cleaner way.

Thanks!

kinook
05-15-2009, 09:07 AM
http://www.kinook.com/Forum/showthread.php?threadid=4060

digit
05-18-2009, 01:50 PM
Perfect, thanks.