Kinook Software Forums

Kinook Software Forums (http://www.kinook.com/Forum/index.php)
-   Scripting (http://www.kinook.com/Forum/forumdisplay.php?f=35)
-   -   Can I stop a build from another process? (http://www.kinook.com/Forum/showthread.php?t=53)

kinook 04-08-2003 09:03 AM

Can I stop a build from another process?
 
Yes -- Create a Run Script step with the VBScript code of:
Code:

Set objShell = CreateObject("WScript.Shell")
If objShell.AppActivate("ProjectToStop.bld - Visual Build Professional") Then
        objShell.SendKeys "^{Break}"    ' send Ctrl+Break
End If



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


Copyright 1999-2019 Kinook Software, Inc.