Skip to content

Instantly share code, notes, and snippets.

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
@chemp7
chemp7 / LotusScript-Step1-1-NotesSession
Created April 28, 2018 08:09
現在のユーザー名を取得(NotesSession クラス)
Sub Initialize
Dim session As New NotesSession
Dim user As String
user = session.Username
Print user
End Sub
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;