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

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -