|   |  
 
 
tatutoです 
 
鶴亀からrun文でテキスト編集のマクロを実行しようとしましたが 
マクロ内(秀丸)でopenfileでステルス起動すると 
思った通りに動作しませんでした。 
ステルスのオプションを外すと 
思った通り動作してくれました。 
 
--- strcall.mac -------- 
run "\""+hidemarudir +"\\hidemaru.exe\" /x str.mac"; 
 
--- str.mac ------- 
grep "[PR]","*.txt","該当フォルダパス",word,icon,filelist; 
if ( !result ) endmacro; 
tagjump; 
setactivehidemaru 1; 
$name = basename[1]; 
closehidemaru 1; 
openfile $name; 
// openfile "/h" + $name; にするとおかしくなる 
closehidemaru 1; 
gofiletop; 
while ( true ) { 
searchdown "[PR]"; 
if ( !result ) endmacro; 
golinetop2; 
beginsel; 
searchdown "!"; 
if ( !result ) gofileend; 
up; 
delete; 
} 
 
			 | 
		  
	 |