the Script Guide into 'something' and search it;
Code: Select all
on mouseUp
ask "Search Term"
put it into SSS
put 1 into LYNE
put 1 into NLYNE
repeat until line LYNE of fld "ff" is empty
if line LYNE of fld "ff" contains SSS then
put line LYNE of fld "ff" into line NLYNE of fld "fSREZ"
add 1 to NLYNE
end if
add 1 to LYNE
end repeat
end mouseUp