item: Comment Active=True Comment=Pause Service Example end item: If Service Exists Active=True AbortOnFailure=False Service=NAVAPSVC.Exe CheckState=False StateRequired=seStopped end item: Start/Stop Service Active=True AbortOnFailure=False Service=NAVAPSVC.Exe StateRequested=sePause end item: Show Message Active=True Options=doForceToForeground TimeOutinSec=-1 Title= Message=The service is paused DialogType=mtWarning end item: Sleep Active=True TimeOutinSec=30 end item: Start/Stop Service Active=True AbortOnFailure=False Service=NAVAPSVC.Exe StateRequested=seContinue end item: Show Message Active=True Options=doForceToForeground TimeOutinSec=-1 Title= Message=The service is running DialogType=mtWarning end item: Beep Active=True SoundType=mtInformation 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