This is one way to do it, but it may be brittle if the ordering of the lines is not consistent.
q: following texts of first “%22” of preceding texts of last “%22” of line ((line number of lines whose (it contains “ScreenSaveTimeOut”) of file “c:\test.txt”) + 2) of file “c:\test.txt”