Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   Scripting (https://www.kinook.com/Forum/forumdisplay.php?f=35)
-   -   Can I stop a build from another process? (https://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 06:41 PM.


Copyright © 1999-2023 Kinook Software, Inc.