home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 2002 April
/
VPR0204A.ISO
/
OLS
/
GREP109
/
grep109.lzh
/
searchEx
/
history.mac
< prev
next >
Wrap
Text File
|
2001-06-15
|
579b
|
16 lines
//検索・置換履歴の作成
$ini = macrodir + "\\searchEx\\searchEx.ini";
if( getininum($ini,"SEARCH","SearchOption") == 0 )$section = "SearchHistory";
else if( getininum($ini,"SEARCH","SearchOption") == 1 )$section = "ReplaceHistory";
else if( getininum($ini,"SEARCH","SearchOption") == 2 )$section = "FolderHistory";
$string = getinistr($ini,"SEARCH","tmp");
$tmp1 = $string;
##i = 0;
while( ##i < 10 ){
if( $string == $tmp2)break;
$tmp2 = getinistr($ini,$section,str(##i));
writeinistr $ini,$section,str(##i),"\"" + $tmp1 +"\"";
$tmp1 = $tmp2;
##i = ##i + 1;
}