|
fuhhy です。黄色いシャツさん、こんにちわ。
よく考えてみたら、画面がちらつかない方法がありました。
マクロを以下のものに差し替えてお試しいただけますでしょうか。
// ---- ここから ----
loaddll "TKInfo.dll";
#type = dllfunc("MailType");
if (#type == 3 || #type == 4) {
#tmp = dllfunc("NewMail");
} else if (#type != 0) {
endmacro;
}
#info = hidemaruhandle(1);
#type = dllfunc("ExecAt", #info, "MailType");
if (#type == 4) {
$adr = dllfuncstr("ExecAt", #info, "CurrentHeader", "To");
} else if (#type == 3) {
#cnt = dllfunc("ExecAt", #info, "CountCurrentHeader", "Reply-To");
if (#cnt > 0) {
$adr = dllfuncstr("ExecAt", #info, "CurrentHeader", "Reply-To");
} else if (#cnt == 0) {
$adr = dllfuncstr("ExecAt", #info, "CurrentHeader", "From");
}
}
$adr = dllfuncstr("SetHeader", "To", $adr);
// execmacro "hogehoge.mac";
endmacro;
// ---- ここまで ----
|
|