item: Comment Active=True Comment=Wait for termination Example end item: If Service Exists Active=True AbortOnFailure=False Service=NAVAPSVC.Exe CheckState=False StateRequired=seStopped end item: Terminate Process Active=True AbortOnFailure=False ProcessNameMask=NAVAPSVC.Exe TopWindow=TMainForm;Macro Script Builder - UseProcessName=False KillAll=False end item: Wait For Termination Active=True UseProcessName=False ProcessNameMask= TimeOutinSec=-1 AbortOnFailure=False TopWindow=TMainForm;Macro Script Builder - If Service Exists Example.msd end item: Beep Active=True SoundType=mtInformation end item: Show Message Active=True Options=doForceToForeground TimeOutinSec=-1 Title= Message=Process Terminated DialogType=mtWarning end item: Else Active=True end item: Show Message Active=True Options=doForceToForeground TimeOutinSec=-1 Title= Message=Service NAVAPSVC.Exe is not running at the moment DialogType=mtWarning end item: EndIf Active=True end