why it deos not work?
Posted: Fri Jan 30, 2015 3:41 am
Hello,
I have to scripts to do the same thing - changing the text color of lines.
1 - this works OK
2 - this does not work. Why?
keram
I have to scripts to do the same thing - changing the text color of lines.
1 - this works OK
Code: Select all
repeat for each line i in fld "search_result_all_f"
if lineOffset(i,gFavorites) > 0 then
Find i in fld "search_result_all_f"
set the textColor of the foundLine to "red"
end if
Find empty
end repeat
2 - this does not work. Why?
Code: Select all
repeat for each line i in fld "search_result_all_f"
if lineOffset(i,gFavorites) > 0 then
set the textColor of line i in fld "search_result_all_f" to "red"
end if
Find empty
end repeat