Find text in console
clp = '' for m in re.finditer(txt, t): . . . tv.addSubview_(l) clp += t[st:en] + '\n' clipboard.set(clp)
Perform your search, then paste the clipboard to check its content
Here, each highlighted text will be a new line, as example
Hi @cvp, exactly, you read me in thought!
The choice to copy the highlighted text so that each word is on a different line is perfect for me, in this way after some calculation I can screenshot iphone screen with some highlighted text (also with different colors, thank you) and to send image to someone (it is easier to explain something with some text highlighted), with also the full string matched by your script as a text file, for further analysis (with spreadsheets or other tools).
Thank you !
, you read me in thought!
Nothing so magic, I only have hacked your front camera 😂
@cvp :-) , but my phone is so old and with storage memory so clogged that the hack works only randomly...;-)
@Matteo not sure that comes from the iPhone age, but perhaps due to mine 😀
I also got some problems, try the imports also at def module, because the script could be no more active but the def of the search button yes
from objc_util import * import ui @on_main_thread def test(sender): import clipboard import console from objc_util import ObjCClass import re import ui