Execute コマンドを使えば @関数でもインターネットオプションは起動できるのでした。以下のように指定すればいいだけだった。
@Command([Execute];"control.exe";"Inetcpl.cpl,,4")■ インターネットオプションを直接開く
@Command([Execute];"control.exe";"Inetcpl.cpl,,4")■ インターネットオプションを直接開く
@If(
@Subset(@DbName;1) = "";
@UserName;
@Subset(@DbName;1)
)
dec := @Prompt([OkCancelEdit];"Lotus Notes - Dec to Hex conversion";"10進数の値を入力してください";"");■ 関連記事
@If(
@Matches(dec;"+{0-9}"); "";
@Do(
@Prompt([Ok];"Lotus Notes - Dec to Hex conversion";"ERROR: 数値を入力して下さい");
@Return("")
)
);
n := @TextToNumber(dec);
hex := "";
@DoWhile(
r := @Modulo(n;16);
hex := @If( r >= 10 ; @Char( 55 + r) + hex ; @Text(r) + hex);
n := @Integer(n / 16);
n >= 16);
hex := @If( n >= 10 ; @Char( 55 + n) + hex ; n = 0 ; ""+ hex ;@Text(n) + hex);
tmp:=@Prompt([OkCancelEdit];"Lotus Notes - Dec to Hex conversion";"16進数変換結果";hex);
dec := @Prompt([OkCancelEdit];"Lotus Notes - Dec to Hex conversion";"10進数の値を入力してください";"");■ 関連記事
n := @TextToNumber(dec);
hex := "";
@DoWhile(
r := @Modulo(n;16);
@If(
r=10; hex := "A" + hex;
r=11; hex := "B" + hex;
r=12; hex := "C" + hex;
r=13; hex := "D" + hex;
r=14; hex := "E" + hex;
r=15; hex := "F" + hex;
hex := @Text(r) + hex
);
n := @Integer(n / 16);
n >= 16
);
r := n;
@If(
r=0; "";
r=10; hex := "A" + hex;
r=11; hex := "B" + hex;
r=12; hex := "C" + hex;
r=13; hex := "D" + hex;
r=14; hex := "E" + hex;
r=15; hex := "F" + hex;
hex := @Text(r) + hex;
);
@Prompt([Ok];"Lotus Notes - Dec to Hex conversion";"16進数変換結果: " + hex)