Applescript to parse terminal -
i trying create apple script alerts me every time key word returned in terminal (i have program runs in terminal , returns lot of data). in case use iterm instead of terminal, it's same idea.
so if word "any" returned in iterm, result "found any".
the code below returning result: {"found %s", {"any", "of", "these", "words"}}
application "iterm" set found ["any", "of", "these", "words"] if found exists return {"found %s", found} end if
Comments
Post a Comment