-
Notifications
You must be signed in to change notification settings - Fork 2
/
Test.bas
35 lines (24 loc) · 896 Bytes
/
Test.bas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Attribute VB_Name = "Test"
Sub Example1()
Dim myApp As String, theGroup As String
myApp = "my_application_token"
theGroup = "my_Group_or_user_token"
Pushover.Post _
app:=myApp, _
group:=theGroup, _
message:="Hello my PushoOver-VBA Helper"
End Sub
Sub Example2()
Dim myApp As String, theGroup As String
myApp = "my_application_token"
theGroup = "my_Group_or_user_token"
ok = Pushover.Post(myApp, theGroup, "Hello my PushoOver-VBA Helper 2")
MsgBox IIf(ok, "Poshover OK", "Pushover Error!")
End Sub
Sub Example3()
Dim myApp As String, theGroup As String
myApp = "my_application_token"
theGroup = "my_Group_or_user_token"
message = "Hello my PushoOver-VBA Helper 3"
Debug.Print Pushover.PostOp(myApp, theGroup, message, "sound", "cosmic", "title", "My new Title")
End Sub