| 
			|  | >そこで、そのファイルが何かわかっていて自分のローカルディスクに保存したい時に
 >右クリックして"ファイルをダウンロード"とかって出せませんでしょうか
 
 出来ません。
 
 >文字列を選択して実行すると保存先を聞いてきて、そこに保存してくれるマクロでも
 >いいのですが…
 
 マクロでそこへのリンクの入ったhtmlファイルを生成し、それを開くという操
 作をすれば、そのInternet Explorer上でマウス右ボタンを押してもらう作戦は
 可能です。
 
 以下、サンプルで作ってみたマクロです。
 
 #x = x; #y = y;
 while( 1 ) {
 if( (colorcode & 0x1F) != 11 ) {
 right;
 break;
 }
 left;
 if( !result ) break;
 }
 beginsel;
 while( 1 ) {
 if( (colorcode & 0x1F) != 11 ) {
 break;
 }
 right;
 if( !result ) break;
 }
 $url = gettext( seltopx, seltopy, selendx, selendy );
 escape;
 moveto #x, #y;
 #hide1 = hidemaruhandle(0);
 newfile;
 insert "<HTML><BODY><A href=\"" + $url
 + "\">ここでマウス右ボタンを押す</A><BODY></HTML>";
 saveas "c:\\$$$temp$$$.html";
 gofileend;
 insert "\n";
 gofileend;
 insertfix "c:\\$$$temp$$$.html";
 beginsel;
 golineend;
 openbyshell;
 #hide2 = hidemaruhandle(0);
 setactivehidemaru #hide1;
 closehidemaruforced #hide2;
 openbyshell;
 run "cmd /c del c:\\$$$temp$$$.html";
 if( !result ) {
 run "command /c del c:\\$$$temp$$$.html";
 }
 
 
 | 
 |