Sub Process_Globals
Dim Counter As Int
Dim n As Notification
End Sub
Sub Service_Create
n.Initialize
n.Icon = "my_icon"
n.Vibrate = False
n.Sound = False
Counter=0
End Sub
Sub Service_Start
Counter=Counter+1
If Counter = 10 Then
n.SetInfo("Title", "Counter = 10", Notification_Click)
n.Notify(1)
End If
StartServiceAt("", DateTime.Now + 1 * DateTime.TicksPerSecond, True)
End Sub
Sub Notification_Click
...
...
End Sub