here script :
set apps { "facebook", "minecraft"} if appname contains apps display notification "app founds" title "apps"
i try
if appname in apps
but in example, if app found "minecraft: story mode" script fail (won't detect anything) how can make script detect ?
kind regards
if want check if item in collection contains substring need repeat loop
set apps {"facebook", "minecraft"} repeat anapp in apps if appname in anapp -- or anapp in appname depending on substring display notification "app founds" title anapp exit repeat end if end repeat
Comments
Post a Comment