This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Uselsx "*javacon" | |
Use "LibLineNotify" | |
Sub Click(Source As Button) | |
Dim mySession As JavaSession | |
Dim myClass As JavaClass | |
Dim myObject As JavaObject | |
Dim ws As New NotesUIWorkspace | |
Dim uidoc As NotesUIDocument | |
Dim doc As NotesDocument |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub Initialize | |
Dim session As New NotesSession | |
Dim user As String | |
user = session.Username | |
Print user | |
End Sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package chemp.notes.linenotify; | |
import java.io.*; | |
import java.net.*; | |
import java.util.regex.Pattern; | |
public class LineNotify { | |
private static final String strEndpoint = "https://notify-api.line.me/api/notify"; | |
public boolean callEvent(String token, String message) { | |
boolean result = false; |