|
ありがとうございます。
もし、可能であればマクロの関数をお願いします。
現在は以下のようなマクロを作成して、ツールバーから宛先を選択しています。
(このマクロの場合はグループを階層的に選択することができません。)
loaddll "tkinfo.dll" ;
$to = dllfuncstr("ExtractBookGroup", "Group()", 1 ) ;
if( $to == "" )
{
endmacro ;
}
while( 1 )
{
$s = dllfuncstr("GetEmailList", $to, #max_num ) ;
if( $s == "" )
{
break ;
}
$str[#max_num] = $s ;
#max_num = #max_num + 1 ;
}
mousemenuarray $str, #max_num ;
if( !result )
{
endmacro ;
}
#num = result - 1 ;
#n = dllfunc( "NewMail" ) ;
$s = dllfuncstr( "SetHeader", "To", $str[#num] ) ;
endmacro ;
|
|