I would like to open a text file and then search immediately for a certain string and highlight it.
I use:
command ="open "+'"'+ file +'"'
os.system(command)
But I want something like:
command ="open "+'"'+ file +'"' + "then"+ "ctrl-F(string)"
Obviously this doesn't work, but is there a way to do this? I just want the text in string to be highlighted as it is with a normal CTRL+F.